GHSA-8x6c-cv3v-vp6g: Withdrawn Denial of Service Vulnerability

HIGH
CVSS 7.5
CWE-1333
Published
Advisory Summary

GHSA-8x6c-cv3v-vp6g is a HIGH (CVSS 7.5) denial of service vulnerability (CWE-1333: Inefficient Regular Expression Complexity) affecting Withdrawn libraries in the npm ecosystem. The issue involves cacheable-request depends on http-cache-semantics, which is vulnerable to regular expression denial of service. Remediation is available by upgrading affected packages to version 10.2.7.

GHSA-8x6c-cv3v-vp6g at a Glance

CVE Identifier N/A
GHSA Identifier GHSA-8x6c-cv3v-vp6g
Severity HIGH
CVSS v3.1 Base Score 7.5
CWE Classification CWE-1333: Inefficient Regular Expression Complexity
Affected Product Withdrawn
Package Ecosystem npm
Published Date
Last Updated

Security Impact

CVSS: 7.5

The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H).

Attack Vector Network (AV:N)
Attack Complexity Low (AC:L)
Privileges Required None (PR:N)
User Interaction None (UI:N)
Scope Unchanged (S:U)
Confidentiality None (C:N)
Integrity None (I:N)
Availability High (A:H)

How to Fix GHSA-8x6c-cv3v-vp6g

To remediate this vulnerability, upgrade all affected Withdrawn dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.

cacheable-request fixed: 10.2.7
npm install cacheable-request@10.2.7
Verify Direct and Transitive Dependencies

Run the following command in your project directory to verify that all resolved dependencies use the patched release:

npm ls cacheable-request

How to Check if You Are Affected

To determine whether your Node.js application is affected by GHSA-8x6c-cv3v-vp6g, inspect your project dependencies using npm:

npm ls cacheable-request

Analyze the terminal output to locate any version of Withdrawn in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 10.2.7), your application is affected.

Note: The npm ls cacheable-request command inspects dependencies declared in your package.json and lockfile; it does not perform automated runtime dynamic scanning.

Technical Details

Vulnerability Mechanism & Technical Analysis

This vulnerability is classified under CWE-1333: Inefficient Regular Expression Complexity, where the product uses a regular expression with a worst-case computational complexity that is inefficient and possibly exponential. In Withdrawn, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.

Source Advisory Statement

## This advisory is withdawn. cacheable-request depends on http-cache-semanttics, which contains an Inefficient Regular Expression Complexity in versions prior to 4.1.1 of that package. cacheable-request has been updated to rely on the fixed version in 10.2.7. ### Summary of http-cache-semantics vulnerability http-cache semantics contains an Inefficient Regular Expression Complexity , leading to Denial of Service. This affects versions of the package http-cache-semantics before 4.1.1. The issue can be exploited via malicious request header values sent to a server, when that server reads the cache policy from the request using this library. ### Details https://github.com/advisories/GHSA-rc47-6667-2j5j

GHSA-8x6c-cv3v-vp6g Affected Withdrawn Versions

1 component(s)
Fixed Versions:
10.2.7
Product / Package Ecosystem Affected Versions Fixed Version
cacheable-request
npm
< 10.2.7
10.2.7

References

Frequently Asked Questions

What is GHSA-8x6c-cv3v-vp6g?
GHSA-8x6c-cv3v-vp6g is a security vulnerability in Withdrawn involving cacheable-request depends on http-cache-semantics, which is vulnerable to Regular Expression Denial of Service under CWE-1333: Inefficient Regular Expression Complexity.
Which Withdrawn versions are affected?
Affected versions include releases prior to 10.2.7 across affected packages: cacheable-request.
What version fixes GHSA-8x6c-cv3v-vp6g?
Upgrading to 10.2.7 (or the latest patched release for your respective branch) resolves the vulnerability.
Is cacheable-request affected?
Yes, cacheable-request is affected in releases prior to 10.2.7. Upgrade your dependency to 10.2.7 or later.
What is the CVSS score of GHSA-8x6c-cv3v-vp6g?
GHSA-8x6c-cv3v-vp6g has a CVSS v3.1 base score of 7.5 (HIGH) with vector string CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H.
What CWE is associated with GHSA-8x6c-cv3v-vp6g?
GHSA-8x6c-cv3v-vp6g is classified under CWE-1333: Inefficient Regular Expression Complexity (The product uses a regular expression with a worst-case computational complexity that is inefficient and possibly exponential.).
How can I check npm dependencies for GHSA-8x6c-cv3v-vp6g?
Run the dependency tree command: 'npm ls cacheable-request'. This command lists direct and transitive dependencies in your build configuration so you can verify if a vulnerable version is resolved.
Machine-readable OSV JSON OSV v1.5 Schema
Normalized schema output
{
  "schema_version" : "1.4.0",
  "id" : "GHSA-8x6c-cv3v-vp6g",
  "modified" : "2023-02-14T02:40:00Z",
  "published" : "2023-02-11T00:13:31Z",
  "withdrawn" : "2023-02-14T02:40:00Z",
  "aliases" : [ ],
  "summary" : "Withdrawn: cacheable-request depends on http-cache-semantics, which is vulnerable to Regular Expression Denial of Service",
  "details" : "## This advisory is withdawn.\n\ncacheable-request depends on http-cache-semanttics, which contains an Inefficient Regular Expression Complexity in versions prior to 4.1.1 of that package. cacheable-request has been updated to rely on the fixed version in 10.2.7. \n\n### Summary of http-cache-semantics vulnerability\nhttp-cache semantics contains an Inefficient Regular Expression Complexity , leading to Denial of Service. This affects versions of the package http-cache-semantics before 4.1.1. The issue can be exploited via malicious request header values sent to a server, when that server reads the cache policy from the request using this library.\n\n### Details\nhttps://github.com/advisories/GHSA-rc47-6667-2j5j\n\n",
  "severity" : [ {
    "type" : "CVSS_V3",
    "score" : "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "npm",
      "name" : "cacheable-request"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "10.2.7"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "WEB",
    "url" : "https://github.com/jaredwray/cacheable-request/security/advisories/GHSA-8x6c-cv3v-vp6g"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/jaredwray/cacheable-request/commit/8a47777e4eb61960469873cf4b3a2823742fc15e"
  }, {
    "type" : "ADVISORY",
    "url" : "https://github.com/advisories/GHSA-rc47-6667-2j5j"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/jaredwray/cacheable-request"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-1333" ],
    "severity" : "HIGH",
    "github_reviewed" : true,
    "github_reviewed_at" : "2023-02-11T00:13:31Z",
    "nvd_published_at" : null
  }
}