HIGH · CVSS 7.5 Published: 2025-02-12
CVE-2025-25200 — Technical Security Advisory & CVSS Profile
Koa is expressive middleware for Node.js using ES2017 async functions. Prior to versions 0.21.2, 1.7.1, 2.15.4, and 3.0.0-alpha.3, Koa uses an evil regex to parse the `X-Forwarded-Proto` and `X-Forwarded-Host` HTTP headers. This can be exploited to carry out a Denial-of-Service attack. Versions 0.21.2, 1.7.1, 2.15.4, and 3.0.0-alpha.3 fix the issue.
Technical Metadata
| Identifier | CVE-2025-25200 |
|---|---|
| Base Severity / Score | HIGH (7.5 / 10.0) |
| CVSS Vector | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| Weakness Classification | CWE-1333 |
| Archive Categories | HIGH Advisories · 2025 Index |
Operational Mitigation Guidance
Prioritize remediation in the next maintenance cycle. Validate affected dependency versions in SBOM manifests and review inbound access controls. For architectural isolation principles, review per-process namespace isolation.
Upstream References
- https://github.com/koajs/koa/blob/master/lib/request.js#L259
- https://github.com/koajs/koa/blob/master/lib/request.js#L404
- https://github.com/koajs/koa/commit/5054af6e31ffd451a4151a1fe144cef6e5d0d83c
Related Security Advisories
CVE-2025-25198 HIGH 7.1
CVE-2025-25202 MEDIUM 6.5
CVE-2025-25205 HIGH 8.2
CVE-2025-25206 HIGH 8.3
CVE-2025-25214 HIGH 8.8
CVE-2025-25224 HIGH 7.5
CVE-2025-25234 HIGH 7.1