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.
History

No history.

cve-icon 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

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Analyzed

Published: 2021-03-12T15:15:14.207

Modified: 2023-08-08T14:22:24.967

Link: CVE-2021-23354

cve-icon Redhat

No data.