En bref
- CVE-2021-23354 est une vulnérabilité ÉLEVÉE (CVSS 7.5) touchant printf (adaltas), printf.
- Probabilité d'exploitation dans les 30 prochains jours (EPSS) : 2.2%, plus élevée que 82.4% des vulnérabilités.
- Correctif : mettre à jour vers 0.6.1 ou plus récent.
| 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