GHSA-vqc4-v8hc-h2jgHighCVSS 7.5
Polynomial regular expression used on uncontrolled data in nitrado.js
🔗 CVE IDs covered (1)
📋 Description
Impact
Possible ReDoS with lib input of {{ and with many repetitions of {{|
Patches
Patched in all versions above 0.2.5
Workarounds
No known work arounds.
References
- OWASP: Regular expression Denial of Service - ReDoS
- Wikipedia: ReDoS.
- Wikipedia: Time complexity.
- James Kirrage, Asiri Rathnayake, Hayo Thielecke: Static Analysis for Regular Expression Denial-of-Service Attack.
- Common Weakness Enumeration: CWE-1333.
- Common Weakness Enumeration: CWE-400.
🎯 Affected products1
- npm/nitrado.js:< 0.2.5