CVE-2021-23413 json
Denial of Service (DoS)
published 5y ago modified 4mo ago also GHSA-jg8v-48h5-wgxg , EUVD-2021-1773
- cvss
- 5.3
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 3.4%
- EPSS 3.4% chance of exploitation in 30 days, percentile 89%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- npm jszip 2.7.0, 3.7.0
- n/a jszip 3.7.0
- node-jszip Debian 14, Debian 13, Debian 12 3.5.0+dfsg-2
debian advisories DEBIAN-CVE-2021-23413
- github.com/Stuk/jszip@2235749 commit
- github.com/Stuk/jszip#766 pull request
- snyk.io/vuln/SNYK-JS-JSZIP-1251497 advisory
- snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-1251498 advisory
- snyk.io/vuln/SNYK-JAVA-ORGWEBJARS-1251499 advisory
Is CVE-2021-23413 in your dependencies? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.
Check with FencerVendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2021-23413 updated cvss 5.3
jszip: crafting a new zip file with filenames set to object prototype values results in a returned object with a modified prototype instance
-
Red Hat Migration Toolkit for Containers rhmtc/openshift-migration-ui-rhel8 Red Hat Quay 3 quay/quay-rhel8affected: no fix planned “Will not fix”
-
Red Hat Fuse 7 io.apicurio-apicurito io.apicurio-apicuritonot affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
Exploit prediction
3.44% chance of exploitation in the next 30 days, higher than 89% of all scored CVEs (FIRST EPSS, 2026-11-09).
Exploits and checks
- snyk.io https://snyk.io/vuln/SNYK-JS-JSZIP-1251497 referenced PoC, tagged "exploit" by a source, unverified
- snyk.io https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-1251498 referenced PoC, tagged "exploit" by a source, unverified
- snyk.io https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARS-1251499 referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 5.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L |
| NVD | 3.1 | 5.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L |
| NVD | 2.0 | 5.0 | AV:N/AC:L/Au:N/C:N/I:N/A:P |
| GitHub | 3.1 | 5.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| npm | jszip | >=3.0.0, <3.7.0 <2.7.0 |
3.7.0 2.7.0 |
Affected products
- n/a jszip
Classification
- Weakness
-
- CWE-1321 Improperly Controlled Modification of Object Prototype Attributes
References
-
github.com
/Stuk/jszip/commit/22357494f424178cb416cdb7d93b26dd4f824b36
web, patch, third-party-advisory
-
github.com
/Stuk/jszip/pull/766
web, third-party-advisory
-
snyk.io
/vuln/SNYK-JS-JSZIP-1251497
web, exploit, patch, third-party-advisory
-
snyk.io
/vuln/SNYK-JAVA-ORGWEBJARSNPM-1251498
web, exploit, patch, third-party-advisory
-
snyk.io
/vuln/SNYK-JAVA-ORGWEBJARS-1251499
web, exploit, patch, third-party-advisory
-
github.com
/Stuk/jszip/blob/master/lib/object.js%23L88
web, broken-link
-
nvd.nist.gov
/vuln/detail/CVE-2021-23413
advisory
-
github.com
/Stuk/jszip
package
Sources
- CVE List CVE-2021-23413
- GitHub Advisory GHSA-jg8v-48h5-wgxg
- NVD CVE-2021-23413
Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.