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: 8.7 [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]
CVE-ID: CVE-2020-36649
CWE-ID: CWE-185
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

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.


Affected software

papaparse
MediaWiki

How to mitigate CVE-2020-36649

Install updates from vendor's website.

papaparse - update to 5.2.0
MediaWiki - addressed in versions 1.35.10, 1.38.6, 1.39.3

External References

Related Security Bulletins