En resumen
- CVE-2021-23354 es una vulnerabilidad ALTO (CVSS 7.5) que afecta a printf (adaltas), printf.
- Probabilidad de explotación en los próximos 30 días (EPSS): 2.2%, mayor que el 82.4% de las vulnerabilidades.
- Solución: actualizar a 0.6.1 o 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