Skip to main content
Mallory
MediumVulnerability

CVE-2018-7651: ReDoS in ssri strict mode (Node.js)

Published Mar 4, 2018 · Updated 1 month ago
Trending this weekNot trendingOutside this week’s top 100
Mention activity · 30 daysNo mention activity in the last 30 days.
CVSS5.9Medium · v3
EPSS1.7%78th percentile
CISA KEVNoNot listed
In the wildNoneNo exploitation reported
Vendor
Ssri Project
IdentifiersCVE-2018-7651CWE-400 · Uncontrolled Resource Consumption

A regular expression denial of service (ReDoS) vulnerability exists in the ssri module for Node.js prior to version 5.2.2. The vulnerability is present in index.js, specifically in the strict mode functionality, where a crafted long base64 hash string can trigger excessive backtracking in a regular expression, leading to resource exhaustion.

Do you run this?See affected versions in your environment and whether adversaries are exploiting this vulnerability against assets like yours.
Check your exposure
Analyst brief

Impact, mitigation & remediation

What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.

Impact

What an attacker gets, and what they’ve been doing with it.

An attacker can cause a denial of service by supplying a specially crafted long base64 hash string, resulting in excessive CPU usage and degraded service availability for applications using the vulnerable ssri module in strict mode.

Mitigation

If you can’t patch tonight, do this now.

If immediate upgrade is not possible, avoid processing untrusted or excessively long base64 hash strings in strict mode, or implement request rate limiting and input validation to reduce exposure to this attack vector.

Remediation

Patch, then assume compromise.

Upgrade the ssri module to version 5.2.2 or later, where the vulnerable regular expression has been fixed to prevent excessive backtracking.

Public exploits

Exploits

No validated public exploits yet. Hidden: 2 rejected by Mallory's analysis as not a working exploit.

View more in app →
Every candidate exploit was rejected by Mallory's analysis.
Exposure surface

Affected products & vendors

Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.

VendorProductType
Ssri ProjectSsriapplication
FAQ

Frequently asked questions

Is CVE-2018-7651 exploited in the wild?
As of Oct 16, 2026, Mallory has no reports of CVE-2018-7651 being exploited in the wild. It is not listed in CISA KEV.
Is there a public exploit for CVE-2018-7651?
As of Oct 16, 2026, Mallory has found no public exploit for CVE-2018-7651.
Is there a patch for CVE-2018-7651?
Upgrade the ssri module to version 5.2.2 or later, where the vulnerable regular expression has been fixed to prevent excessive backtracking.
What products are affected by CVE-2018-7651?
Ssri Project Ssri.
How severe is CVE-2018-7651?
CVE-2018-7651 has a CVSS v3 score of 5.9 (Medium) and an EPSS score of 1.7% (78th percentile) as of Oct 16, 2026.
Activity feed

Recent activity

1 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.

View more in app →
Do you run this?See affected versions in your environment and whether adversaries are exploiting this vulnerability against assets like yours.
Check your exposure
Mallory platform

The version that knows your environment.

This page is what’s public. Mallory adds the parts that aren’t: which of your assets are affected, which adversaries are exploiting it right now, and which detections to deploy tonight.
Exposure mappingQuery your assets running an affected version, and investigate the blast radius.
Threat actor evidenceEvery report linking this CVE to a named adversary.
Associated malwareMalware families linked to this CVE, with evidence and IOCs.
Detection signaturesYARA, Sigma, Snort, and vendor rules, auto-deployed to your SIEM.
Vendor-by-vendor mappingCross-references every affected SKU, including bundled OEM variants.
Social activityCommunity discussion across Reddit, Mastodon, and other social sources.