#VU51274 Resource management error in jspdf


Published: 2021-03-09 | Updated: 2022-01-31

Vulnerability identifier: #VU51274

Vulnerability risk: Medium

CVSSv3.1: 4.6 [CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L/E:U/RL:O/RC:C]

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
http://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