CVE-2023-30589: Llhttp Llhttp Vulnerable To HTTP Request Vulnerability

HIGH
Advisory Identifier: GHSA-cggh-pq45-6h9x
CVSS 7.5
Published
Advisory Summary

CVE-2023-30589 is a HIGH (CVSS 7.5) llhttp vulnerable to http request vulnerability (General Security Weakness) affecting Llhttp libraries in the npm ecosystem. The issue involves llhttp vulnerable to http request smuggling. Remediation is available by upgrading affected packages to version 8.1.1.

CVE-2023-30589 at a Glance

CVE Identifier CVE-2023-30589
GHSA Identifier GHSA-cggh-pq45-6h9x
Severity HIGH
CVSS v3.1 Base Score 7.5
CWE Classification General Security Weakness
Affected Product Llhttp
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:H/A:N).

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 High (I:H)
Availability None (A:N)

How to Fix CVE-2023-30589

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

llhttp fixed: 8.1.1
npm install llhttp@8.1.1
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 llhttp

How to Check if You Are Affected

To determine whether your Node.js application is affected by CVE-2023-30589, inspect your project dependencies using npm:

npm ls llhttp

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

Note: The npm ls llhttp 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 General Security Weakness. In Llhttp, 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

The llhttp parser in the http module in Node v20.2.0 does not strictly use the CRLF sequence to delimit HTTP requests. This can lead to HTTP Request Smuggling (HRS). The CR character (without LF) is sufficient to delimit HTTP header fields in the llhttp parser. According to RFC7230 section 3, only the CRLF sequence should delimit each header-field. This impacts all Node.js active versions: v16, v18, and, v20

CVE-2023-30589 Affected Llhttp Versions

1 component(s)
Fixed Versions:
8.1.1
Product / Package Ecosystem Affected Versions Fixed Version
llhttp
npm
< 8.1.1
8.1.1

References

NVD — CVE-2023-30589 NVD
https://nvd.nist.gov/vuln/detail/CVE-2023-30589
hackerone.com/reports/2001873 WEB
https://hackerone.com/reports/2001873
Llhttp Source Repository REPOSITORY
https://github.com/nodejs/llhttp
Llhttp Release RELEASE
https://github.com/nodejs/llhttp/releases/tag/release%2Fv8.1.1
lists.debian.org/debian-lts-announce... WEB
https://lists.debian.org/debian-lts-announce/2024/09/msg00029.html
lists.fedoraproject.org/archives/list/packa... WEB
https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/HMEELCREWMRT6NS7HWXLA6XFLLMO36HE
lists.fedoraproject.org/archives/list/packa... WEB
https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/IV326O2X4BE3SINX5FJHMAKVHUAA4ZYF
lists.fedoraproject.org/archives/list/packa... WEB
https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/UEJWL67XR67JAGEL2ZK22NA3BRKNMZNY
lists.fedoraproject.org/archives/list/packa... WEB
https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/VCVG4TQRGTK4LKAZKVEQAUEJM7DUACYE
lists.fedoraproject.org/archives/list/packa... WEB
https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/VEEQIN5242K5NBE2CZ4DYTNA5B4YTYE5
lists.fedoraproject.org/archives/list/packa... WEB
https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/VKFMKD4MJZIKFQJAAJ4VZ2FHIJ764A76
Llhttp Security Information SECURITY
https://security.netapp.com/advisory/ntap-20230803-0009
Llhttp Security Information SECURITY
https://security.netapp.com/advisory/ntap-20240621-0006

Frequently Asked Questions

What is CVE-2023-30589?
CVE-2023-30589 is a security vulnerability in Llhttp involving llhttp vulnerable to HTTP request smuggling under General Security Weakness.
Which Llhttp versions are affected?
Affected versions include releases prior to 8.1.1 across affected packages: llhttp.
What version fixes CVE-2023-30589?
Upgrading to 8.1.1 (or the latest patched release for your respective branch) resolves the vulnerability.
Is llhttp affected?
Yes, llhttp is affected in releases prior to 8.1.1. Upgrade your dependency to 8.1.1 or later.
What is the CVSS score of CVE-2023-30589?
CVE-2023-30589 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:H/A:N.
What CWE is associated with CVE-2023-30589?
CVE-2023-30589 is classified under General Security Weakness.
How can I check npm dependencies for CVE-2023-30589?
Run the dependency tree command: 'npm ls llhttp'. 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-cggh-pq45-6h9x",
  "modified" : "2025-11-04T19:38:24Z",
  "published" : "2023-07-01T00:30:46Z",
  "aliases" : [ "CVE-2023-30589" ],
  "summary" : "llhttp vulnerable to HTTP request smuggling",
  "details" : "The llhttp parser in the http module in Node v20.2.0 does not strictly use the CRLF sequence to delimit HTTP requests. This can lead to HTTP Request Smuggling (HRS).\n\nThe CR character (without LF) is sufficient to delimit HTTP header fields in the llhttp parser. According to RFC7230 section 3, only the CRLF sequence should delimit each header-field. This impacts all Node.js active versions: v16, v18, and, v20",
  "severity" : [ {
    "type" : "CVSS_V3",
    "score" : "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "npm",
      "name" : "llhttp"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "8.1.1"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2023-30589"
  }, {
    "type" : "WEB",
    "url" : "https://hackerone.com/reports/2001873"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/nodejs/llhttp"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/nodejs/llhttp/releases/tag/release%2Fv8.1.1"
  }, {
    "type" : "WEB",
    "url" : "https://lists.debian.org/debian-lts-announce/2024/09/msg00029.html"
  }, {
    "type" : "WEB",
    "url" : "https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/HMEELCREWMRT6NS7HWXLA6XFLLMO36HE"
  }, {
    "type" : "WEB",
    "url" : "https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/IV326O2X4BE3SINX5FJHMAKVHUAA4ZYF"
  }, {
    "type" : "WEB",
    "url" : "https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/UEJWL67XR67JAGEL2ZK22NA3BRKNMZNY"
  }, {
    "type" : "WEB",
    "url" : "https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/VCVG4TQRGTK4LKAZKVEQAUEJM7DUACYE"
  }, {
    "type" : "WEB",
    "url" : "https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/VEEQIN5242K5NBE2CZ4DYTNA5B4YTYE5"
  }, {
    "type" : "WEB",
    "url" : "https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/VKFMKD4MJZIKFQJAAJ4VZ2FHIJ764A76"
  }, {
    "type" : "WEB",
    "url" : "https://security.netapp.com/advisory/ntap-20230803-0009"
  }, {
    "type" : "WEB",
    "url" : "https://security.netapp.com/advisory/ntap-20240621-0006"
  } ],
  "database_specific" : {
    "cwe_ids" : [ ],
    "severity" : "HIGH",
    "github_reviewed" : true,
    "github_reviewed_at" : "2023-07-11T22:45:02Z",
    "nvd_published_at" : "2023-07-01T00:15:10Z"
  }
}