snyk-tech-services / snyk-prevent-gh-commit-status

Other
0 stars 1 forks source link

[Snyk] Security upgrade snyk-config from 3.1.1 to 4.0.0 #63

Closed mathild3r closed 2 years ago

mathild3r 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=snyk-config&from_version=3.1.1&to_version=4.0.0&pr_id=858e2b18-077c-4cb1-ae23-b214fa45168a&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: - 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") | **696/1000**
**Why?** Proof of Concept exploit, Has a fix available, CVSS 7.5 | Regular Expression Denial of Service (ReDoS)
[SNYK-JS-ANSIREGEX-1583908](https://snyk.io/vuln/SNYK-JS-ANSIREGEX-1583908) | Yes | Proof of Concept (*) Note that the real score may have changed since the PR was raised.
Commit messages
Package name: snyk-config The new version differs by 10 commits.
  • 34bd34e Merge pull request #43 from snyk/fix/bundle-nconf
  • b9cc6b6 feat: swap yargs parser with minimist
  • 2b3935c feat: re-enable argv parsing with yargs
  • 3b8a4e1 feat: add the original argv module
  • 392e6f2 fix: use vendored nconf
  • b90e7e7 fix: vendor nconf to remove vulnerable yargs version
  • f2c0e1e chore: add the original nconf library
  • eb0f55f Merge pull request #42 from snyk/test/add-more-test-cases
  • bf4231e test: add more tests for argument parsing
  • c10881d test: add test case for value type changing
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/playground/project/8738ea51-6c19-4876-a183-d3f2c4fde75f?utm_source=github&utm_medium=referral&page=fix-pr) 🛠 [Adjust project settings](https://app.snyk.io/org/playground/project/8738ea51-6c19-4876-a183-d3f2c4fde75f?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":"858e2b18-077c-4cb1-ae23-b214fa45168a","prPublicId":"858e2b18-077c-4cb1-ae23-b214fa45168a","dependencies":[{"name":"snyk-config","from":"3.1.1","to":"4.0.0"}],"packageManager":"npm","projectPublicId":"8738ea51-6c19-4876-a183-d3f2c4fde75f","projectUrl":"https://app.snyk.io/org/playground/project/8738ea51-6c19-4876-a183-d3f2c4fde75f?utm_source=github&utm_medium=referral&page=fix-pr","type":"auto","patch":[],"vulns":["SNYK-JS-ANSIREGEX-1583908"],"upgrade":["SNYK-JS-ANSIREGEX-1583908"],"isBreakingChange":true,"env":"prod","prType":"fix","templateVariants":["updated-fix-title","priorityScore","merge-advice-badge-shown"],"priorityScoreList":[696]}) --- **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)