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

fix: update axios to 1.6.1 to fix CVE-2023-45857 #147

Merged
merged 2 commits into from Nov 14, 2023

Conversation

AndrewMax
Copy link

@AndrewMax AndrewMax commented Nov 7, 2023

Axios was recently updated to fix CVE-2023-45857. This PR is to update to axios 1.6.0.

@tahaiftekhar
Copy link

This should be merged sooner rather than later

@seanputera
Copy link

Thank you!

@AndrewMax
Copy link
Author

AndrewMax commented Nov 8, 2023

@jeffbski Can this get some attention please? Thanks a lot.

For more context: CVE-2023-45857 (CWE-359) XSRF-TOKEN value is disclosed to an unauthorised actor, fixed in axios 1.6.0.

@pat-s
Copy link

pat-s commented Nov 10, 2023

And update and a subsequent release would be great!

package.json Outdated
@@ -38,7 +38,7 @@
"temp": "^0.9.4"
},
"dependencies": {
"axios": "^0.27.2",
"axios": "^1.6.0",

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You can directly upgrade to 1.6.1.

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@porschesstein Thanks, updated. When I originally opened this PR, the latest version of Axios was still 1.6.0.

@AndrewMax AndrewMax changed the title fix: update axios to 1.6.0 to fix CVE-2023-45857 fix: update axios to 1.6.1 to fix CVE-2023-45857 Nov 13, 2023
@benasher44
Copy link

Guess we'll just have to wait-on this PR.

@wellwelwel
Copy link

Tested locally and worked perfectly 🚀

@littleamigo
Copy link

I hope this gets merged soon and then released! Looking forward...

@jeffbski jeffbski merged commit fc27d1b into jeffbski:master Nov 14, 2023
1 check passed
@jeffbski
Copy link
Owner

Thanks @AndrewMax for the PR and for those that confirmed it. It is published to wait-on@7.2.0

https://github.com/jeffbski/wait-on/releases/tag/v7.2.0

facebook-github-bot pushed a commit to WhatsApp/erlang-language-platform that referenced this pull request Nov 29, 2023
Summary: As per title. This avoids the axios vulnerability thanks to jeffbski/wait-on#147.

Reviewed By: alanz

Differential Revision: D51544987

fbshipit-source-id: f15a001aa1eaab14935cf521dd26dfa3938489e6
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.

None yet

10 participants