Ecosyste.ms: Advisories
An open API service providing security vulnerability metadata for many open source software ecosystems.
Security Advisories: MDE2OlNlY3VyaXR5QWR2aXNvcnlHSFNBLWpnOHYtNDhoNS13Z3hn
jszip Vulnerable to Prototype Pollution
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.
JSON: https://advisories.ecosyste.ms/api/v1/advisories/MDE2OlNlY3VyaXR5QWR2aXNvcnlHSFNBLWpnOHYtNDhoNS13Z3hn
Source: GitHub Advisory Database
Origin: Unspecified
Severity: Moderate
Classification: General
Published: over 2 years ago
Updated: 7 months ago
CVSS Score: 5.3
CVSS vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
Identifiers: GHSA-jg8v-48h5-wgxg, CVE-2021-23413
References:
- https://nvd.nist.gov/vuln/detail/CVE-2021-23413
- https://github.com/Stuk/jszip/pull/766
- https://github.com/Stuk/jszip/commit/22357494f424178cb416cdb7d93b26dd4f824b36
- https://github.com/Stuk/jszip/blob/master/lib/object.js%23L88
- https://snyk.io/vuln/SNYK-JS-JSZIP-1251497
- https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARS-1251499
- https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-1251498
- https://github.com/advisories/GHSA-jg8v-48h5-wgxg
Blast Radius: 30.8
Affected Packages
npm:jszip
Dependent packages: 4,459Dependent repositories: 656,894
Downloads: 29,806,251 last month
Affected Version Ranges: < 2.7.0, >= 3.0.0, < 3.7.0
Fixed in: 2.7.0, 3.7.0
All affected versions: 0.1.0, 0.1.1, 0.2.0, 0.2.1, 2.0.0, 2.1.0, 2.1.1, 2.2.0, 2.2.1, 2.2.2, 2.3.0, 2.4.0, 2.5.0, 2.6.0, 2.6.1, 3.0.0, 3.1.0, 3.1.1, 3.1.2, 3.1.3, 3.1.4, 3.1.5, 3.2.0, 3.2.1, 3.2.2, 3.3.0, 3.4.0, 3.5.0, 3.6.0
All unaffected versions: 2.7.0, 3.7.0, 3.7.1, 3.8.0, 3.9.0, 3.9.1, 3.10.0, 3.10.1