CVE-2021-23413
MEDIUM5.3EPSS 1.2%jszip Vulnerable to Prototype Pollution
Published: 8/10/2021Modified: 1/14/2025
Also known as:GHSA-jg8v-48h5-wgxg
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 (2)
- Debian/node-jszipfrom 0, < 3.5.0+dfsg-2
- npm/jszip>= 3.0.0, < 3.7.0
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | CVSS 3.1 | MEDIUM5.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L |
References (9)
- ADVISORYhttps://nvd.nist.gov/vuln/detail/CVE-2021-23413
- ADVISORYhttps://security-tracker.debian.org/tracker/CVE-2021-23413
- PATCHhttps://github.com/Stuk/jszip
- WEBhttps://github.com/Stuk/jszip/blob/master/lib/object.js%23L88
- WEBhttps://github.com/Stuk/jszip/commit/22357494f424178cb416cdb7d93b26dd4f824b36
- WEBhttps://github.com/Stuk/jszip/pull/766
- WEBhttps://snyk.io/vuln/SNYK-JAVA-ORGWEBJARS-1251499
- WEBhttps://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-1251498
- WEBhttps://snyk.io/vuln/SNYK-JS-JSZIP-1251497