5.3med

CVE-2025-55152

oak: ReDoS in x-forwarded-proto and x-forwarded-for headers

Also known as GHSA-r3v7-pc4g-7xp9

Published 14 mo ago · modified 4 mo ago · JSON

CVSS
5.3
v3.1 · CNA
CISA KEV
No
not known exploited
EPSS
0.4%
percentile 36%
Public exploits
0
none known

Summary

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.

CISA SSVC assessment

Exploitation
Proof of concept public
Automatable
yes
Technical impact
partial
Assessed
14 mo ago

Exploit prediction (EPSS)

0.41% probability of exploitation in the next 30 days, higher than 36% of all scored CVEs.

CVSS scores

Assigned byVersionScoreVector
CNA3.15.3CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
CNA3.15.3CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
GitHub3.15.3CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L

Affected packages

EcosystemPackageAffectedFixed in
npm@oakserver/oak
<=14.1.0
no fix listed

Affected products

  • oakserver oak

Classification

Weakness
  • CWE-400 Uncontrolled Resource Consumption
  • CWE-1333 Inefficient Regular Expression Complexity

References

  • github.com /oakserver/oak/security/advisories/GHSA-r3v7-pc4g-7xp9 · x_refsource_CONFIRM
  • github.com /oakserver/oak/commit/b60e60330ef227707c4dc13ef0ea36192d894f44 · x_refsource_MISC
  • nvd.nist.gov /vuln/detail/CVE-2025-55152 · advisory
  • github.com /oakserver/oak · package
  • github.com /oakserver/oak/blob/v17.1.5/request.ts#L142 · web
  • github.com /oakserver/oak/blob/v17.1.5/request.ts#L87 · web

Sources

vulnwire keeps one entry per vulnerability: the CVE id wins, then GHSA; records that alias each other are merged. Machine-readable: JSON.