Medium severity · published Jul 25, 2021
CVE-2021-23413
This affects the package jszip before 3.7.0
5.3
CVSS
3.4%
EPSS
No
On KEV
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.
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
Attack vector
Network
Complexity
Low
Privileges
None
User interaction
None
Confidentiality
None
Integrity
None
Availability
Low
Scope
Unchanged
Exploitation
Is it being used?
Exploit prediction (EPSS)3.4% · higher than 89% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
JS
Jszip · Jszip Project
before 3.7.0 · source: NVD
References
NVD
https://nvd.nist.gov/vuln/detail/CVE-2021-23413
CVE.org
https://www.cve.org/CVERecord?id=CVE-2021-23413
Broken Link
https://github.com/Stuk/jszip/blob/master/lib/object.js%23L88
Patch
https://github.com/Stuk/jszip/commit/22357494f424178cb416cdb7d93b26dd4f824b36
Third Party Advisory
https://github.com/Stuk/jszip/pull/766
Exploit
https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARS-1251499
Exploit
https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-1251498
Exploit
https://snyk.io/vuln/SNYK-JS-JSZIP-1251497
More from Jszip
7.3
CVE-2022-48285
loadAsync in JSZip before 3.8.0 allows Directory Traversal via a crafted ZIP archive
