GitHub Advisoryadvisory · npm
GHSA-325j-24f4-qv5x Regular Expression Denial of Service in ssri
MEDIUM
Official page ↗
- Aliases
- CVE-2018-7651
- Ecosystem
- npm
- Packages
- ssri
- Severity
- Moderate
- CVSS vector
- CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H
- Weaknesses
- CWE-400
- Reviewed
- 2020-06-16
Affected packages
• npm ssri: < 5.2.2 → fixed in 5.2.2
Description
Version of `ssri` prior to 5.2.2 are vulnerable to regular expression denial of service (ReDoS) when using strict mode.
Recommendation
Update to version 5.2.2 or later.
Related
Alias · CVE (1)
- CVE-2018-7651 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… vulnerability
Weakness · CWE (1)
- CWE-400 Uncontrolled Resource Consumption weakness
References
- https://nvd.nist.gov/vuln/detail/CVE-2018-7651 advisory
- https://github.com/zkat/ssri/issues/10 web
- https://github.com/zkat/ssri/commit/d0ebcdc22cb5c8f47f89716d08b3518b2485d65d web
- https://github.com/advisories/GHSA-325j-24f4-qv5x advisory
- https://github.com/zkat/ssri package
- https://www.npmjs.com/advisories/565 web