Incorrect regular expression in papaparse - CVE-2020-36649

 

Incorrect regular expression in papaparse - CVE-2020-36649

Published: March 31, 2023


Vulnerability identifier: #VU74226
CSH Severity: Medium
CVSS v4.0: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N/E:U/U:Green
CVE-ID: CVE-2020-36649
CWE-ID: CWE-185
Exploitation vector: Remote access
Exploit availability: No public exploit available
Vendor: GabrielL
Affected software:
papaparse

Detailed vulnerability description

The vulnerability allows a remote attacker to perform regular expression denial of service (ReDoS) attack.

The vulnerability exists due to usage of a very complex regular expression in papaparse.js. A remote attacker can pass specially crafted input to the application and consume extensive system resources, resulting in a denial of service condition.


How to mitigate CVE-2020-36649

Install updates from vendor's website.

Sources