koajs / kick-off-koa

[MAINTAINERS WANTED] An intro to koa via a set of self-guided workshops
MIT License
698 stars 93 forks source link

[Snyk] Security upgrade urllib from 2.41.0 to 3.0.0 #70

Closed fengmk2 closed 5 months ago

fengmk2 commented 8 months ago

This PR was automatically created by Snyk using the credentials of a real user.


Snyk has created this PR to fix one or more vulnerable packages in the `npm` dependencies of this project.

#### Changes included in this PR - Changes to the following files to upgrade the vulnerable dependencies to a fixed version: - package.json #### Vulnerabilities that will be fixed ##### With an upgrade: Severity | Priority Score (*) | Issue | Breaking Change | Exploit Maturity :-------------------------:|-------------------------|:-------------------------|:-------------------------|:------------------------- ![high severity](https://res.cloudinary.com/snyk/image/upload/w_20,h_20/v1561977819/icon/h.png "high severity") | **823/1000**
**Why?** Proof of Concept exploit, Recently disclosed, Has a fix available, CVSS 8.6 | Server-side Request Forgery (SSRF)
[SNYK-JS-IP-6240864](https://snyk.io/vuln/SNYK-JS-IP-6240864) | Yes | Proof of Concept (*) Note that the real score may have changed since the PR was raised.
Commit messages
Package name: urllib The new version differs by 22 commits.
  • 53a32c3 Release 3.0.0
  • 20944ee ๐Ÿ“ฆ NEW: Support request and response events
  • f01c264 ๐Ÿ“ฆ NEW: Support HttpClient with rejectUnauthorized
  • 61a915c ๐Ÿ“ฆ NEW: Support options.auth
  • cb084d9 ๐Ÿ“ฆ NEW: Support custom lookup and checkAddress
  • cc1c854 ๐Ÿ“ฆ NEW: Support options.opaque = object
  • f07c9f8 ๐Ÿ“ฆ NEW: Support options.timing = true
  • 70a75c6 ๐Ÿ“ฆ NEW: Support options.compressed instead of gzip
  • 936bc01 ๐Ÿ‘Œ IMPROVE: Support Node.js 14
  • eb6c319 ๐Ÿ“ฆ NEW: Support auto retry like HttpClient2
  • b07a45e ๐Ÿ‘Œ IMPROVE: Use brotli instead of deflate
  • a8876f2 ๐Ÿค– TEST: Big stream timeout
  • 6b5a4f1 ๐Ÿ“ฆ NEW: Use request instead of fetch
  • c1218c5 ๐Ÿ› FIX: Try to use Readable first
  • a67d9d1 ๐Ÿ› FIX: Dont parse empty data to json
  • 2882f0e ๐Ÿค– TEST: Error cases for stream and writeStream
  • 57ccc7e ๐Ÿ“ฆ NEW: Support options.streaming = true
  • f2ca7eb ๐Ÿ“ฆ NEW: Support fixJSONCtlChars
  • f5390f2 ๐Ÿ“ฆ NEW: TS compiler both Commonjs and ESM support
  • c3cc765 ๐Ÿ“ฆ NEW: Support upload file by args.files
  • 70a238d ๐Ÿค– TEST: Use jest and ts
  • 26c44b7 ๐Ÿ“ฆ NEW: [BREAKING] Refactor impl base on undici
See the full diff
Check the changes in this PR to ensure they won't cause issues with your project. ------------ **Note:** *You are seeing this because you or someone else with access to this repository has authorized Snyk to open fix PRs.* For more information: ๐Ÿง [View latest project report](https://app.snyk.io/org/fengmk2/project/c412580c-fde5-4411-9c5b-1806722557d6?utm_source=github&utm_medium=referral&page=fix-pr) ๐Ÿ›  [Adjust project settings](https://app.snyk.io/org/fengmk2/project/c412580c-fde5-4411-9c5b-1806722557d6?utm_source=github&utm_medium=referral&page=fix-pr/settings) ๐Ÿ“š [Read more about Snyk's upgrade and patch logic](https://support.snyk.io/hc/en-us/articles/360003891078-Snyk-patches-to-fix-vulnerabilities) [//]: # (snyk:metadata:{"prId":"ae95ce09-3623-427f-b968-12a98180bec4","prPublicId":"ae95ce09-3623-427f-b968-12a98180bec4","dependencies":[{"name":"urllib","from":"2.41.0","to":"3.0.0"}],"packageManager":"npm","projectPublicId":"c412580c-fde5-4411-9c5b-1806722557d6","projectUrl":"https://app.snyk.io/org/fengmk2/project/c412580c-fde5-4411-9c5b-1806722557d6?utm_source=github&utm_medium=referral&page=fix-pr","type":"auto","patch":[],"vulns":["SNYK-JS-IP-6240864"],"upgrade":["SNYK-JS-IP-6240864"],"isBreakingChange":true,"env":"prod","prType":"fix","templateVariants":["updated-fix-title","priorityScore"],"priorityScoreList":[823],"remediationStrategy":"vuln"}) --- **Learn how to fix vulnerabilities with free interactive lessons:** ๐Ÿฆ‰ [Server-side Request Forgery (SSRF)](https://learn.snyk.io/lesson/ssrf-server-side-request-forgery/?loc=fix-pr)
socket-security[bot] commented 8 months ago

New and removed dependencies detected. Learn more about Socket for GitHub โ†—๏ธŽ

Package New capabilities Transitives Size Publisher
npm/urllib@3.22.2 Transitive: environment, eval, filesystem, network, shell, unsafe +40 3.45 MB fengmk2

๐Ÿšฎ Removed packages: npm/urllib@2.41.0

View full reportโ†—๏ธŽ