The package printf before 0.6.1 are vulnerable to Regular Expression Denial of Service (ReDoS) via the regex string /\%(?:\(([\w_.]+)\)|([1-9]\d*)\$)?([0 +\-\]*)(\*|\d+)?(\.)?(\*|\d+)?[hlL]?([\%bscdeEfFgGioOuxX])/g in lib/printf.js. The vulnerable regular expression has cubic worst-case time complexity.
Metrics
Affected Vendors & Products
References
History
No history.
MITRE
Status: PUBLISHED
Assigner: snyk
Published: 2021-03-12T15:10:16.014140Z
Updated: 2024-09-17T03:32:43.212Z
Reserved: 2021-01-08T00:00:00
Link: CVE-2021-23354
Vulnrichment
No data.
NVD
Status : Modified
Published: 2021-03-12T15:15:14.207
Modified: 2024-11-21T05:51:33.733
Link: CVE-2021-23354
Redhat
No data.