Vulnerability · Published Aug 9, 2025 · Assigned by GitHub_M

CVE-2025-55152oak: ReDoS in x-forwarded-proto and x-forwarded-for headers

Medium 5.3

In plain English

A medium-severity uncontrolled resource consumption in oak from oakserver. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 0.4% (higher than 36% of all known vulnerabilities).

Severity (CVSS 3.1)5.3Medium
Exploit odds (30 days)0.4%top 64.4% of all CVEs
Exploited in the wildNo reportsCISA SSVC: poc
Attack toolingNoneno public tooling known

Official description

oak is a middleware framework for Deno's native HTTP server, Deno Deploy, Node.js 16.5 and later, Cloudflare Workers and Bun. In versions 17.1.5 and below, it's possible to significantly slow down an oak server with specially crafted values of the x-forwarded-proto or x-forwarded-for headers.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
npm@oakserver/oakno fix listedGHSA-r3v7-pc4g-7xp9

Affected products (as reported)

VendorProductVersions
oakserver oak < 17.1.6

Weakness: CWE-400, CWE-1333 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L

References