{"id":"CVE-2021-23413","published":"2021-07-25T13:10:12Z","modified":"2024-09-16T19:56:45Z","title":"Denial of Service (DoS)","vendor":null,"product":null,"tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":5.3,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.03441,"percentile":0.8927,"provenance":"source"},"cwes":[],"references":[{"url":"https://snyk.io/vuln/SNYK-JS-JSZIP-1251497","tags":["x_refsource_MISC"]},{"url":"https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-1251498","tags":["x_refsource_MISC"]},{"url":"https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARS-1251499","tags":["x_refsource_MISC"]},{"url":"https://github.com/Stuk/jszip/blob/master/lib/object.js%23L88","tags":["x_refsource_MISC"]},{"url":"https://github.com/Stuk/jszip/commit/22357494f424178cb416cdb7d93b26dd4f824b36","tags":["x_refsource_MISC"]},{"url":"https://github.com/Stuk/jszip/pull/766","tags":["x_refsource_MISC"]}],"priority":{"score":21.6,"factors":[{"name":"EPSS percentile","points":17.85},{"name":"CVSS severity","points":3.71}]},"affectedVersions":[{"vendor":"n/a","product":"jszip","versions":[">= unspecified, < 3.7.0"]}],"affected":[{"ecosystem":"npm","package":"jszip","vulnerableRanges":[">=3.0.0, <3.7.0","<2.7.0"],"patched":["3.7.0","2.7.0"],"from":["GHSA-jg8v-48h5-wgxg"],"provenance":"source"}],"summary":{"text":"The flaw lies in the jszip package (versions before 3.7.0), where processing zip files with filenames set to Object prototype values such as __proto__ or toString causes the returned object to have a modified prototype. An attacker can exploit this over the network by crafting a malicious zip file, with no authentication, privileges or user interaction required, to cause a denial of service.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T07:12:37Z"},"euvd":{"id":"EUVD-2021-1773","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-jszip-cve-2021-23413","children":[{"from":"CVE-2021-23413","to":"CVE-2022-48285","relation":"successor","confidence":"high","kind":"lineage","evidence":[{"kind":"version-step","provenance":"source","package":"npm:jszip","fromFixed":"3.7.0","toFixed":"3.8.0","daysApart":553},{"kind":"same-code","provenance":"machine","files":["lib/index.js"],"commits":["https://github.com/Stuk/jszip/commit/22357494f424178cb416cdb7d93b26dd4f824b36","https://github.com/Stuk/jszip/commit/2edab366119c9ee948357c02f1206c28566cdf15"],"basis":"rarely changed file"}]}],"packageHistory":[{"cve":"CVE-2021-23413","published":"2021-07-25","fixed":"3.7.0","kev":false},{"cve":"CVE-2022-48285","published":"2023-01-29","fixed":"3.8.0","kev":false}],"package":"npm:jszip"}}