Skip to content
Heist/ feed
Back to feed
Medium

Security advisory

Type: advisorySources: OSVCVE: 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 functionality via a long base64 hash string.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2018-7651
Confirmed fixed CVEs
Not specified
Updated in this feed
1 Nov 2026, 08:52 UTC · Revision 1

Source evidence

CVE-2018-7651

core-osv · Original source

Published 4 Mar 2018, 01:29 UTC

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.

osv:CVE-2018-7651
Complete source record
{
  "id": "634216ca57ba2100e8383342fd0d2183db82c50a2eb27e7772bbaf18283acadc",
  "url": "https://osv.dev/vulnerability/CVE-2018-7651",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "CVE-2018-7651",
    "summary": "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.",
    "evidence": "osv:CVE-2018-7651",
    "products": [],
    "severity": "medium",
    "structured": {
      "id": "CVE-2018-7651",
      "aliases": [
        "CVE-2018-7651",
        "GHSA-325j-24f4-qv5x"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/npm/ssri",
              "type": "GIT",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "0fb45e7e0eba615bf0080bf350c95e19412ff9a9"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:ssri_project:ssri:*:*:*:*:*:node.js:*:*",
                    "range": [
                      {
                        "introduced": "0"
                      },
                      {
                        "fixed": "5.2.2"
                      }
                    ],
                    "source": "CPE_RANGE"
                  }
                ]
              }
            }
          ],
          "versions": [
            "v5.2.1",
            "v5.2.0",
            "v5.1.0",
            "v5.0.0",
            "v4.1.6",
            "v4.1.5",
            "v4.1.4",
            "v4.1.3",
            "v4.1.2",
            "v4.1.1",
            "v4.1.0",
            "v4.0.0",
            "v3.0.2",
            "v3.0.1",
            "v3.0.0",
            "v2.0.0",
            "v1.0.0"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2018-7651.json"
          }
        },
        {
          "ranges": [
            {
              "repo": "https://github.com/zkat/ssri",
              "type": "GIT",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "0fb45e7e0eba615bf0080bf350c95e19412ff9a9"
                },
                {
                  "fixed": "d0ebcdc22cb5c8f47f89716d08b3518b2485d65d"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:ssri_project:ssri:*:*:*:*:*:node.js:*:*",
                    "range": [
                      {
                        "introduced": "0"
                      },
                      {
                        "fixed": "5.2.2"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "range": [
                      {
                        "fixed": "d0ebcdc22cb5c8f47f89716d08b3518b2485d65d"
                      }
                    ],
                    "source": "REFERENCES_COMMIT"
                  }
                ]
              }
            }
          ],
          "versions": [
            "v5.2.1",
            "v5.2.0",
            "v5.1.0",
            "v5.0.0",
            "v4.1.6",
            "v4.1.5",
            "v4.1.4",
            "v4.1.3",
            "v4.1.2",
            "v4.1.1",
            "v4.1.0",
            "v4.0.0",
            "v3.0.2",
            "v3.0.1",
            "v3.0.0",
            "v2.0.0",
            "v1.0.0"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2018-7651.json"
          }
        }
      ],
      "modified": "2026-10-24T10:50:33.643188498Z",
      "provider": "osv",
      "references": [
        "https://github.com/zkat/ssri/issues/10",
        "https://nodesecurity.io/advisories/565",
        "https://github.com/zkat/ssri/commit/d0ebcdc22cb5c8f47f89716d08b3518b2485d65d"
      ],
      "provider_metadata": {}
    },
    "related_cves": [
      {
        "value": "CVE-2018-7651",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 442291,
  "published_at": "2018-03-04T01:29:00.347+00:00"
}