Description
An exponential ReDoS (Regular Expression Denial of Service) can be triggered in the uri-template-lite npm package, when an attacker is able to supply arbitrary input to the “URI.expand” method.
Recommendation
Update the uri-template-lite package to the latest compatible version. Followings are version details:
- Affected version(s): < 22.9.0
- Patched version(s): 22.9.0
References
Could your website be exposed too?
SmartScanner can check your website for uri-template-lite Regular Expression Denial of Service and gives you actionable findings to investigate.
Start a free scanRelated Issues
- Regular Expression Denial of Service (ReDoS) in ua-parser-js - CVE-2021-27292
- Regular expression Denial of Service in multiple packages - @ckeditor/ckeditor5-list - CVE-2021-21391
- Regular expression Denial of Service in multiple packages - @ckeditor/ckeditor5-image - CVE-2021-21391
- html-parse-stringify and html-parse-stringify2 vulnerable to Regular expression denial of service (ReDoS) - html-parse-stringify - CVE-2021-23346


