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

JS: track flow through string replace calls that just replace single chars for js/polynomial-redos #6736

Merged
merged 1 commit into from May 4, 2022

Conversation

Copy link
Contributor

@erik-krogh erik-krogh commented Sep 22, 2021

CVE-2021-3777: TP/TN

Evaluation looks OK.
One of the new results is from tracking through a path-separator-normalizer: next = prev.replace(/\\/g, '/');.
And the other is from escaping dots: next = prev.replace(/\./g, `\\.`)
So both TPs.

@github-actions github-actions bot added the JS label Sep 22, 2021
@erik-krogh erik-krogh added Awaiting evaluation and removed Awaiting evaluation labels Sep 22, 2021
@erik-krogh erik-krogh marked this pull request as ready for review Sep 23, 2021
@erik-krogh erik-krogh requested a review from as a code owner Sep 23, 2021
Copy link
Contributor

@asgerf asgerf left a comment

Sorry for leaving this PR hanging so long. The evaluation is no longer available, but I trust it went fine.

@erik-krogh erik-krogh merged commit 0d8bef7 into github:main May 4, 2022
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants