x-cold / yuque-hexo

同步语雀的文章到你的 Hexo 项目吧!
http://blog.lxstart.net/
MIT License
711 stars 83 forks source link

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

Closed x-cold closed 4 months ago

x-cold commented 5 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/x-cold/project/af0757f8-84b4-4569-8780-056de3a24562?utm_source=github&utm_medium=referral&page=fix-pr) 🛠 [Adjust project settings](https://app.snyk.io/org/x-cold/project/af0757f8-84b4-4569-8780-056de3a24562?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":"6bfac93b-1634-4f2f-8209-9cd747c7d10e","prPublicId":"6bfac93b-1634-4f2f-8209-9cd747c7d10e","dependencies":[{"name":"urllib","from":"2.41.0","to":"3.0.0"}],"packageManager":"npm","projectPublicId":"af0757f8-84b4-4569-8780-056de3a24562","projectUrl":"https://app.snyk.io/org/x-cold/project/af0757f8-84b4-4569-8780-056de3a24562?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)