CVE-2023-30589: Llhttp Llhttp Vulnerable To HTTP Request Vulnerability
HIGHCVE-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
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).
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.
npm install llhttp@8.1.1
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
CVE-2023-30589 Affected Llhttp Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
llhttp
|
npm |
< 8.1.1
|
8.1.1
|
References
Frequently Asked Questions
What is CVE-2023-30589?
Which Llhttp versions are affected?
What version fixes CVE-2023-30589?
Is llhttp affected?
What is the CVSS score of CVE-2023-30589?
What CWE is associated with CVE-2023-30589?
How can I check npm dependencies for CVE-2023-30589?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"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"
}
}