CVE-2018-7651
MEDIUM 5.9CVSS 3.0Regular Expression Denial of Service in ssri
index.js in the ssri module before 5.2.2 for Node.js is prone to a regular expression denial of service vulnerability in strict mode functionality via a long base64 hash string.
- Published
- 4 Mar 2018
- Last modified
- 17 Jun 2026
- Assigned by
- cve@mitre.org
- NVD status
- Modified
- Weakness
- CWE-400
- Also known as
- GHSA-325j-24f4-qv5x
- Sources
- NVDJSONOSV GHSA-325j-24f4-qv5xJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.0 | MEDIUM 5.9 | CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H |
| OSV | GitHub | CVSS 3.0 | MEDIUM 5.9 | CVSS:3.0/AV:N/AC:H/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 | 5.2.2 |
| OSV | npm | ssri | < 5.2.2 | 5.2.2 |
References
- https://github.com/zkat/ssri/commit/d0ebcdc22cb5c8f47f89716d08b3518b2485d65d · Patch, Third Party Advisory, WEB
- https://github.com/zkat/ssri/issues/10 · Third Party Advisory, WEB
- https://nodesecurity.io/advisories/565 · Third Party Advisory
- https://nvd.nist.gov/vuln/detail/CVE-2018-7651 · ADVISORY
- https://github.com/advisories/GHSA-325j-24f4-qv5x · ADVISORY
- https://github.com/zkat/ssri · PACKAGE
- https://www.npmjs.com/advisories/565 · WEB
History
- 25 Nov 2026 20:20 UTC · NVD: first stored (published 4 Mar 2018)
- 25 Nov 2026 20:10 UTC · OSV: first stored (published 7 Mar 2018)