Withdrawn Advisory: sprintf-js vulnerable to denial of service through unbounded precision specifiers
En bref
- Source
- OSV
- Retiré
- Publiée
- Mise à jour
- CVE
- CVE-2026-97058
- CVSS_V3
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
- CVSS_V4
- CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N
Description
### Withdrawn Advisory This advisory has been withdrawn because it is the responsibility of an application to handle exceptions appropriately. This link is maintained to preserve external references. ### Original Description sprintf-js through 1.1.3 passes unbounded precision specifiers to toFixed, toExponential, and toPrecision methods without validation, causing uncaught RangeError exceptions. Attackers who control format strings can inject precision values exceeding ECMAScript limits to abort calling operations with minimal payload.
Références
- https://nvd.nist.gov/vuln/detail/CVE-2026-97058 ADVISORY
- https://github.com/alexei/sprintf.js/issues/237 WEB
- https://github.com/alexei/sprintf.js/issues/237#issuecomment-6159075240 WEB
- https://github.com/alexei/sprintf.js PACKAGE
- https://github.com/alexei/sprintf.js/blob/3a0d8c26d291b5bd9f1974877ecc50739921d6f5/src/sprintf.js#L17 WEB
- https://github.com/alexei/sprintf.js/blob/3a0d8c26d291b5bd9f1974877ecc50739921d6f5/src/sprintf.js#L84-L90 WEB
- https://www.vulncheck.com/advisories/sprintf-js-through-1.1.3-denial-of-service-via-unbounded-precision WEB
Paquets affectés
| Paquet | Versions |
|---|---|
| npm · sprintf-js | introduced 0, last affected 1.1.3 |
Sources
| Source | Licence |
|---|---|
| OSV.dev | CC-BY 4.0 — GitHub Advisory Database |