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 #1302

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

Conversation

PeterRao
Copy link
Collaborator

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):

  • package.json
  • package-lock.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)

Copy link

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

Package New capabilities Transitives Size Publisher
npm/babel-core@6.26.3 environment, filesystem, unsafe Transitive: eval, network +38 4.3 MB loganfsmyth
npm/babel-loader@7.1.5 environment, filesystem +14 296 kB hzoo
npm/bootstrap@4.6.2 None +1 6.28 MB xhmikosr
npm/cross-env@5.2.1 environment Transitive: filesystem, shell +7 134 kB kentcdodds
npm/css-loader@0.28.11 Transitive: environment, eval, filesystem +102 6.1 MB michael-ciniawsky
npm/express@4.19.2 environment, filesystem, network Transitive: eval +28 985 kB wesleytodd
npm/file-loader@1.1.11 Transitive: eval, filesystem +8 1.28 MB michael-ciniawsky
npm/html-webpack-plugin@3.2.0 filesystem, unsafe Transitive: environment, eval, network, shell +77 6.44 MB jantimon
npm/jquery@3.7.1 None 0 1.25 MB timmywil
npm/style-loader@0.21.0 Transitive: eval, filesystem +8 1.3 MB d3viant0ne
npm/webpack-cli@3.3.12 environment, filesystem, shell, unsafe Transitive: network +131 2.61 MB evilebottnawi
npm/webpack-dev-server@3.11.3 environment, filesystem, network Transitive: eval, shell, unsafe +238 10.5 MB evilebottnawi
npm/webpack@4.47.0 environment, filesystem, unsafe Transitive: eval, network, shell +188 11.1 MB thelarkinn

🚮 Removed packages: npm/bowser@1.9.4, npm/browserify@17.0.0, npm/copy-to@2.0.1, npm/core-js@3.35.0, npm/crypto-js@3.3.0, npm/dateformat@2.2.0, npm/debug@4.3.4, npm/destroy@1.2.0, npm/dotenv@8.6.0, npm/end-or-error@1.0.1, npm/eslint-config-airbnb@19.0.4, npm/eslint-config-ali@13.1.0, npm/eslint-config-prettier@8.10.0, npm/eslint-plugin-import@2.29.1, npm/eslint-plugin-jsx-a11y@6.8.0, npm/eslint-plugin-prettier@4.2.1, npm/eslint@8.56.0, npm/filereader@0.10.3, npm/form-data@4.0.0, npm/get-ready@1.0.0, npm/git-pre-hooks@1.2.1, npm/humanize-ms@1.2.1, npm/husky@7.0.4, npm/immediate@3.3.0, npm/is-type-of@1.4.0, npm/istanbul-lib-processinfo@2.0.2, npm/js-base64@2.6.4, npm/jstoxml@2.2.9, npm/karma-browserify@8.1.0, npm/karma-chrome-launcher@2.2.0, npm/karma-firefox-launcher@1.3.0, npm/karma-ie-launcher@1.0.0, npm/karma-mocha@2.0.1, npm/karma-safari-launcher@1.0.0, npm/karma@6.4.2, npm/lint-staged@12.5.0, npm/lodash@4.17.21, npm/merge-descriptors@1.0.3, npm/mm@2.5.0, npm/mocha@9.2.2

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/fsevents@1.2.13
  • Install script: install
  • Source: node install.js

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.

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/fsevents@1.2.13

@@ -153,7 +153,7 @@
"sdk-base": "^2.0.1",
"stream-http": "2.8.2",
"stream-wormhole": "^1.0.4",
"urllib": "2.41.0",
"urllib": "3.0.0",
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

^3.25.1?

@@ -153,7 +153,7 @@
"sdk-base": "^2.0.1",
"stream-http": "2.8.2",
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🤷🏻

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.

4 participants