Denial of service in JSZip package for npm



| Updated: 2021-08-10
Risk Medium
Patch available YES
Number of vulnerabilities 1
CVE-ID CVE-2021-23413
CWE-ID CWE-400
Exploitation vector Network
Public exploit Public exploit code for vulnerability #1 is available.
Vulnerable software
JSZip
Web applications / JS libraries

Vendor Stuart Knightley

Security Bulletin

This security bulletin contains one medium risk vulnerability.

1) Resource exhaustion

EUVDB-ID: #VU55579

Risk: Medium

CVSSv4.0: 5.5 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N/E:P/U:Green]

CVE-ID: CVE-2021-23413

CWE-ID: CWE-400 - Resource exhaustion

Exploit availability: No

Description

The vulnerability allows a remote attacker to perform a denial of service (DoS) attack.

The vulnerability exists due to application does not properly control consumption of internal resources. A remote attacker can trigger resource exhaustion and perform a denial of service (DoS) attack.

Mitigation

Install updates from vendor's website.

Vulnerable software versions

JSZip: 1.0.0 - 3.6.0

CPE2.3 External links

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
https://github.com/advisories/GHSA-jg8v-48h5-wgxg
https://www.npmjs.com/advisories/1774


Q & A

Can this vulnerability be exploited remotely?

Yes. This vulnerability can be exploited by a remote non-authenticated attacker via the Internet.

Is there known malware, which exploits this vulnerability?

No. We are not aware of malware exploiting this vulnerability. However, proof of concept for this vulnerability is available.



###SIDEBAR###