CircleCI-Public / node-orb

An orb for working with Node.js on CircleCI
https://circleci.com/orbs/registry/orb/circleci/node
MIT License
52 stars 80 forks source link

[Snyk] Security upgrade node-fetch from 3.2.3 to 3.2.10 #159

Closed circleci-secops closed 2 years ago

circleci-secops commented 2 years 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.

![merge advice](https://app.snyk.io/badges/merge-advice/?package_manager=npm&package_name=node-fetch&from_version=3.2.3&to_version=3.2.10&pr_id=8c6ab19b-dcc4-4f4c-ad60-f6828e48bdc0&visibility=true&has_feature_flag=false) #### Changes included in this PR - Changes to the following files to upgrade the vulnerable dependencies to a fixed version: - sample/package.json - sample/package-lock.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") | **768/1000**
**Why?** Proof of Concept exploit, Recently disclosed, Has a fix available, CVSS 7.5 | Regular Expression Denial of Service (ReDoS)
[SNYK-JS-NODEFETCH-2964180](https://snyk.io/vuln/SNYK-JS-NODEFETCH-2964180) | No | Proof of Concept (*) Note that the real score may have changed since the PR was raised.
Commit messages
Package name: node-fetch The new version differs by 14 commits.
  • 2880238 fix: ReDoS referrer (#1611)
  • e87b093 fix(Headers): don't forward secure headers on protocol change (#1599)
  • bcfb71c chore: remove triple-slash directives from typings (#1285) (#1287)
  • 95165d5 fix spelling (#1602)
  • 11b7033 fix: possibly flaky test (#1523)
  • 4f43c9e fix: always warn Request.data (#1550)
  • 1c5ed6b fix: undefined reference to response.body when aborted (#1578)
  • a92b5d5 fix: use space in accept-encoding values (#1572)
  • 0f122b8 docs: fix formdata code example (#1562)
  • 6ae9c76 docs(readme): response.clone() is not async (#1560)
  • 043a5fc Fix leaking listeners (#1295) (#1474)
  • 004b3ac fix: don't uppercase unknown methods (#1542)
  • c33e393 Fix Code of Conduct link in Readme. (#1532)
  • 6875205 docs: Fix link markup to Options definition (#1525)
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/circleci-78h/project/c6b3aa11-58b3-4688-9e5b-fb9959096855?utm_source=github&utm_medium=referral&page=fix-pr) 🛠 [Adjust project settings](https://app.snyk.io/org/circleci-78h/project/c6b3aa11-58b3-4688-9e5b-fb9959096855?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":"8c6ab19b-dcc4-4f4c-ad60-f6828e48bdc0","prPublicId":"8c6ab19b-dcc4-4f4c-ad60-f6828e48bdc0","dependencies":[{"name":"node-fetch","from":"3.2.3","to":"3.2.10"}],"packageManager":"npm","projectPublicId":"c6b3aa11-58b3-4688-9e5b-fb9959096855","projectUrl":"https://app.snyk.io/org/circleci-78h/project/c6b3aa11-58b3-4688-9e5b-fb9959096855?utm_source=github&utm_medium=referral&page=fix-pr","type":"auto","patch":[],"vulns":["SNYK-JS-NODEFETCH-2964180"],"upgrade":["SNYK-JS-NODEFETCH-2964180"],"isBreakingChange":false,"env":"prod","prType":"fix","templateVariants":["updated-fix-title","priorityScore","merge-advice-badge-shown"],"priorityScoreList":[768]}) --- **Learn how to fix vulnerabilities with free interactive lessons:** 🦉 [Learn about vulnerability in an interactive lesson of Snyk Learn.](https://learn.snyk.io?loc=fix-pr)
orb-publisher commented 2 years ago

Your development orb has been published. It will expire in 30 days. You can preview what this will look like on the CircleCI Orb Registry at the following link: https://circleci.com/developer/orbs/orb/circleci/node?version=dev:0fcb15f76c6a1f0986e22a2a2caebf9aeb41d8fa

orb-publisher commented 2 years ago

Your development orb has been published. It will expire in 30 days. You can preview what this will look like on the CircleCI Orb Registry at the following link: https://circleci.com/developer/orbs/orb/circleci/node?version=dev:a836a3869c6ec1faeb45e3c74eda06cfc6ab8588