#VU80337 Incorrect Regular Expression in prism - CVE-2021-3801
Published: September 4, 2023
Vulnerability identifier: #VU80337
Vulnerability risk: Medium
CVSSv4.0: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N/E:U/U:Green
CVE-ID: CVE-2021-3801
CWE-ID: CWE-185
Exploitation vector: Remote access
Exploit availability:
No public exploit available
Vulnerable software:
prism
prism
Software vendor:
PrismJS
PrismJS
Description
The vulnerability allows a remote attacker to perform a denial of service (DoS) attack.
The vulnerability exists due to insufficient input validation when processing regular expressions. A remote attacker can trick the victim into opening specially crafted data and perform regular expression denial of service (ReDos) attack.
Remediation
Install updates from vendor's website.