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.6.8 #57

Closed
wants to merge 1 commit into from

Conversation

Abuchtela
Copy link
Owner

snyk-top-banner

Snyk has created this PR to fix 2 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 Information Exposure
SNYK-JS-FOLLOWREDIRECTS-6444610
  159  
high severity Improper Input Validation
SNYK-JS-FOLLOWREDIRECTS-6141137
  158  

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:

🦉 Improper Input Validation

Copy link

vercel bot commented Sep 5, 2024

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

Name Status Preview Comments Updated (UTC)
aptos-core ❌ Failed (Inspect) Sep 5, 2024 5:07pm
aptos-core-n9hp ❌ Failed (Inspect) Sep 5, 2024 5:07pm

Copy link

sonarcloud bot commented Sep 5, 2024

Copy link

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

Package New capabilities Transitives Size Publisher
npm/@babel/code-frame@7.18.6 None 0 6.98 kB nicolo-ribaudo
npm/@babel/core@7.20.2 environment, filesystem, unsafe 0 937 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-module-transforms@7.20.2 None 0 141 kB nicolo-ribaudo
npm/@babel/helper-plugin-utils@7.20.2 None 0 11.9 kB nicolo-ribaudo
npm/@babel/helper-validator-identifier@7.19.1 None 0 51.7 kB nicolo-ribaudo
npm/@babel/helpers@7.20.1 None 0 426 kB nicolo-ribaudo
npm/@babel/highlight@7.18.6 None 0 4.91 kB nicolo-ribaudo
npm/@babel/parser@7.20.2 None 0 1.94 MB nicolo-ribaudo
npm/@babel/plugin-syntax-typescript@7.20.0 None 0 6.26 kB nicolo-ribaudo
npm/@babel/template@7.18.10 None 0 21.4 kB nicolo-ribaudo
npm/@babel/traverse@7.20.1 None 0 571 kB nicolo-ribaudo
npm/@babel/types@7.20.2 environment 0 2.45 MB nicolo-ribaudo
npm/@eslint/eslintrc@1.3.3 filesystem, unsafe 0 652 kB eslintbot
npm/@humanwhocodes/config-array@0.10.7 None 0 52.1 kB nzakas
npm/@humanwhocodes/gitignore-to-minimatch@1.0.2 None 0 18.8 kB nzakas
npm/@humanwhocodes/object-schema@1.2.1 None 0 49.4 kB nzakas
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/@jridgewell/trace-mapping@0.3.17 None 0 164 kB jridgewell
npm/@noble/hashes@1.1.3 None 0 275 kB paulmillr
npm/@scure/base@1.1.1 None 0 46.4 kB paulmillr
npm/@scure/bip39@1.1.0 None 0 172 kB paulmillr
npm/@types/babel__core@7.1.19 None 0 32.3 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/istanbul-lib-coverage@2.0.4 None 0 5.76 kB types
npm/@types/istanbul-lib-report@3.0.0 None 0 8.23 kB types
npm/@types/istanbul-reports@3.0.1 None 0 7.42 kB types
npm/@types/json-schema@7.0.11 None 0 32.2 kB types
npm/@types/json5@0.0.29 None 0 3 kB types
npm/@types/prettier@2.7.1 None 0 49.1 kB types
npm/@types/stack-utils@2.0.1 None 0 6.97 kB types
npm/@types/yargs-parser@21.0.0 None 0 8.93 kB types
npm/@types/yargs@17.0.13 None 0 107 kB types
npm/@typescript-eslint/eslint-plugin@5.36.2 None 0 2.31 MB jameshenry
npm/@typescript-eslint/parser@5.36.2 None 0 29.2 kB jameshenry
npm/@typescript-eslint/scope-manager@5.36.2 None 0 574 kB jameshenry
npm/@typescript-eslint/type-utils@5.36.2 None 0 78.7 kB jameshenry
npm/@typescript-eslint/types@5.36.2 None 0 142 kB jameshenry
npm/@typescript-eslint/typescript-estree@5.36.2 environment, filesystem 0 470 kB jameshenry
npm/@typescript-eslint/utils@5.36.2 None 0 313 kB jameshenry
npm/@typescript-eslint/visitor-keys@5.36.2 None 0 17 kB jameshenry
npm/acorn@8.8.1 None 0 467 kB marijn
npm/anymatch@3.1.2 None 0 9.54 kB paulmillr
npm/array-includes@3.1.5 None 0 22.9 kB ljharb
npm/array.prototype.flat@1.3.1 None 0 18.2 kB ljharb
npm/axios@1.6.8 network 0 1.84 MB jasonsaayman
npm/babel-preset-current-node-syntax@1.0.1 eval 0 5.46 kB nicolo-ribaudo
npm/braces@3.0.2 None 0 49.2 kB doowb
npm/call-bind@1.0.2 None 0 14.7 kB ljharb
npm/ci-info@3.5.0 environment 0 21.7 kB sibiraj-s
npm/cjs-module-lexer@1.2.2 None 0 138 kB guybedford
npm/collect-v8-coverage@1.0.1 unsafe 0 4.14 kB simenb
npm/confusing-browser-globals@1.0.11 None 0 3.87 kB iansu
npm/debug@4.3.4 environment 0 42.4 kB qix
npm/deepmerge@4.2.2 None 0 30.1 kB tehshrike
npm/define-properties@1.1.4 None 0 10.4 kB ljharb
npm/es-abstract@1.20.4 None 0 1.4 MB ljharb
npm/es-shim-unscopables@1.0.0 None 0 10 kB ljharb
npm/es-to-primitive@1.2.1 None 0 40.4 kB ljharb
npm/escalade@3.1.1 filesystem 0 11.4 kB lukeed
npm/eslint-config-airbnb-base@15.0.0 None 0 94 kB ljharb
npm/eslint-config-airbnb-typescript@17.0.0 None 0 26 kB iamturns
npm/eslint-config-prettier@8.5.0 None 0 18.2 kB lydell
npm/eslint-import-resolver-node@0.3.6 None 0 5.37 kB ljharb
npm/eslint-module-utils@2.7.4 None 0 34.9 kB ljharb
npm/eslint-plugin-import@2.26.0 filesystem, unsafe 0 1.06 MB ljharb
npm/eslint@8.23.0 filesystem 0 2.8 MB eslintbot
npm/espree@9.4.0 None 0 76.3 kB eslintbot
npm/esquery@1.4.0 None 0 986 kB michaelficarra
npm/fast-glob@3.2.12 filesystem 0 91.9 kB mrmlnc
npm/fastq@1.13.0 None 0 38.2 kB matteo.collina
npm/fill-range@7.0.1 None 0 16.4 kB jonschlinkert
npm/flat-cache@3.0.4 filesystem 0 30 kB royriojas
npm/flatted@3.2.7 None 0 27.2 kB webreflection
npm/fsevents@2.3.2 None 0 156 kB pipobscure
npm/function-bind@1.1.1 None 0 25.2 kB ljharb
npm/function.prototype.name@1.1.5 None 0 17 kB ljharb
npm/functions-have-names@1.2.3 None 0 16.7 kB ljharb
npm/get-intrinsic@1.1.3 eval 0 37.1 kB ljharb
npm/get-symbol-description@1.0.0 None 0 10.3 kB ljharb
npm/globals@13.17.0 None 0 46.3 kB sindresorhus
npm/graceful-fs@4.2.10 environment, filesystem 0 32.5 kB isaacs
npm/grapheme-splitter@1.0.4 None 0 237 kB orling
npm/has-bigints@1.0.2 None 0 12.8 kB ljharb
npm/has-property-descriptors@1.0.0 None 0 9.31 kB ljharb
npm/has-symbols@1.0.3 None 0 20.6 kB ljharb
npm/has-tostringtag@1.0.0 None 0 10.9 kB ljharb
npm/has@1.0.3 None 0 2.77 kB ljharb
npm/ignore@5.2.0 None 0 48.9 kB kael
npm/import-local@3.1.0 None 0 4.66 kB sindresorhus
npm/internal-slot@1.0.3 None 0 15.5 kB ljharb
npm/is-bigint@1.0.4 None 0 14.8 kB ljharb
npm/is-boolean-object@1.1.2 None 0 22.1 kB ljharb
npm/is-callable@1.2.7 None 0 28.9 kB ljharb
npm/is-core-module@2.11.0 None 0 28.1 kB ljharb
npm/is-date-object@1.0.5 None 0 20.8 kB ljharb
npm/is-negative-zero@2.0.2 None 0 22 kB ljharb
npm/is-number-object@1.0.7 None 0 22.2 kB ljharb
npm/is-regex@1.1.4 None 0 30.1 kB ljharb
npm/is-shared-array-buffer@1.0.2 None 0 11.9 kB ljharb
npm/is-string@1.0.7 None 0 19.1 kB ljharb
npm/is-symbol@1.0.4 None 0 22 kB ljharb
npm/is-weakref@1.0.2 None 0 12.1 kB ljharb
npm/istanbul-lib-coverage@3.2.0 None 0 29.3 kB oss-bot
npm/istanbul-lib-report@3.0.0 filesystem 0 37.5 kB coreyfarrell
npm/istanbul-reports@3.1.5 None 0 292 kB oss-bot
npm/jest-pnp-resolver@1.2.2 None 0 5.71 kB arcanis
npm/json5@1.0.1 None 0 88.3 kB jordanbtucker
npm/lru-cache@6.0.0 None 0 15.6 kB isaacs
npm/make-dir@3.1.0 filesystem 0 10 kB sindresorhus
npm/micromatch@4.0.5 None 0 55.9 kB jonschlinkert
npm/minimist@1.2.7 None 0 50.7 kB ljharb
npm/object-inspect@1.12.2 None 0 93.6 kB ljharb
npm/object-keys@1.1.1 None 0 26.5 kB ljharb
npm/object.assign@4.1.4 None 0 1.17 MB ljharb
npm/object.entries@1.1.5 None 0 29.5 kB ljharb
npm/object.values@1.1.5 None 0 29 kB ljharb
npm/optionator@0.9.1 None 0 50.2 kB gkz
npm/pirates@4.0.5 unsafe 0 13.4 kB danez
npm/punycode@2.1.1 None 0 32.4 kB mathias
npm/react-is@18.2.0 environment 0 24 kB gnoff
npm/regexp.prototype.flags@1.4.3 None 0 36.7 kB ljharb
npm/resolve.exports@1.1.0 None 0 20.3 kB lukeed
npm/resolve@1.22.1 environment, filesystem 0 146 kB ljharb
npm/safe-regex-test@1.0.0 None 0 7.33 kB ljharb
npm/semver@7.3.8 None 0 88.2 kB gar
npm/side-channel@1.0.4 None 0 14.6 kB ljharb
npm/stack-utils@2.0.5 unsafe 0 14.4 kB isaacs
npm/string.prototype.trimend@1.0.5 None 0 20.3 kB ljharb
npm/string.prototype.trimstart@1.0.5 None 0 20.5 kB ljharb
npm/strip-bom@3.0.0 None 0 3 kB sindresorhus
npm/tsconfig-paths@3.14.1 environment, filesystem, unsafe 0 203 kB jonaskello
npm/unbox-primitive@1.0.2 None 0 14.9 kB ljharb
npm/v8-to-istanbul@9.0.1 filesystem, unsafe 0 44.6 kB oss-bot
npm/which-boxed-primitive@1.0.2 None 0 15 kB ljharb
npm/word-wrap@1.2.3 None 0 10.6 kB jonschlinkert
npm/yallist@4.0.0 None 0 14.8 kB isaacs
npm/yargs@17.6.2 environment, filesystem 0 290 kB oss-bot

