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

Upgrade axios to resolve CVE-2023-45857 #1985

Closed
helzahalim opened this issue Nov 6, 2023 · 2 comments
Closed

Upgrade axios to resolve CVE-2023-45857 #1985

helzahalim opened this issue Nov 6, 2023 · 2 comments

Comments

@helzahalim
Copy link

Current @slack/bolt@3.14.0 is using axios@0.27.2. There is Cross-site Request Forgery (CSRF) vulnerability on version 1.5 and lower.

Requirements

Axios version should be upgraded to 1.6.0 to address CVE-2023-45857

@wannfq wannfq mentioned this issue Nov 6, 2023
2 tasks
@filmaj
Copy link
Contributor

filmaj commented Nov 6, 2023

Note that the vulnerability is limited to CSRF only. The only instance we use axios in bolt is for creating a helper utility method to respond to events with a message from a Slack-server-pushed event. I do not believe CSRF is a viable vector of attack in this situation.

That said, makes sense to update the dependency. Will take a look at the relevant PR (#1986).

@filmaj
Copy link
Contributor

filmaj commented Nov 6, 2023

Resolved in #1986.

@filmaj filmaj closed this as completed Nov 6, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants