-
Notifications
You must be signed in to change notification settings - Fork 0
[Snyk] Security upgrade axios from 0.21.4 to 1.12.0 #30
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
base: main
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -20,6 +20,6 @@ | |
| "webpack-cli": "^3.3.12" | ||
| }, | ||
| "dependencies": { | ||
| "axios": "^0.21.1" | ||
| "axios": "^1.12.0" | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. The axios import path in There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Missing package-lock.json file creates dependency management risks. After upgrading axios to a major version, you should generate a package-lock.json file by running There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Consider testing the axios upgrade thoroughly. The jump from 0.21.1 to 1.12.0 includes breaking changes in error handling, request/response interceptors, and TypeScript definitions. Verify that the CO2 Signal API calls in |
||
| } | ||
| } | ||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🛑 Security Vulnerability: The PR description mentions updating from "0.21.4" but the actual change is from "0.21.1" to "1.12.0". This is a major version upgrade that addresses critical security vulnerabilities in axios versions prior to 1.6.01. However, this major version upgrade introduces breaking changes that could affect the application's functionality.
Footnotes
CWE-918: Server-Side Request Forgery (SSRF) - https://cwe.mitre.org/data/definitions/918.html ↩