[Snyk] Security upgrade axios from 1.3.3 to 1.6.0 #1490

Closed
opened 2026-04-05 16:27:46 +02:00 by MrUnknownDE · 0 comments
Owner

Originally created by @simlarsen on 11/20/2023

This PR was automatically created by Snyk using the credentials of a real user.


Snyk has created this PR to fix one or more vulnerable packages in the `npm` dependencies of this project.

Changes included in this PR

  • Changes to the following files to upgrade the vulnerable dependencies to a fixed version:
    • Workflow/package.json
    • Workflow/package-lock.json

Vulnerabilities that will be fixed

With an upgrade:
Severity Priority Score (*) Issue Breaking Change Exploit Maturity
high severity 676/1000
Why? Proof of Concept exploit, Has a fix available, CVSS 7.1
Cross-site Request Forgery (CSRF)
SNYK-JS-AXIOS-6032459
No Proof of Concept

(*) Note that the real score may have changed since the PR was raised.

Commit messages
Package name: axios The new version differs by 46 commits.
  • f7adacd chore(release): v1.6.0 (#6031)
  • 9917e67 chore(ci): fix release-it arg; (#6032)
  • 96ee232 fix(CSRF): fixed CSRF vulnerability CVE-2023-45857 (#6028)
  • 7d45ab2 chore(tests): fixed tests to pass in node v19 and v20 with `keep-alive` enabled; (#6021)
  • 5aaff53 fix(dns): fixed lookup function decorator to work properly in node v20; (#6011)
  • a48a63a chore(docs): added AxiosHeaders docs; (#5932)
  • a1c8ad0 fix(types): fix AxiosHeaders types; (#5931)
  • 2ac731d chore(docs): update readme.md (#5889)
  • 88fb52b chore(release): v1.5.1 (#5920)
  • e410779 fix(adapters): improved adapters loading logic to have clear error messages; (#5919)
  • bc9af51 fix(formdata): fixed automatic addition of the `Content-Type` header for FormData in non-browser environments; (#5917)
  • 4c89f25 fix(headers): allow `content-encoding` header to handle case-insensitive values (#5890) (#5892)
  • ae00391 docs(paramsSerializer config within request config): update documentation for paramsSerializer
  • a989ccd Change isNaN to Number.isNaN
  • b5b7760 docs: fix CommonJS usage note
  • 9e62056 fix(types): removed duplicated code
  • 6365751 chore(release): v1.5.0 (#5838)
  • 1601f4a feat(export): export adapters without `unsafe` prefix (#5839)
  • dff74ae docs: linting documentation notes (#5791)
  • ca73eb8 feat: export getAdapter function (#5324)
  • 9a414bb fix(adapter): make adapter loading error more clear by using platform-specific adapters explicitly (#5837)
  • b3e327d fix(dns): fixed `cacheable-lookup` integration; (#5836)
  • 8fda276 fix(headers): fixed common Content-Type header merging; (#5832)
  • d8b4ca0 fix(headers): added support for setting header names that overlap with class methods; (#5831)

See the full diff

Check the changes in this PR to ensure they won't cause issues with your project.


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

🛠 Adjust project settings

📚 Read more about Snyk's upgrade and patch logic


Learn how to fix vulnerabilities with free interactive lessons:

🦉 Cross-site Request Forgery (CSRF)

*Originally created by @simlarsen on 11/20/2023* <p>This PR was automatically created by Snyk using the credentials of a real user.</p><br /><h3>Snyk has created this PR to fix one or more vulnerable packages in the `npm` dependencies of this project.</h3> #### Changes included in this PR - Changes to the following files to upgrade the vulnerable dependencies to a fixed version: - Workflow/package.json - Workflow/package-lock.json #### Vulnerabilities that will be fixed ##### With an upgrade: Severity | Priority Score (*) | Issue | Breaking Change | Exploit Maturity :-------------------------:|-------------------------|:-------------------------|:-------------------------|:------------------------- ![high severity](https://res.cloudinary.com/snyk/image/upload/w_20,h_20/v1561977819/icon/h.png "high severity") | **676/1000** <br/> **Why?** Proof of Concept exploit, Has a fix available, CVSS 7.1 | Cross-site Request Forgery (CSRF) <br/>[SNYK-JS-AXIOS-6032459](https://snyk.io/vuln/SNYK-JS-AXIOS-6032459) | No | Proof of Concept (*) Note that the real score may have changed since the PR was raised. <details> <summary><b>Commit messages</b></summary> </br> <details> <summary>Package name: <b>axios</b></summary> The new version differs by 46 commits.</br> <ul> <li><a href="https://snyk.io/redirect/github/axios/axios/commit/f7adacdbaa569281253c8cfc623ad3f4dc909c60">f7adacd</a> chore(release): v1.6.0 (#6031)</li> <li><a href="https://snyk.io/redirect/github/axios/axios/commit/9917e67cbb6c157382863bad8c741de58e3f3c2b">9917e67</a> chore(ci): fix release-it arg; (#6032)</li> <li><a href="https://snyk.io/redirect/github/axios/axios/commit/96ee232bd3ee4de2e657333d4d2191cd389e14d0">96ee232</a> fix(CSRF): fixed CSRF vulnerability CVE-2023-45857 (#6028)</li> <li><a href="https://snyk.io/redirect/github/axios/axios/commit/7d45ab2e2ad6e59f5475e39afd4b286b1f393fc0">7d45ab2</a> chore(tests): fixed tests to pass in node v19 and v20 with &#x60;keep-alive&#x60; enabled; (#6021)</li> <li><a href="https://snyk.io/redirect/github/axios/axios/commit/5aaff532a6b820bb9ab6a8cd0f77131b47e2adb8">5aaff53</a> fix(dns): fixed lookup function decorator to work properly in node v20; (#6011)</li> <li><a href="https://snyk.io/redirect/github/axios/axios/commit/a48a63ad823fc20e5a6a705f05f09842ca49f48c">a48a63a</a> chore(docs): added AxiosHeaders docs; (#5932)</li> <li><a href="https://snyk.io/redirect/github/axios/axios/commit/a1c8ad008b3c13d53e135bbd0862587fb9d3fc09">a1c8ad0</a> fix(types): fix AxiosHeaders types; (#5931)</li> <li><a href="https://snyk.io/redirect/github/axios/axios/commit/2ac731d60545ba5c4202c25fd2e732ddd8297d82">2ac731d</a> chore(docs): update readme.md (#5889)</li> <li><a href="https://snyk.io/redirect/github/axios/axios/commit/88fb52b5fad7aabab0532e7ad086c5f1b0178905">88fb52b</a> chore(release): v1.5.1 (#5920)</li> <li><a href="https://snyk.io/redirect/github/axios/axios/commit/e4107797a7a1376f6209fbecfbbce73d3faa7859">e410779</a> fix(adapters): improved adapters loading logic to have clear error messages; (#5919)</li> <li><a href="https://snyk.io/redirect/github/axios/axios/commit/bc9af51b1886d1b3529617702f2a21a6c0ed5d92">bc9af51</a> fix(formdata): fixed automatic addition of the &#x60;Content-Type&#x60; header for FormData in non-browser environments; (#5917)</li> <li><a href="https://snyk.io/redirect/github/axios/axios/commit/4c89f25196525e90a6e75eda9cb31ae0a2e18acd">4c89f25</a> fix(headers): allow &#x60;content-encoding&#x60; header to handle case-insensitive values (#5890) (#5892)</li> <li><a href="https://snyk.io/redirect/github/axios/axios/commit/ae003913a39f3bdf9bbbd8f71a1ed681fd044d8b">ae00391</a> docs(paramsSerializer config within request config): update documentation for paramsSerializer</li> <li><a href="https://snyk.io/redirect/github/axios/axios/commit/a989ccdc1a672171e9b45d3f02edc260109a607c">a989ccd</a> Change isNaN to Number.isNaN</li> <li><a href="https://snyk.io/redirect/github/axios/axios/commit/b5b776037300ad1e0f800e95e33552030e641887">b5b7760</a> docs: fix CommonJS usage note</li> <li><a href="https://snyk.io/redirect/github/axios/axios/commit/9e6205630e1c9cf863adf141c0edb9e6d8d4b149">9e62056</a> fix(types): removed duplicated code</li> <li><a href="https://snyk.io/redirect/github/axios/axios/commit/6365751ba6725cc283f7364b9ee6ca9917e9737c">6365751</a> chore(release): v1.5.0 (#5838)</li> <li><a href="https://snyk.io/redirect/github/axios/axios/commit/1601f4a27a81ab47fea228f1e244b2c4e3ce28bf">1601f4a</a> feat(export): export adapters without &#x60;unsafe&#x60; prefix (#5839)</li> <li><a href="https://snyk.io/redirect/github/axios/axios/commit/dff74ae374b75ad1b99cb1050fe4a4c52cf4b9f5">dff74ae</a> docs: linting documentation notes (#5791)</li> <li><a href="https://snyk.io/redirect/github/axios/axios/commit/ca73eb878df0ae2dace81fe3a7f1fb5986231bf1">ca73eb8</a> feat: export getAdapter function (#5324)</li> <li><a href="https://snyk.io/redirect/github/axios/axios/commit/9a414bb6c81796a95c6c7fe668637825458e8b6d">9a414bb</a> fix(adapter): make adapter loading error more clear by using platform-specific adapters explicitly (#5837)</li> <li><a href="https://snyk.io/redirect/github/axios/axios/commit/b3e327dcc9277bdce34c7ef57beedf644b00d628">b3e327d</a> fix(dns): fixed &#x60;cacheable-lookup&#x60; integration; (#5836)</li> <li><a href="https://snyk.io/redirect/github/axios/axios/commit/8fda2766b1e6bcb72c3fabc146223083ef13ce17">8fda276</a> fix(headers): fixed common Content-Type header merging; (#5832)</li> <li><a href="https://snyk.io/redirect/github/axios/axios/commit/d8b4ca0ea5f2f05efa4edfe1e7684593f9f68273">d8b4ca0</a> fix(headers): added support for setting header names that overlap with class methods; (#5831)</li> </ul> <a href="https://snyk.io/redirect/github/axios/axios/compare/d9ebf8fb3ab2e6d277626d72bcf5580e2a6e795b...f7adacdbaa569281253c8cfc623ad3f4dc909c60">See the full diff</a> </details> </details> Check the changes in this PR to ensure they won't cause issues with your project. ------------ **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: <img src="https://api.segment.io/v1/pixel/track?data=eyJ3cml0ZUtleSI6InJyWmxZcEdHY2RyTHZsb0lYd0dUcVg4WkFRTnNCOUEwIiwiYW5vbnltb3VzSWQiOiI1NzcyOGJiNS1kZjYxLTRiNjYtOWMyNC1hODRiZTg3NTc3NTIiLCJldmVudCI6IlBSIHZpZXdlZCIsInByb3BlcnRpZXMiOnsicHJJZCI6IjU3NzI4YmI1LWRmNjEtNGI2Ni05YzI0LWE4NGJlODc1Nzc1MiJ9fQ==" width="0" height="0"/> 🧐 [View latest project report](https://app.snyk.io/org/oneuptime-RsC2nshvQ2Vnr35jHvMnMP/project/eab19927-9a5d-47a0-a67d-cb1a7d0ecbac?utm_source&#x3D;github&amp;utm_medium&#x3D;referral&amp;page&#x3D;fix-pr) 🛠 [Adjust project settings](https://app.snyk.io/org/oneuptime-RsC2nshvQ2Vnr35jHvMnMP/project/eab19927-9a5d-47a0-a67d-cb1a7d0ecbac?utm_source&#x3D;github&amp;utm_medium&#x3D;referral&amp;page&#x3D;fix-pr/settings) 📚 [Read more about Snyk's upgrade and patch logic](https://support.snyk.io/hc/en-us/articles/360003891078-Snyk-patches-to-fix-vulnerabilities) [//]: # (snyk:metadata:{"prId":"57728bb5-df61-4b66-9c24-a84be8757752","prPublicId":"57728bb5-df61-4b66-9c24-a84be8757752","dependencies":[{"name":"axios","from":"1.3.3","to":"1.6.0"}],"packageManager":"npm","projectPublicId":"eab19927-9a5d-47a0-a67d-cb1a7d0ecbac","projectUrl":"https://app.snyk.io/org/oneuptime-RsC2nshvQ2Vnr35jHvMnMP/project/eab19927-9a5d-47a0-a67d-cb1a7d0ecbac?utm_source=github&utm_medium=referral&page=fix-pr","type":"user-initiated","patch":[],"vulns":["SNYK-JS-AXIOS-6032459"],"upgrade":["SNYK-JS-AXIOS-6032459"],"isBreakingChange":false,"env":"prod","prType":"fix","templateVariants":["updated-fix-title","priorityScore"],"priorityScoreList":[676],"remediationStrategy":"vuln"}) --- **Learn how to fix vulnerabilities with free interactive lessons:** 🦉 [Cross-site Request Forgery (CSRF)](https://learn.snyk.io/lesson/csrf-attack/?loc&#x3D;fix-pr)
Sign in to join this conversation.
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github/oneuptime#1490