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.
Remediation
References
https://github.com/Stuk/jszip/pull/766
https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-1251498
https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARS-1251499
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
Related Vulnerabilities
CVE-2015-8855 Vulnerability in maven package org.webjars.npm:semver
CVE-2017-5929 Vulnerability in maven package ch.qos.logback:logback-core
CVE-2019-19771 Vulnerability in npm package bconi
CVE-2022-0219 Vulnerability in maven package io.github.skylot:jadx-core
CVE-2020-7760 Vulnerability in maven package org.webjars.npm:codemirror