🚨 [security] [backend] Update axios 0.22.0 → 1.7.9 (major) #363
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.22.0 → 1.7.9) · 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 56 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.
Release version 1.14.5 of the npm package.
Make compatible with Node 17.
Fix: clear internal timer on request abort to avoid leakage
Keep Authorization header on subdomain redirects.
Carry over Host header on relative redirects (#172)
🆕 asynckit (added, 0.4.0)
🆕 combined-stream (added, 1.0.8)
🆕 delayed-stream (added, 1.0.0)
🆕 form-data (added, 4.0.1)
🆕 proxy-from-env (added, 1.1.0)
👉 No CI detected
You don't seem to have any Continuous Integration service set up!
Without a service that will test the Depfu branches and pull requests, we can't inform you if incoming updates actually work with your app. We think that this degrades the service we're trying to provide down to a point where it is more or less meaningless.
This is fine if you just want to give Depfu a quick try. If you want to really let Depfu help you keep your app up-to-date, we recommend setting up a CI system:
* [Circle CI](https://circleci.com), [Semaphore ](https://semaphoreci.com) and [Github Actions](https://docs.github.com/actions) are all excellent options. * If you use something like Jenkins, make sure that you're using the Github integration correctly so that it reports status data back to Github. * If you have already set up a CI for this repository, you might need to check your configuration. Make sure it will run on all new branches. If you don’t want it to run on every branch, you can whitelist branches starting with `depfu/`.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