Vulnerability Details : CVE-2021-3801
Potential exploit
prism is vulnerable to Inefficient Regular Expression Complexity
Products affected by CVE-2021-3801
- cpe:2.3:a:prismjs:prism:*:*:*:*:*:node.js:*:*
Exploit prediction scoring system (EPSS) score for CVE-2021-3801
0.28%
Probability of exploitation activity in the next 30 days
EPSS Score History
~ 49 %
Percentile, the proportion of vulnerabilities that are scored at or less
CVSS scores for CVE-2021-3801
Base Score | Base Severity | CVSS Vector | Exploitability Score | Impact Score | Score Source | First Seen |
---|---|---|---|---|---|---|
4.3
|
MEDIUM | AV:N/AC:M/Au:N/C:N/I:N/A:P |
8.6
|
2.9
|
NIST | |
7.5
|
HIGH | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
3.9
|
3.6
|
huntr.dev | |
6.5
|
MEDIUM | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H |
2.8
|
3.6
|
NIST |
CWE ids for CVE-2021-3801
-
The product uses a regular expression with an inefficient, possibly exponential worst-case computational complexity that consumes excessive CPU cycles.Assigned by: security@huntr.dev (Secondary)
References for CVE-2021-3801
-
https://github.com/prismjs/prism/commit/0ff371bb4775a131634f47d0fe85794c547232f9
Markup: Fixed ReDoS (#3078) · PrismJS/prism@0ff371b · GitHubPatch;Third Party Advisory
-
https://huntr.dev/bounties/8c16ab31-6eb6-46d1-b9a4-387222fe1b8a
huntr: Inefficient Regular Expression Complexity JavaScript Vulnerability in prismExploit;Issue Tracking;Patch;Third Party Advisory
Jump to