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 npm-registry-fetch from 4.0.7 to 7.0.0 #157

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

adamlaska
Copy link
Owner

This PR was automatically created by Snyk using the credentials of a real user.


![snyk-top-banner](https://github.com/andygongea/OWASP-Benchmark/assets/818805/c518c423-16fe-447e-b67f-ad5a49b5d123)

Snyk has created this PR to fix 1 vulnerabilities in the npm dependencies of this project.

Snyk changed the following file(s):

  • deps/npm/package.json

Vulnerabilities that will be fixed with an upgrade:

Issue Score
medium severity Server-Side Request Forgery (SSRF)
SNYK-JS-IP-7148531
  718  

Important

  • Check the changes in this PR to ensure they won't cause issues with your project.
  • Max score is 1000. Note that the real score may have changed since the PR was raised.
  • This PR was automatically created by Snyk using the credentials of a real user.

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
📜 Customise PR templates
🛠 Adjust project settings
📚 Read about Snyk's upgrade logic


Learn how to fix vulnerabilities with free interactive lessons:

🦉 Server-Side Request Forgery (SSRF)

The following vulnerabilities are fixed with an upgrade:
- https://snyk.io/vuln/SNYK-JS-IP-7148531
Copy link

google-cla bot commented May 29, 2024

Thanks for your pull request! It looks like this may be your first contribution to a Google open source project. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA).

View this failed invocation of the CLA check for more information.

For the most up to date status, view the checks section at the bottom of the pull request.

Copy link

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

Package New capabilities Transitives Size Publisher
npm/@protobufjs/aspromise@1.1.2 None 0 9.05 kB dcode
npm/@protobufjs/base64@1.1.2 None 0 9.22 kB dcode
npm/@protobufjs/codegen@2.0.4 None 0 9.14 kB dcode
npm/@protobufjs/eventemitter@1.1.0 None 0 7.75 kB dcode
npm/@protobufjs/fetch@1.1.0 network 0 8.76 kB dcode
npm/@protobufjs/float@1.0.2 None 0 27 kB dcode
npm/@protobufjs/inquire@1.1.0 None 0 4.29 kB dcode
npm/@protobufjs/path@1.1.2 None 0 7.77 kB dcode
npm/@protobufjs/pool@1.1.0 None 0 6.25 kB dcode
npm/@protobufjs/utf8@1.1.0 None 0 23.5 kB dcode
npm/@types/long@4.0.0 None 0 12 kB types
npm/@types/node@11.11.4 None 0 608 kB types
npm/eslint@3.19.0 filesystem Transitive: environment, eval, network +41 6.7 MB eslint
npm/long@4.0.0 None 0 177 kB dcode
npm/mocha@6.2.3 environment, filesystem Transitive: eval +94 5.42 MB juergba
npm/nlm@3.6.3 Transitive: environment, eval, filesystem, network, unsafe +21 1.24 MB groupon
npm/protobufjs@6.8.8 filesystem, network +1 3.82 MB dcode

