Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
wants to merge 1 commit into from

Conversation

fengmk2
Copy link
Member

@fengmk2 fengmk2 commented Feb 11, 2024

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)

Copy link

New and removed dependencies detected. Learn more about Socket for GitHub ↗︎

Package New capabilities Transitives Size Publisher
npm/urllib@3.0.0 Transitive: environment, filesystem, network, shell, unsafe +20 2.2 MB

View full report↗︎

@xiaweiss
Copy link

@fengmk2 修复了个寂寞,urllib 版本依然是 2.41.0
https://github.com/ali-sdk/ali-oss/blob/master/package.json#L156

@YunZZY YunZZY deleted the snyk-fix-007f1bc71a28ea2b43da24598c7261cf branch August 9, 2024 09:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants