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

Security fix for ReDoS #3980

Merged
merged 1 commit into from Aug 30, 2021
Merged

Security fix for ReDoS #3980

merged 1 commit into from Aug 30, 2021

Conversation

ready-research
Copy link
Contributor

Fixes #3979

Security fix for ReDoS vulnerability.

https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String/Trim

Reported in https://www.huntr.dev/bounties/1e8f07fc-c384-4ff9-8498-0690de2e8c31/

Before fix: Result
time_cost: 2968
After fix: Result
time_cost: 6

@jasonsaayman
Copy link
Member

@ready-research thanks for the fix :)

@jasonsaayman jasonsaayman merged commit 5b45711 into axios:master Aug 30, 2021
@ready-research
Copy link
Contributor Author

ready-research commented Aug 30, 2021

@jasonsaayman Thank you for the quick response. Can you please confirm the same in https://www.huntr.dev/bounties/1e8f07fc-c384-4ff9-8498-0690de2e8c31/
By validating and confirming the fix.

@ready-research
Copy link
Contributor Author

@zidingz Can you please provide access to @jasonsaayman and guide him to validate and confirm the fix.
Thank you

@ImRodry
Copy link
Contributor

ImRodry commented Sep 1, 2021

Could a release be published with this fix now that it has been merged?

@hreiner
Copy link

hreiner commented Sep 2, 2021

Same as ImRodry coud a release be published ?

@jasonsaayman
Copy link
Member

Hi, I cannot release the project, I have asked everyone with access the moment that I released this. If there was a way for me to release it I would do so. I have also asked for access to be allowed to process releases.

@ImRodry
Copy link
Contributor

ImRodry commented Sep 2, 2021

Alright thank you! Hope that gets sorted quickly since I believe this is quite an important one

@chiefkana
Copy link

chiefkana commented Sep 2, 2021

I've got a question. Is it a normal way of dealing with security issue, when person opens up 10 discussions on several websites and shares it publicly? by the way, potential problem was addressed a year ago in earlier pull request. See My mention, or by clicking this #3446

@jasonsaayman
Copy link
Member

Normally it is handled privately but in this case it seems to have not been. As for the earlier pull request, I have pretty much been trying to get through stuff on the repo but have also had some other stuff on my plate so was gone for a couple months. I will continue merging stuff and looking into issues more frequently now that I have more time.

@chiefkana
Copy link

Thanks for the answer! Wish you the best

abhinavkgrd added a commit to ente-io/photos-web that referenced this pull request Sep 5, 2021
mbargiel pushed a commit to mbargiel/axios that referenced this pull request Jan 27, 2022
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.

[Security] Regular expression Denial of Service (ReDoS)
5 participants