High, CVSS 7.5npmAmendedPublished
Polynomial regular expression used on uncontrolled data in nitrado.js
CVE-2022-36034 · GHSA-vqc4-v8hc-h2jg
- Affected
- npm nitrado.js < 0.2.5
- Fixed in
- 0.2.5· Vendor fix available
- Issue
- 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.
Recommended action: Upgrade to 0.2.5 or later, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.