Kurz gesagt
- CVE-2021-23354 ist eine Schwachstelle (HOCH (CVSS 7.5)) in printf (adaltas), printf.
- Wahrscheinlichkeit einer Ausnutzung in den nächsten 30 Tagen (EPSS): 2.2%, höher als bei 82.4% aller Schwachstellen.
- Abhilfe: auf 0.6.1 oder neuer aktualisieren.
| Package | Affected versions | Patched versions |
|---|
| printf | < 0.6.1
| 0.6.1
|
| printf npm | < 0.6.1
| 0.6.1
|
Description
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.
NVD description
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.
Running one of these products? Scan your site to see whether it exposes a vulnerable version.
Scan my site free