Vulnerability Details : CVE-2021-23341
Potential exploit
The package prismjs before 1.23.0 are vulnerable to Regular Expression Denial of Service (ReDoS) via the prism-asciidoc, prism-rest, prism-tap and prism-eiffel components.
Vulnerability category: Denial of service
Products affected by CVE-2021-23341
- cpe:2.3:a:prismjs:prism:*:*:*:*:*:node.js:*:*
Exploit prediction scoring system (EPSS) score for CVE-2021-23341
1.76%
Probability of exploitation activity in the next 30 days
EPSS Score History
~ 81 %
Percentile, the proportion of vulnerabilities that are scored at or less
CVSS scores for CVE-2021-23341
Base Score | Base Severity | CVSS Vector | Exploitability Score | Impact Score | Score Source | First Seen |
---|---|---|---|---|---|---|
5.0
|
MEDIUM | AV:N/AC:L/Au:N/C:N/I:N/A:P |
10.0
|
2.9
|
NIST | |
7.5
|
HIGH | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
3.9
|
3.6
|
NIST | |
7.5
|
HIGH | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
3.9
|
3.6
|
Snyk |
References for CVE-2021-23341
-
https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARS-1076583
Regular Expression Denial of Service (ReDoS) in org.webjars:prismjs | SnykExploit;Third Party Advisory
-
https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-1076582
Regular Expression Denial of Service (ReDoS) in org.webjars.npm:prismjs | SnykExploit;Third Party Advisory
-
https://github.com/PrismJS/prism/commit/c2f6a64426f44497a675cb32dccb079b3eff1609
Fixed multiple cases of vulnerable regexes (#2584) · PrismJS/prism@c2f6a64 · GitHubPatch;Third Party Advisory
-
https://github.com/PrismJS/prism/issues/2583
ReDos in prism · Issue #2583 · PrismJS/prism · GitHubExploit;Patch;Third Party Advisory
-
https://github.com/PrismJS/prism/pull/2584
Fixed multiple cases of vulnerable REs by RunDevelopment · Pull Request #2584 · PrismJS/prism · GitHubPatch;Third Party Advisory
-
https://snyk.io/vuln/SNYK-JS-PRISMJS-1076581
Regular Expression Denial of Service (ReDoS) in prismjs | SnykExploit;Third Party Advisory
Jump to