ali-oss icon indicating copy to clipboard operation
ali-oss copied to clipboard

[Snyk] Security upgrade urllib from 2.41.0 to 3.0.0

Open fengmk2 opened this issue 1 year ago โ€ข 1 comments

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
    • package-lock.json

Vulnerabilities that will be fixed

With an upgrade:
Severity Priority Score (*) Issue Breaking Change Exploit Maturity
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
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

๐Ÿ›  Adjust project settings

๐Ÿ“š Read more about Snyk's upgrade and patch logic


Learn how to fix vulnerabilities with free interactive lessons:

๐Ÿฆ‰ Server-side Request Forgery (SSRF)

fengmk2 avatar Feb 11 '24 14:02 fengmk2

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

Package New capabilities Transitives Size Publisher
npm/[email protected] Transitive: environment, filesystem, network, shell, unsafe +20 2.2 MB

View full reportโ†—๏ธŽ

socket-security[bot] avatar Feb 11 '24 14:02 socket-security[bot]

@fengmk2 ไฟฎๅคไบ†ไธชๅฏ‚ๅฏž๏ผŒurllib ็‰ˆๆœฌไพ็„ถๆ˜ฏ 2.41.0 https://github.com/ali-sdk/ali-oss/blob/master/package.json#L156

xiaweiss avatar Jul 23 '24 08:07 xiaweiss