🚨 [security] Update axios 0.24.0 → 1.7.7 (major) #229
+55
−16
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
🚨 Your current dependencies have known security vulnerabilities 🚨
This dependency update fixes known security vulnerabilities. Please see the details below and assess their impact carefully. We recommend to merge and deploy this as soon as possible!
Here is everything you need to know about this upgrade. Please take a good look at what changed and the test results before merging this pull request.
What changed?
✳️ axios (0.24.0 → 1.7.7) · Repo · Changelog
Security Advisories 🚨
🚨 Server-Side Request Forgery in axios
🚨 Axios Cross-Site Request Forgery Vulnerability
🚨 Axios Cross-Site Request Forgery Vulnerability
Release Notes
Too many releases to show here. View the full release notes.
Commits
See the full diff on Github. The new version differs by more commits than we can show here.
Security Advisories 🚨
🚨 follow-redirects' Proxy-Authorization header kept across hosts
🚨 Follow Redirects improperly handles URLs in the url.parse() function
🚨 Exposure of Sensitive Information to an Unauthorized Actor in follow-redirects
🚨 Exposure of sensitive information in follow-redirects
Commits
See the full diff on Github. The new version differs by 51 commits:
Release version 1.15.9 of the npm package.
Attempt much more gentle detection.
Fix url field.
Release version 1.15.8 of the npm package.
Return subtlety.
Fix native URL test for Node 20.
Handle KeepAlive connections in tests.
Test on Node 20 and 22.
Fix typo.
Release version 1.15.7 of the npm package.
Graceful browser degradation.
Release version 1.15.6 of the npm package.
Drop Proxy-Authorization across hosts.
Use GitHub for disclosure.
Release version 1.15.5 of the npm package.
Preserve fragment in responseUrl.
Release version 1.15.4 of the npm package.
Disallow bracketed hostnames.
Prefer native URL instead of deprecated url.parse.
Prefer native URL instead of legacy url.resolve.
Simplify _processResponse error handling.
Add bracket tests.
Do not directly set Error properties.
Release version 1.15.3 of the npm package.
Fix resource leak on destroy.
Split linting and testing.
build: harden ci.yml permissions
Release version 1.15.2 of the npm package.
Default to localhost if no host given.
Throw invalid URL error on relative URLs.
Use type functions.
ternary operator syntax fix
HTTP header lines are separated by CRLF.
Create SECURITY.md (#202)
Release version 1.15.1 of the npm package.
Use for ... of.
Fix redirecting to relative URL when using proxy
Release version 1.15.0 of the npm package.
Add headers to request details
Pass status & request details to beforeRedirect (#198)
Test on Node 18.
refactor: replace deprecated String.prototype.substr() (#196)
Release version 1.14.9 of the npm package.
Keep headers when upgrading from HTTP to HTTPS.
Reduce nesting.
Release version 1.14.8 of the npm package.
Drop confidential headers across schemes.
Release version 1.14.7 of the npm package.
Drop Cookie header across domains.
Release version 1.14.6 of the npm package.
Ignore null headers.
🆕 proxy-from-env (added, 1.1.0)
Depfu will automatically keep this PR conflict-free, as long as you don't add any commits to this branch yourself. You can also trigger a rebase manually by commenting with
@depfu rebase
.All Depfu comment commands