Skip to content
Heist/ feed
Back to feed
Medium

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

Type: advisorySources: OSV

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.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2025-55152
Confirmed fixed CVEs
Not specified
Updated in this feed
7 Nov 2026, 05:32 UTC · Revision 1

Source evidence

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

core-osv · Original source

Published 9 Aug 2025, 01:29 UTC

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.

osv:CVE-2025-55152
Complete source record
{
  "id": "c5a34cf2e3296786ef045c8aed7a5d25e6ba1fe6fc901421c08131996cde695e",
  "url": "https://osv.dev/vulnerability/CVE-2025-55152",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "oak: ReDoS in x-forwarded-proto and x-forwarded-for headers",
    "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.",
    "evidence": "osv:CVE-2025-55152",
    "products": [],
    "severity": "medium",
    "structured": {
      "id": "CVE-2025-55152",
      "aliases": [
        "CVE-2025-55152",
        "GHSA-r3v7-pc4g-7xp9"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/oakserver/oak",
              "type": "GIT",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "cba00507b0f3965cb379d2368679b083097f270f"
                },
                {
                  "fixed": "b60e60330ef227707c4dc13ef0ea36192d894f44"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "range": [
                      {
                        "introduced": "0"
                      },
                      {
                        "fixed": "17.1.6"
                      }
                    ],
                    "source": "AFFECTED_FIELD",
                    "strategy": "StringRangeExpression"
                  },
                  {
                    "range": [
                      {
                        "fixed": "b60e60330ef227707c4dc13ef0ea36192d894f44"
                      }
                    ],
                    "source": "REFERENCES_COMMIT"
                  }
                ]
              }
            }
          ],
          "versions": [
            "v17.1.5",
            "v17.1.4",
            "v17.1.3",
            "v17.1.2",
            "v17.1.1",
            "v17.1.0",
            "v17.0.0",
            "v16.1.0",
            "v16.0.0",
            "v15.0.0",
            "14.2.0",
            "v14.1.1",
            "v14.1.0",
            "v14.0.0",
            "v13.2.5",
            "13.2.4",
            "v13.2.3",
            "v13.2.2",
            "v13.2.1",
            "v13.2.0",
            "v13.1.0",
            "v13.0.1",
            "v13.0.0",
            "v12.6.2",
            "v12.6.1",
            "v12.6.0",
            "v12.5.0",
            "v12.4.0",
            "v12.3.1",
            "v12.3.0",
            "v12.2.0",
            "v12.1.0",
            "v12.0.1",
            "v12.0.0",
            "v11.1.0",
            "v11.0.0",
            "v10.6.0",
            "v10.5.1",
            "v10.5.0",
            "v10.4.0",
            "v10.3.0",
            "v10.2.1",
            "v10.2.0",
            "v10.1.1",
            "v10.1.0",
            "v10.0.0",
            "v9.0.1",
            "v9.0.0",
            "v8.0.0",
            "v7.7.0",
            "v7.6.3",
            "v7.6.2",
            "v7.6.1",
            "v7.6.0",
            "v7.5.0",
            "v7.4.1",
            "v7.4.0",
            "v7.3.0",
            "v7.2.0",
            "v7.1.0",
            "v7.0.0",
            "v6.5.1",
            "v6.5.0",
            "v6.4.2",
            "v6.4.1",
            "v6.4.0",
            "v6.3.2",
            "v6.3.1",
            "v6.3.0",
            "v6.2.0",
            "v6.1.0",
            "v6.0.2",
            "v6.0.1",
            "v6.0.0",
            "v5.4.0",
            "v5.3.1",
            "v5.3.0",
            "v5.2.0",
            "v5.1.1",
            "v5.1.0",
            "v5.0.0",
            "v4.0.0",
            "v3.7.0",
            "v3.6.0",
            "v3.5.0",
            "v3.4.0",
            "v3.3.0",
            "v3.2.0",
            "v3.1.0",
            "v3.0.0",
            "v2.10.0",
            "v2.9.0",
            "v2.8.0",
            "v2.7.0",
            "v2.6.0",
            "v2.5.0",
            "v2.4.0",
            "v2.3.0",
            "v2.2.0",
            "v2.1.0",
            "v2.0.0",
            "v1.0.0"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-55152.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:49.839927246Z",
      "provider": "osv",
      "references": [
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/55xxx/CVE-2025-55152.json",
        "https://github.com/oakserver/oak/security/advisories/GHSA-r3v7-pc4g-7xp9",
        "https://nvd.nist.gov/vuln/detail/CVE-2025-55152",
        "https://github.com/oakserver/oak/commit/b60e60330ef227707c4dc13ef0ea36192d894f44"
      ],
      "provider_metadata": {
        "cwe_ids": [
          "CWE-1333",
          "CWE-400"
        ],
        "cna_assigner": "GitHub_M",
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/55xxx/CVE-2025-55152.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2025-55152",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 518381,
  "published_at": "2025-08-09T01:29:54.545+00:00"
}