First published: Sun Jul 25 2021(Updated: )
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.
Credit: report@snyk.io report@snyk.io
Affected Software | Affected Version | How to fix |
---|---|---|
npm/jszip | <2.7.0 | 2.7.0 |
npm/jszip | >=3.0.0<3.7.0 | 3.7.0 |
Jszip Project Jszip | <3.7.0 |
Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.
CVE-2021-23413 is a vulnerability that affects the package jszip before version 3.7.0.
CVE-2021-23413 allows an attacker to craft a new zip file with filenames set to Object prototype values, resulting in a returned object with a modified prototype instance.
CVE-2021-23413 has a severity rating of 5.3, which is classified as medium.
To fix CVE-2021-23413, upgrade to version 3.7.0 or later of jszip.
You can find more information about CVE-2021-23413 at the following references: - [NVD](https://nvd.nist.gov/vuln/detail/CVE-2021-23413) - [GitHub Pull Request](https://github.com/Stuk/jszip/pull/766) - [GitHub Commit](https://github.com/Stuk/jszip/commit/22357494f424178cb416cdb7d93b26dd4f824b36)