🚮 Removed packages: npm/abbrev@1.1.1, npm/ansicolors@0.3.2, npm/ansistyles@0.1.3, npm/aproba@2.0.0, npm/archy@1.0.0, npm/bin-links@1.1.8, npm/byte-size@5.0.1, npm/cacache@12.0.4, npm/call-limit@1.1.1, npm/chownr@1.1.4, npm/ci-info@2.0.0, npm/cli-columns@3.1.2, npm/cli-table3@0.5.1, npm/cmd-shim@2.0.2, npm/columnify@1.5.4, npm/config-chain@1.1.13, npm/debuglog@1.0.1, npm/deep-equal@1.1.2, npm/detect-indent@5.0.0, npm/detect-newline@2.1.0, npm/dezalgo@1.0.4, npm/editor@1.0.0, npm/figgy-pudding@3.5.2, npm/find-npm-prefix@1.0.2, npm/fs-vacuum@1.2.10, npm/fs-write-stream-atomic@1.0.10, npm/gentle-fs@2.3.1, npm/get-stream@4.1.0, npm/has-unicode@2.0.1, npm/hosted-git-info@2.8.9, npm/iferr@1.0.2, npm/infer-owner@1.0.4, npm/init-package-json@1.10.3, npm/is-cidr@3.1.1, npm/lazy-property@1.0.0, npm/libcipm@4.0.8, npm/libnpm@3.0.1, npm/libnpmaccess@3.0.2, npm/libnpmhook@5.0.3, npm/libnpmorg@1.0.1, npm/libnpmsearch@2.0.2, npm/libnpmteam@1.0.2, npm/libnpx@10.2.4, npm/licensee@7.0.3, npm/lock-verify@2.2.2, npm/lockfile@1.0.4, npm/lodash._baseindexof@3.1.0, npm/lodash._baseuniq@4.6.0, npm/lodash._bindcallback@3.0.1, npm/lodash._cacheindexof@3.0.2, npm/lodash._createcache@3.1.2, npm/lodash._getnative@3.9.1, npm/lodash.clonedeep@4.5.0, npm/lodash.restparam@3.6.1, npm/lodash.union@4.6.0, npm/lodash.uniq@4.5.0, npm/lodash.without@4.4.0, npm/lru-cache@5.1.1, npm/marked-man@0.6.0, npm/marked@0.6.3, npm/meant@1.0.3, npm/mississippi@3.0.0, npm/move-concurrently@1.0.1, npm/node-gyp@5.1.1, npm/nopt@4.0.3, npm/normalize-package-data@2.5.0, npm/npm-audit-report@1.3.3, npm/npm-cache-filename@1.0.2, npm/npm-install-checks@3.0.2, npm/npm-lifecycle@3.1.5, npm/npm-package-arg@6.1.1, npm/npm-packlist@1.4.8, npm/npm-pick-manifest@2.2.3, npm/npm-profile@4.0.4, npm/npm-registry-couchapp@2.7.4, npm/npm-registry-fetch@4.0.7, npm/npm-registry-mock@1.3.2, npm/npm-user-validate@1.0.1, npm/npmlog@4.1.2, npm/opener@1.5.2, npm/osenv@0.1.5, npm/pacote@9.5.12

View full report↗︎

Copy link

🚨 Potential security issues detected. Learn more about Socket for GitHub ↗︎

To accept the risk, merge this PR and you will not be notified again.

Alert Package NoteSource
Install scripts npm/protobufjs@6.8.8
  • Install script: postinstall
  • Source: node scripts/postinstall
Protestware/Troll package npm/es5-ext@0.10.64
  • Note: This package prints a protestware console message on install regarding Ukraine for users with Russian language locale
Install scripts npm/es5-ext@0.10.64
  • Install script: postinstall
  • Source: node -e "try{require('./_postinstall')}catch(e){}" || exit 0

View full report↗︎

Next steps

What is an install script?

Install scripts are run when the package is installed. The majority of malware in npm is hidden in install scripts.

Packages should not be running non-essential scripts during install and there are often solutions to problems people solve with install scripts that can be run at publish time instead.

What is protestware?

This package is a joke, parody, or includes undocumented or hidden behavior unrelated to its primary function.

Consider that consuming this package my come along with functionality unrelated to its primary purpose.

Take a deeper look at the dependency

Take a moment to review the security alert above. Review the linked package source code to understand the potential risk. Ensure the package is not malicious before proceeding. If you're unsure how to proceed, reach out to your security team or ask the Socket team for help at support [AT] socket [DOT] dev.

Remove the package

If you happen to install a dependency that Socket reports as Known Malware you should immediately remove it and select a different dependency. For other alert types, you may may wish to investigate alternative packages or consider if there are other ways to mitigate the specific risk posed by the dependency.

Mark a package as acceptable risk

To ignore an alert, reply with a comment starting with @SocketSecurity ignore followed by a space separated list of ecosystem/package-name@version specifiers. e.g. @SocketSecurity ignore npm/foo@1.0.0 or ignore all packages with @SocketSecurity ignore-all

  • @SocketSecurity ignore npm/protobufjs@6.8.8
  • @SocketSecurity ignore npm/es5-ext@0.10.64

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants