Vulnerability · Published Jul 25, 2021 · Assigned by snyk
CVE-2021-23413Denial of Service (DoS)
Medium 5.3
In plain English
A medium-severity security flaw in jszip. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 3.4% (higher than 89% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Severity (CVSS 3.1)5.3Medium
Exploit odds (30 days)3.4%top 11.0% of all CVEs
Exploited in the wildNo reportsnot in CISA KEV
Attack toolingNoneno public tooling known
Official description
This affects the package jszip before 3.7.0. Crafting a new zip file with filenames set to Object prototype values (e.g __proto__, toString, etc) results in a returned object with a modified prototype instance.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian:12 | node-jszip | 3.5.0+dfsg-2 | DEBIAN-CVE-2021-23413 |
| Debian:13 | node-jszip | 3.5.0+dfsg-2 | DEBIAN-CVE-2021-23413 |
| Debian:14 | node-jszip | 3.5.0+dfsg-2 | DEBIAN-CVE-2021-23413 |
| Ubuntu:22.04:LTS | node-jszip | no fix listed | UBUNTU-CVE-2021-23413 |
| Ubuntu:24.04:LTS | node-jszip | no fix listed | UBUNTU-CVE-2021-23413 |
| Ubuntu:25.10 | node-jszip | no fix listed | UBUNTU-CVE-2021-23413 |
| Ubuntu:26.04:LTS | node-jszip | no fix listed | UBUNTU-CVE-2021-23413 |
| Ubuntu:26.10 | node-jszip | no fix listed | UBUNTU-CVE-2021-23413 |
| npm | jszip | 2.7.0 | GHSA-jg8v-48h5-wgxg |
| npm | jszip | 3.7.0 | GHSA-jg8v-48h5-wgxg |
Affected products (as reported)
References
- https://snyk.io/vuln/SNYK-JS-JSZIP-1251497 x_refsource_MISC
- https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-1251498 x_refsource_MISC
- https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARS-1251499 x_refsource_MISC
- https://github.com/Stuk/jszip/blob/master/lib/object.js%23L88 x_refsource_MISC
- https://github.com/Stuk/jszip/commit/22357494f424178cb416cdb7d93b26dd4f824b36 x_refsource_MISC
- https://github.com/Stuk/jszip/pull/766 x_refsource_MISC