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 products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| — | jszip | unspecified – < 3.7.0 | 3.7.0 |
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | node-jszip | 3.5.0+dfsg-2 | — |
| Debian 13 | node-jszip | 3.5.0+dfsg-2 | — |
| Debian 12 | node-jszip | 3.5.0+dfsg-2 | — |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 26.10 | node-jszip | No fix yet | — |
| Ubuntu 26.04 LTS | node-jszip | No fix yet | — |
| Ubuntu 25.10 | node-jszip | No fix yet | — |
| Ubuntu 24.04 LTS | node-jszip | No fix yet | — |
| Ubuntu 22.04 LTS | node-jszip | No fix yet | — |
Show 2 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 20.04 LTS | node-jszip | No fix yet | — |
| Ubuntu 18.04 LTS | node-jszip | No fix yet | — |
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| npm | jszip | >= 3.0.0, < 3.7.0 | 3.7.0 | GHSA-jg8v-48h5-wgxg |
| npm | jszip | < 2.7.0 | 2.7.0 | GHSA-jg8v-48h5-wgxg |
Advisories 2
- WID-SEC-2023-3103 SAP Software: Mehrere Schwachstellen BSI CERT-Bund (WID) · Dec 11, 2023
- WID-SEC-2023-1020 Oracle Construction and Engineering: Mehrere Schwachstellen BSI CERT-Bund (WID) · Apr 18, 2023
References
- https://snyk.io/vuln/SNYK-JS-JSZIP-1251497
- https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-1251498
- https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARS-1251499
- https://github.com/Stuk/jszip/blob/master/lib/object.js%23L88
- https://github.com/Stuk/jszip/commit/22357494f424178cb416cdb7d93b26dd4f824b36
- https://github.com/Stuk/jszip/pull/766