#VU60183 Incorrect Regular Expression in jspdf


Published: 2022-01-31

Vulnerability identifier: #VU60183

Vulnerability risk: Low

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

CVE-ID: N/A

CWE-ID: CWE-185

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 inefficient regular expression in setDisplayMode. A remote attacker can pass specially crafted data to the application and cause high CPU load, resulting in regular expression denial of service (ReDoS) attack.

Mitigation
Install updates from vendor's website.

Vulnerable software versions

jspdf: 2.0.0 - 2.5.0


External links
http://github.com/MrRio/jsPDF/releases/tag/v2.5.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