Skip to content
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

[Snyk] Security upgrade axios from 0.21.0 to 1.6.0 #26

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

Omrisnyk
Copy link
Owner

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:
    • package.json
    • package-lock.json

Vulnerabilities that will be fixed

With an upgrade:
Severity Priority Score (*) Issue Breaking Change Exploit Maturity
high severity 224/1000
Why? Confidentiality impact: High, Integrity impact: Low, Availability impact: None, Scope: Unchanged, Exploit Maturity: Proof of Concept, User Interaction (UI): Required, Privileges Required (PR): None, Attack Complexity: Low, Attack Vector: Network, EPSS: 0.01055, Social Trends: No, Days since published: 2, Reachable: No, Transitive dependency: No, Is Malicious: No, Business Criticality: High, Provider Urgency: High, Package Popularity Score: 99, Impact: 7.03, Likelihood: 3.19, Score Version: V5
Cross-site Request Forgery (CSRF)
SNYK-JS-AXIOS-6032459
Yes Proof of Concept

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

Release notes
Package name: axios
  • 1.6.0 - 2023-10-26

    Release notes:

    Bug Fixes

    PRs

    • CVE 2023 45857 ( #6028 )
    
    ⚠️ Critical vulnerability fix. See https://security.snyk.io/vuln/SNYK-JS-AXIOS-6032459
    

    Contributors to this release

  • 1.5.1 - 2023-09-26

    Release notes:

    Bug Fixes

    • adapters: improved adapters loading logic to have clear error messages; (#5919) (e410779)
    • formdata: fixed automatic addition of the Content-Type header for FormData in non-browser environments; (#5917) (bc9af51)
    • headers: allow content-encoding header to handle case-insensitive values (#5890) (#5892) (4c89f25)
    • types: removed duplicated code (9e62056)

    Contributors to this release

  • 1.5.0 - 2023-08-26

    Release notes:

    Bug Fixes

    • adapter: make adapter loading error more clear by using platform-specific adapters explicitly (#5837) (9a414bb)
    • dns: fixed cacheable-lookup integration; (#5836) (b3e327d)
    • headers: added support for setting header names that overlap with class methods; (#5831) (d8b4ca0)
    • headers: fixed common Content-Type header merging; (#5832) (8fda276)

    Features

    Contributors to this release

  • 1.4.0 - 2023-04-27

    Release notes:

    Bug Fixes

    • formdata: add multipart/form-data content type for FormData payload on custom client environments; (#5678) (bbb61e7)
    • package: export package internals with unsafe path prefix; (#5677) (df38c94)

    Features

    • dns: added support for a custom lookup function; (#5339) (2701911)
    • types: export AxiosHeaderValue type. (#5525) (726f1c8)

    Performance Improvements

    • merge-config: optimize mergeConfig performance by avoiding duplicate key visits; (#5679) (e6f7053)

    Contributors to this release

  • 1.3.6 - 2023-04-19

    Release notes:

    Bug Fixes

    • types: added transport to RawAxiosRequestConfig (#5445) (6f360a2)
    • utils: make isFormData detection logic stricter to avoid unnecessary calling of the toString method on the target; (#5661) (aa372f7)

    Contributors to this release

  • 1.3.5 - 2023-04-05

    Release notes:

    Bug Fixes

    • headers: fixed isValidHeaderName to support full list of allowed characters; (#5584) (e7decef)
    • params: re-added the ability to set the function as paramsSerializer config; (#5633) (a56c866)

    Contributors to this release

  • 1.3.4 - 2023-02-22

    Release notes:

    Bug Fixes

    • blob: added a check to make sure the Blob class is available in the browser's global scope; (#5548) (3772c8f)
    • http: fixed regression bug when handling synchronous errors inside the adapter; (#5564) (a3b246c)

    Contributors to this release

  • 1.3.3 - 2023-02-13

    Release notes:

    Bug Fixes

    • formdata: added a check to make sure the FormData class is available in the browser's global scope; (#5545) (a6dfa72)
    • formdata: fixed setting NaN as Content-Length for form payload in some cases; (#5535) (c19f7bf)
    • headers: fixed the filtering logic of the clear method; (#5542) (ea87ebf)

    Contributors to this release

  • 1.3.2 - 2023-02-03

    Release notes:

    Bug Fixes

    Contributors to this release

  • 1.3.1 - 2023-02-01

    Release notes:

    Bug Fixes

    • formdata: add hotfix to use the asynchronous API to compute the content-length header value; (#5521) (96d336f)
    • serializer: fixed serialization of array-like objects; (#5518) (08104c0)

    Contributors to this release

  • 1.3.0 - 2023-01-31
  • 1.2.6 - 2023-01-28
  • 1.2.5 - 2023-01-26
  • 1.2.4 - 2023-01-24
  • 1.2.3 - 2023-01-17
  • 1.2.2 - 2022-12-29
  • 1.2.1 - 2022-12-05
  • 1.2.0 - 2022-11-22
  • 1.2.0-alpha.1 - 2022-11-10
  • 1.1.3 - 2022-10-15
  • 1.1.2 - 2022-10-07
  • 1.1.1 - 2022-10-07
  • 1.1.0 - 2022-10-06
  • 1.0.0 - 2022-10-04
  • 1.0.0-alpha.1 - 2022-05-31
  • 0.27.2 - 2022-04-27
  • 0.27.1 - 2022-04-26
  • 0.27.0 - 2022-04-25
  • 0.26.1 - 2022-03-09
  • 0.26.0 - 2022-02-13
  • 0.25.0 - 2022-01-18
  • 0.24.0 - 2021-10-25
  • 0.23.0 - 2021-10-12
  • 0.22.0 - 2021-10-01
  • 0.21.4 - 2021-09-06
  • 0.21.3 - 2021-09-04
  • 0.21.2 - 2021-09-04
  • 0.21.1 - 2020-12-22
  • 0.21.0 - 2020-10-23
from axios GitHub release notes
Commit messages
Package name: axios The new version differs by 250 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)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants