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 axios from 0.27.2 to 1.7.8 #66

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

Conversation

Abuchtela
Copy link
Owner

snyk-top-banner

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

Snyk changed the following file(s):

  • ecosystem/typescript/sdk/package.json
  • ecosystem/typescript/sdk/yarn.lock

Note for zero-installs users

If you are using the Yarn feature zero-installs that was introduced in Yarn V2, note that this PR does not update the .yarn/cache/ directory meaning this code cannot be pulled and immediately developed on as one would expect for a zero-install project - you will need to run yarn to update the contents of the ./yarn/cache directory.
If you are not using zero-install you can ignore this as your flow should likely be unchanged.

Vulnerabilities that will be fixed with an upgrade:

Issue Score
medium severity Cross-site Scripting (XSS)
SNYK-JS-AXIOS-6671926
  100  

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:

🦉 Cross-site Scripting (XSS)

…/yarn.lock to reduce vulnerabilities

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

vercel bot commented Nov 28, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
aptos-core ❌ Failed (Inspect) Nov 28, 2024 11:54pm
aptos-core-n9hp ❌ Failed (Inspect) Nov 28, 2024 11:54pm

Copy link

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

Package New capabilities Transitives Size Publisher
npm/@babel/compat-data@7.20.1 None 0 57.7 kB nicolo-ribaudo
npm/@babel/generator@7.20.2 None 0 452 kB nicolo-ribaudo
npm/@babel/helper-compilation-targets@7.20.0 None 0 49.4 kB nicolo-ribaudo
npm/@babel/helper-environment-visitor@7.18.9 None 0 3.39 kB nicolo-ribaudo
npm/@babel/helper-function-name@7.19.0 None 0 21.4 kB nicolo-ribaudo
npm/@babel/helper-hoist-variables@7.18.6 None 0 3.46 kB nicolo-ribaudo
npm/@babel/helper-module-imports@7.18.6 None 0 16.1 kB nicolo-ribaudo
npm/@babel/helper-module-transforms@7.20.2 None 0 141 kB nicolo-ribaudo
npm/@babel/helper-simple-access@7.20.2 None 0 13.7 kB nicolo-ribaudo
npm/@babel/helper-split-export-declaration@7.18.6 None 0 4.39 kB nicolo-ribaudo
npm/@babel/helper-string-parser@7.19.4 None 0 31.7 kB nicolo-ribaudo
npm/@babel/helper-validator-option@7.18.6 None 0 4.59 kB nicolo-ribaudo
npm/@babel/helpers@7.20.1 None 0 426 kB nicolo-ribaudo
npm/@babel/plugin-syntax-typescript@7.20.0 None +1 18.1 kB nicolo-ribaudo
npm/@babel/template@7.18.10 None 0 21.4 kB nicolo-ribaudo
npm/@babel/traverse@7.20.1 Transitive: environment +2 4.96 MB nicolo-ribaudo
npm/@esbuild/android-arm@0.15.13 None 0 10.6 MB evanw
npm/@esbuild/linux-loong64@0.15.13 None 0 8.45 MB evanw
npm/@jridgewell/gen-mapping@0.3.2 None 0 93 kB jridgewell
npm/@jridgewell/resolve-uri@3.1.0 None 0 55.2 kB jridgewell
npm/@jridgewell/sourcemap-codec@1.4.14 None 0 40 kB jridgewell
npm/@sinonjs/commons@1.8.4 None 0 38.6 kB mrgnrdrck
npm/@tsconfig/node10@1.0.9 None 0 2.39 kB typescript-deploys
npm/@tsconfig/node16@1.0.3 None 0 2.39 kB typescript-deploys
npm/@types/babel__core@7.1.19 None 0 32.3 kB types
npm/@types/babel__generator@7.6.4 None 0 11.7 kB types
npm/@types/babel__template@7.4.1 None 0 6.93 kB types
npm/@types/babel__traverse@7.18.2 None 0 126 kB types
npm/@types/graceful-fs@4.1.5 None 0 3.51 kB types
npm/@types/prettier@2.7.1 None 0 49.1 kB types
npm/acorn-walk@8.2.0 None 0 42.8 kB marijn
npm/anymatch@3.1.2 None 0 9.54 kB paulmillr
npm/axios@1.7.8 network 0 2.11 MB jasonsaayman
npm/babel-preset-current-node-syntax@1.0.1 eval 0 5.46 kB nicolo-ribaudo
npm/browserslist@4.21.4 environment, filesystem 0 61.2 kB ai
npm/caniuse-lite@1.0.30001430 None 0 1.87 MB caniuse-lite
npm/chokidar@3.5.3 environment, filesystem 0 90.1 kB paulmillr
npm/cjs-module-lexer@1.2.2 None 0 138 kB guybedford
npm/deepmerge@4.2.2 None 0 30.1 kB tehshrike
npm/electron-to-chromium@1.4.284 None 0 195 kB kilianvalkhof
npm/enhanced-resolve@5.10.0 None 0 165 kB sokra
npm/esbuild-android-64@0.15.13 None 0 10.6 MB evanw
npm/esbuild-android-arm64@0.15.13 None 0 8.91 MB evanw
npm/esbuild-darwin-64@0.15.13 None 0 9.05 MB evanw
npm/esbuild-darwin-arm64@0.15.13 None 0 8.71 MB evanw
npm/esbuild-freebsd-64@0.15.13 None 0 8.58 MB evanw
npm/esbuild-freebsd-arm64@0.15.13 None 0 8 MB evanw
npm/esbuild@0.15.13 environment, filesystem, network, shell 0 121 kB evanw
npm/escalade@3.1.1 filesystem 0 11.4 kB lukeed
npm/fsevents@2.3.2 None 0 156 kB pipobscure
npm/jest-pnp-resolver@1.2.2 None 0 5.71 kB arcanis
npm/jsesc@2.5.2 None 0 32 kB mathias
npm/load-tsconfig@0.2.3 None 0 16.3 kB egoist
npm/make-dir@3.1.0 filesystem +1 77.1 kB sindresorhus
npm/node-releases@2.0.6 None 0 25.1 kB chicoxyzzy
npm/picocolors@1.0.0 environment 0 5.66 kB alexeyraspopov
npm/pirates@4.0.5 unsafe 0 13.4 kB danez
npm/prettier@2.6.2 environment, filesystem, unsafe 0 17.7 MB sosukesuzuki
npm/resolve.exports@1.1.0 None 0 20.3 kB lukeed
npm/rollup@2.79.1 environment, filesystem, unsafe 0 6.7 MB lukastaegert
npm/sucrase@3.28.0 None 0 1.09 MB alangpierce
npm/to-fast-properties@2.0.0 None 0 3.5 kB sindresorhus
npm/ts-jest@28.0.8 environment, filesystem, unsafe 0 263 kB kul
npm/update-browserslist-db@1.0.10 filesystem, shell 0 13.6 kB ai

🚮 Removed packages: npm/aptos@1.21.0, npm/follow-redirects@1.15.2, npm/npm-run-all@4.1.5

View full report↗︎

Copy link

sonarcloud bot commented Nov 28, 2024

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 NoteSourceCI
Critical CVE npm/@babel/traverse@7.20.1 ⚠︎

View full report↗︎

Next steps

What is a critical CVE?

Contains a Critical Common Vulnerability and Exposure (CVE).

Remove or replace dependencies that include known critical CVEs. Consumers can use dependency overrides or npm audit fix --force to remove vulnerable dependencies.

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/@babel/traverse@7.20.1

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.

2 participants