CVE-2021-27290
HIGH 7.5CVSS 3.1Regular Expression Denial of Service (ReDoS)
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.
- Published
- 12 Mar 2021
- Last modified
- 17 Jun 2026
- Assigned by
- cve@mitre.org
- NVD status
- Modified
- Weakness
- CWE-400
- Also known as
- GHSA-vx3p-948g-6vhq
- Sources
- NVDJSONOSV GHSA-vx3p-948g-6vhqJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| OSV | GitHub | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | MEDIUM 4.3 | AV:N/AC:M/Au:N/C:N/I:N/A:P |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | ssri_project | ssricpe:2.3:a:ssri_project:ssri:*:*:*:*:*:node.js:*:* |
>= 5.2.2, < 6.0.2 | 6.0.2 |
| NVD | ssri_project | ssricpe:2.3:a:ssri_project:ssri:*:*:*:*:*:node.js:*:* |
>= 7.0.0, < 8.0.1 | 8.0.1 |
| NVD | oracle | graalvmcpe:2.3:a:oracle:graalvm:20.3.3:*:*:*:enterprise:*:*:* |
= 20.3.3 | |
| NVD | oracle | graalvmcpe:2.3:a:oracle:graalvm:21.2.0:*:*:*:enterprise:*:*:* |
= 21.2.0 | |
| NVD | siemens | sinec_infrastructure_network_servicescpe:2.3:a:siemens:sinec_infrastructure_network_services:*:*:*:*:*:*:*:* |
< 1.0.1.1 | 1.0.1.1 |
| OSV | npm | ssri | >= 5.2.2, < 6.0.2 | 6.0.2 |
| OSV | npm | ssri | >= 7.0.0, < 7.1.1 | 7.1.1 |
| OSV | npm | ssri | >= 8.0.0, < 8.0.1 | 8.0.1 |
References
- https://cert-portal.siemens.com/productcert/pdf/ssa-389290.pdf · Patch, Third Party Advisory, WEB
- 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://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
History
- 25 Nov 2026 20:32 UTC · NVD: first stored (published 12 Mar 2021)
- 25 Nov 2026 20:11 UTC · OSV: first stored (published 19 Mar 2021)