#VU51274 Resource management error in jspdf - CVE-2021-23353


| Updated: 2022-01-31

Vulnerability identifier: #VU51274

Vulnerability risk: Medium

CVSSv4.0: 2.7 [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:U/U:Green]

CVE-ID: CVE-2021-23353

CWE-ID: CWE-399

Exploitation vector: Network

Exploit availability: No

Vulnerable software:
jspdf
Web applications / Modules and components for CMS

Vendor: Jelle_S

Description

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

The vulnerability exists due to improper management of internal resources within the application when processing data with regular expressions within the addImage function. A remote attacker can send specially crafted HTTP requests to the application pass specially crafted data to the application and perform a denial of service via regular expression (ReDoS) attack.

Mitigation
Install updates from vendor's website.

Vulnerable software versions

jspdf: 2.0.0 - 2.3.0


External links
https://github.com/MrRio/jsPDF/releases/tag/v2.3.1


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.


Latest bulletins with this vulnerability