CVE-2025-23167 Affecting node-undici package, versions <7.15.0+dfsg+~cs3.2.0-1


Severity

Recommended
low

Based on default assessment until relevant scores are available.

Threat Intelligence

EPSS
0.51% (41st percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-DEBIANUNSTABLE-NODEUNDICI-10180121
  • published17 May 2025
  • disclosed19 May 2025

Introduced: 17 May 2025

CVE-2025-23167  (opens in a new tab)

How to fix?

Upgrade Debian:unstable node-undici to version 7.15.0+dfsg+~cs3.2.0-1 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream node-undici package and not the node-undici package as distributed by Debian. See How to fix? for Debian:unstable relevant fixed versions and status.

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.

CVSS Base Scores

version 3.1