CVE-2021-3801
Inefficient Regular Expression Complexity in prismjs/prism
Severity Score
6.5
*CVSS v3.1
Exploit Likelihood
*EPSS
Affected Versions
*CPE
Public Exploits
1
*Multiple Sources
Exploited in Wild
-
*KEV
Decision
-
*SSVC
Descriptions
prism is vulnerable to Inefficient Regular Expression Complexity
prism es vulnerable a una Complejidad de Expresión Regular Ineficiente
Insufficient Regular Expression Complexity in prismjs leads to a Regular Expression Denial of Service (ReDoS) attack. An unauthenticated attacker can exploit this flaw to cause an application to consume an excess amount of CPU by providing a crafted HTML comment as input. This can result in a denial of service attack.
*Credits:
N/A
CVSS Scores
Attack Vector
Attack Complexity
Privileges Required
User Interaction
Scope
Confidentiality
Integrity
Availability
Attack Vector
Attack Complexity
Privileges Required
User Interaction
Scope
Confidentiality
Integrity
Availability
Attack Vector
Attack Complexity
Authentication
Confidentiality
Integrity
Availability
* Common Vulnerability Scoring System
SSVC
- Decision:-
Exploitation
Automatable
Tech. Impact
* Organization's Worst-case Scenario
Timeline
- 2021-09-14 CVE Reserved
- 2021-09-15 CVE Published
- 2024-05-31 EPSS Updated
- 2024-08-03 CVE Updated
- 2024-08-03 First Exploit
- ---------- Exploited in Wild
- ---------- KEV Due Date
CWE
- CWE-400: Uncontrolled Resource Consumption
- CWE-1333: Inefficient Regular Expression Complexity
CAPEC
References (4)
URL | Tag | Source |
---|
URL | Date | SRC |
---|---|---|
https://huntr.dev/bounties/8c16ab31-6eb6-46d1-b9a4-387222fe1b8a | 2024-08-03 |
URL | Date | SRC |
---|---|---|
https://github.com/prismjs/prism/commit/0ff371bb4775a131634f47d0fe85794c547232f9 | 2022-07-29 |
URL | Date | SRC |
---|---|---|
https://access.redhat.com/security/cve/CVE-2021-3801 | 2021-12-01 | |
https://bugzilla.redhat.com/show_bug.cgi?id=2005445 | 2021-12-01 |