Denial of service in jsPDF



Published: 2021-03-09 | Updated: 2022-01-31
Risk Medium
Patch available YES
Number of vulnerabilities 1
CVE-ID CVE-2021-23353
CWE-ID CWE-399
Exploitation vector Network
Public exploit N/A
Vulnerable software
Subscribe
jspdf
Web applications / Modules and components for CMS

Vendor Jelle_S

Security Bulletin

This security bulletin contains one medium risk vulnerability.

1) Resource management error

EUVDB-ID: #VU51274

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 - Resource Management Errors

Exploit availability: No

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.



###SIDEBAR###