🚮 Removed packages: npm/@algolia/client-search@5.2.5), npm/@docusaurus/core@3.0.0), npm/@docusaurus/plugin-client-redirects@2.1.0), npm/@docusaurus/plugin-google-analytics@2.1.0), npm/@docusaurus/plugin-google-gtag@2.1.0), npm/@docusaurus/preset-classic@3.4.0), npm/@docusaurus/theme-classic@3.5.2), npm/@docusaurus/theme-common@3.5.2), npm/@docusaurus/types@3.5.2), npm/@mdx-js/react@1.6.22), npm/@stoplight/elements@8.4.3), npm/@types/prop-types@15.7.12), npm/@types/react@18.3.5), npm/buffer@6.0.3), npm/clsx@1.2.1), npm/hast-util-is-element@1.1.0), npm/mkdirp@3.0.1), npm/path-to-regex@1.3.8), npm/prism-react-renderer@1.2.1), npm/process@0.11.10), npm/prop-types@15.8.1), npm/react-dom@17.0.2), npm/react@17.0.2), npm/rehype-katex@7.0.1)

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

Copy link

This issue is stale because it has been open 45 days with no activity. Remove the stale label, comment or push a commit - otherwise this will be closed in 15 days.

@github-actions github-actions bot added the stale label Oct 21, 2024
@stale stale bot closed this Nov 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants