6.5medium
A flaw in Node.js 20's HTTP parser allows improper termination of HTTP/1 headers using \r\n\rX instead of the required \r\n\r\n.
- Severity
- 6.5medium CVSS:3.0 by hackerone
- Exploit likelihood
- 0.52% (higher than 45% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- hackerone
- Also known as
- BIT-NODE-2025-23167BIT-NODE-MIN-2025-23167
Description
A flaw in Node.js 20's HTTP parser allows improper termination of HTTP/1 headers using `\r\n\rX` instead of the required `\r\n\r\n`. This inconsistency enables request smuggling, allowing attackers to bypass proxy-based access controls and submit unauthorized requests. The issue was resolved by upgrading `llhttp` to version 9, which enforces correct header termination. Impact: * This vulnerability affects only Node.js 20.x users prior to the `llhttp` v9 upgrade.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| nodejs node | from 4.0 before 4.*, from 5.0 before 5.*, from 6.0 before 6.*, from 7.0 before 7.*, from 8.0 before 8.*, from 9.0 before 9.*, from 10.0 before 10.*, from 11.0 before 11.* and 9 more | CVE List |
| node (Bitnami) | before 20.19.2 | Bitnami Vulnerability Database |
| node-min (Bitnami) | before 20.19.2 | Bitnami Vulnerability Database |
All scores
| hackerone | 6.5medium CVSS:3.0 | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N |
| Bitnami Vulnerability Database | medium rating |
Classification
SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial.
What each source says
CVE List
A flaw in Node.js 20's HTTP parser allows improper termination of HTTP/1 headers using `\r\n\rX` instead of the required `\r\n\r\n`. This inconsistency enables request smuggling, allowing attackers to bypass proxy-based access controls and submit unauthorized requests. The issue was resolved by upgrading `llhttp` to version 9, which enforces correct header termination. Impact: * This vulnerability affects only Node.js 20.x users prior to the `llhttp` v9 upgrade.
NVD (es)
Una falla en el analizador HTTP de Node.js 20 permite la terminación incorrecta de los encabezados HTTP/1 mediante `\r\n\rX` en lugar del `\r\n\r\n` requerido. Esta inconsistencia facilita el contrabando de solicitudes, lo que permite a los atacantes eludir los controles de acceso basados en proxy y enviar solicitudes no autorizadas. El problema se solucionó actualizando `llhttp` a la versión 9, que aplica la terminación correcta de los encabezados. Impacto: * Esta vulnerabilidad afecta solo a los usuarios de Node.js 20.x anteriores a la actualización a `llhttp` v9.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2025-23167 changed 2025-05-27 | CVE Terms of Use |
| NVD | CVE-2025-23167 changed 2026-06-17 | Public domain |
| Bitnami Vulnerability Database | BIT-NODE-2025-23167 changed 2025-05-21 | Apache-2.0 |
| Bitnami Vulnerability Database | BIT-NODE-MIN-2025-23167 changed 2025-05-21 | Apache-2.0 |