Em resumo
- CVE-2021-23354 é uma vulnerabilidade ALTO (CVSS 7.5) que afeta printf (adaltas), printf.
- Chance de exploração nos próximos 30 dias (EPSS): 2.2%, maior que 82.4% das vulnerabilidades.
- Correção: atualize para 0.6.1 ou posterior.
| 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