# CVE-2021-27290: Regular Expression Denial of Service (ReDoS)

- Severity: High 7.5 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 4.72%, higher than 92% of CVEs (2026-12-01)
- Public exploit code or proof of concept: 2 links below, marked "exploit"
- Published: 2021-03-12T21:47:41.000Z
- Modified: 2026-06-17T03:44:37.160Z
- Also known as: GHSA-vx3p-948g-6vhq
- Weaknesses: CWE-400
- Assigned by: mitre

## Description

ssri 5.2.2-8.0.0, fixed in 8.0.1, processes SRIs using a regular expression which is vulnerable to a denial of service. Malicious SRIs could take an extremely long time to process, leading to denial of service. This issue only affects consumers using the strict option.

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- ssri (npm): from 5.2.2 before 6.0.2; from 7.0.0 before 7.1.1; from 8.0.0 before 8.0.1
- ssri_project ssri: from 5.2.2 before 6.0.2; from 7.0.0 before 8.0.1
- oracle graalvm: 20.3.3; 21.2.0
- siemens sinec_infrastructure_network_services: before 1.0.1.1

## Every score

- GitHub: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- NVD: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- NVD: CVSS:2.0 4.3 Medium `AV:N/AC:M/Au:N/C:N/I:N/A:P`

## References

- <https://doyensec.com/resources/Doyensec_Advisory_ssri_redos.pdf> (exploit, patch, third-party-advisory, web)
- <https://github.com/yetingli/SaveResults/blob/main/pdf/ssri-redos.pdf> (exploit, third-party-advisory, web)
- <https://npmjs.com> (product, web)
- <https://www.oracle.com/security-alerts/cpuoct2021.html> (patch, third-party-advisory, web)
- <https://cert-portal.siemens.com/productcert/pdf/ssa-389290.pdf> (patch, third-party-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2021-27290> (advisory)
- <https://github.com/npm/ssri/pull/20#issuecomment-842677644> (web)
- <https://github.com/npm/ssri/commit/76e223317d971f19e4db8191865bdad5edee40d2> (web)
- <https://github.com/npm/ssri/commit/809c84d09ea87c3857fa171d42914586899d4538> (web)
- <https://github.com/npm/ssri/commit/b30dfdb00bb94ddc49a25a85a18fb27afafdfbb1> (web)
- <https://github.com/npm/ssri> (package)
- <https://www.npmjs.com/package/ssri> (web)

## Sources

- CVE List: [CVE-2021-27290](https://www.cve.org/CVERecord?id=CVE-2021-27290), CVE Terms of Use, modified 2024-08-03
- GitHub Advisory Database: [GHSA-vx3p-948g-6vhq](https://github.com/advisories/GHSA-vx3p-948g-6vhq), CC-BY-4.0, modified 2023-11-08
- NVD: [CVE-2021-27290](https://nvd.nist.gov/vuln/detail/CVE-2021-27290), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2021-27290 · Whole record: https://cve.day/CVE-2021-27290.json · Rebuilt by cve.day 2026-11-25T22:58:00.285Z
