🚨 [security] Update axios 1.4.0 → 1.6.8 (minor) #282
Closed
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 update. Please take a good look at what changed and the test results before merging this pull request.
What changed?
✳️ axios (1.4.0 → 1.6.8) · Repo · Changelog
Security Advisories 🚨
🚨 Axios Cross-Site Request Forgery Vulnerability
Release Notes
1.6.8
1.6.7
1.6.6
1.6.5
1.6.4
1.6.3
1.6.2
1.6.1
1.6.0
1.5.1
1.5.0
Does any of this look wrong? Please let us know.
Commits
See the full diff on Github. The new version differs by 70 commits:
chore(release): v1.6.8 (#6303)
fix(AxiosHeaders): fix AxiosHeaders conversion to an object during config merging (#6243)
fix(import): use named export for EventEmitter;
fix(vulnerability): update follow-redirects to 1.15.6 (#6300)
chore: update and bump deps (#6238)
docs: update README responseEncoding types (#6194)
docs: Update README.md to point to current axios version in CDN links (#6196)
chore(ci): add npm tag action; (#6231)
chore(release): v1.6.7 (#6204)
chore: remove unnecessary check (#6186)
fix: capture async stack only for rejections with native error objects; (#6203)
chore(release): v1.6.6 (#6199)
fix: fixed missed dispatchBeforeRedirect argument (#5778)
fix: wrap errors to improve async stack trace (#5987)
chore(release): v1.6.5 (#6177)
fix(ci): refactor notify action as a job of publish action; (#6176)
fix(dns): fixed lookup error handling; (#6175)
docs: update sponsor links
chore(release): v1.6.4 (#6173)
chore(ci): fix notify action; (#6172)
fix(security): fixed formToJSON prototype pollution vulnerability; (#6167)
fix(security): fixed security vulnerability in follow-redirects (#6163)
docs: update logos
docs: updated headline sponsors
chore(release): v1.6.3 (#6151)
chore(ci): added branches filter for notify action; (#6084)
fix: Regular Expression Denial of Service (ReDoS) (#6132)
docs: update alloy link (#6145)
docs: add headline sponsors
chore(release): v1.6.2 (#6082)
chore(ci): removed redundant release action; (#6081)
chore(docs): fix outdated grunt to npm scripts (#6073)
chore(docs): update README.md (#6048)
chore(ci): removed paths-ignore filter; (#6080)
chore(ci): reworked ignoring files logic; (#6079)
chore(ci): add paths-ignore config to testing action; (#6078)
feat(withXSRFToken): added withXSRFToken option as a workaround to achieve the old `withCredentials` behavior; (#6046)
chore(ci): fixed release notification action; (#6064)
chore(ci): fixed release notification action; (#6063)
chore(ci): fix publish action content permission; (#6061)
chore(release): v1.6.1 (#6060)
chore(ci): Publish to NPM with provenance (#5835)
chore(ci): added labeling and notification for published PRs; (#6059)
fix(formdata): fixed content-type header normalization for non-standard browser environments; (#6056)
fix(platform): fixed emulated browser detection in node.js environment; (#6055)
chore(release): v1.6.0 (#6031)
chore(ci): fix release-it arg; (#6032)
fix(CSRF): fixed CSRF vulnerability CVE-2023-45857 (#6028)
chore(tests): fixed tests to pass in node v19 and v20 with `keep-alive` enabled; (#6021)
fix(dns): fixed lookup function decorator to work properly in node v20; (#6011)
chore(docs): added AxiosHeaders docs; (#5932)
fix(types): fix AxiosHeaders types; (#5931)
chore(docs): update readme.md (#5889)
chore(release): v1.5.1 (#5920)
fix(adapters): improved adapters loading logic to have clear error messages; (#5919)
fix(formdata): fixed automatic addition of the `Content-Type` header for FormData in non-browser environments; (#5917)
fix(headers): allow `content-encoding` header to handle case-insensitive values (#5890) (#5892)
docs(paramsSerializer config within request config): update documentation for paramsSerializer
Change isNaN to Number.isNaN
docs: fix CommonJS usage note
fix(types): removed duplicated code
chore(release): v1.5.0 (#5838)
feat(export): export adapters without `unsafe` prefix (#5839)
docs: linting documentation notes (#5791)
feat: export getAdapter function (#5324)
fix(adapter): make adapter loading error more clear by using platform-specific adapters explicitly (#5837)
fix(dns): fixed `cacheable-lookup` integration; (#5836)
fix(headers): fixed common Content-Type header merging; (#5832)
fix(headers): added support for setting header names that overlap with class methods; (#5831)
docs: Add axios error type definitions in README.MD (#5788)
Security Advisories 🚨
🚨 follow-redirects' Proxy-Authorization header kept across hosts
🚨 Follow Redirects improperly handles URLs in the url.parse() function
Commits
See the full diff on Github. The new version differs by 16 commits:
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
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