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(security): tweak strict SRI regex #10

Merged
merged 1 commit into from
Feb 14, 2018
Merged

Conversation

zkat
Copy link
Owner

@zkat zkat commented Feb 14, 2018

The previous form was vulnerable to ReDoS attacks, by
crafting exceptionally long base64 hash strings.

This issue only affected consumers using the opts.strict option.

The previous form was vulnerable to ReDoS attacks, by
crafting exceptionally long base64 hash strings.

This issue only affected consumers using the opts.strict option.
@zkat zkat merged commit d0ebcdc into latest Feb 14, 2018
@zkat zkat deleted the zkat/strict-mode-regex branch February 14, 2018 20:35
@ThisIsMissEm
Copy link

huh, cool, Github just alerted me to this issue in one of my projects, turns out there's even a CVE for it: https://nvd.nist.gov/vuln/detail/CVE-2018-7651

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