{"id":"UBUNTU-CVE-2021-23413","details":"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.","modified":"2026-05-20T16:06:26.482204123Z","published":"2021-07-25T13:15:00Z","upstream":["CVE-2021-23413"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2021-23413"},{"type":"REPORT","url":"https://github.com/Stuk/jszip/pull/766"},{"type":"REPORT","url":"https://github.com/Stuk/jszip/commit/22357494f424178cb416cdb7d93b26dd4f824b36"},{"type":"REPORT","url":"https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-1251498"},{"type":"REPORT","url":"https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARS-1251499"},{"type":"REPORT","url":"https://github.com/Stuk/jszip/blob/master/lib/object.js%23L88"},{"type":"REPORT","url":"https://snyk.io/vuln/SNYK-JS-JSZIP-1251497"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2021-23413"}],"affected":[{"package":{"name":"node-jszip","ecosystem":"Ubuntu:18.04:LTS","purl":"pkg:deb/ubuntu/node-jszip?arch=source&distro=bionic"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["3.1.4+dfsg-1"],"ecosystem_specific":{"binaries":[{"binary_name":"node-jszip","binary_version":"3.1.4+dfsg-1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2021/UBUNTU-CVE-2021-23413.json"}},{"package":{"name":"node-jszip","ecosystem":"Ubuntu:20.04:LTS","purl":"pkg:deb/ubuntu/node-jszip?arch=source&distro=focal"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["3.2.2+dfsg-1"],"ecosystem_specific":{"binaries":[{"binary_name":"node-jszip","binary_version":"3.2.2+dfsg-1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2021/UBUNTU-CVE-2021-23413.json"}},{"package":{"name":"node-jszip","ecosystem":"Ubuntu:22.04:LTS","purl":"pkg:deb/ubuntu/node-jszip?arch=source&distro=jammy"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["3.5.0+dfsg-2","3.7.1+dfsg-1"],"ecosystem_specific":{"binaries":[{"binary_version":"3.7.1+dfsg-1","binary_name":"node-jszip"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2021/UBUNTU-CVE-2021-23413.json"}},{"package":{"name":"node-jszip","ecosystem":"Ubuntu:24.04:LTS","purl":"pkg:deb/ubuntu/node-jszip?arch=source&distro=noble"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["3.10.1+dfsg-2"],"ecosystem_specific":{"binaries":[{"binary_name":"node-jszip","binary_version":"3.10.1+dfsg-2"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2021/UBUNTU-CVE-2021-23413.json"}},{"package":{"name":"node-jszip","ecosystem":"Ubuntu:25.10","purl":"pkg:deb/ubuntu/node-jszip?arch=source&distro=questing"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["3.10.1+dfsg-2"],"ecosystem_specific":{"binaries":[{"binary_name":"node-jszip","binary_version":"3.10.1+dfsg-2"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2021/UBUNTU-CVE-2021-23413.json"}},{"package":{"name":"node-jszip","ecosystem":"Ubuntu:26.04:LTS","purl":"pkg:deb/ubuntu/node-jszip?arch=source&distro=resolute"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["3.10.1+dfsg-2"],"ecosystem_specific":{"binaries":[{"binary_version":"3.10.1+dfsg-2","binary_name":"node-jszip"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2021/UBUNTU-CVE-2021-23413.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L"},{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L"},{"type":"Ubuntu","score":"low"}]}