CVE-2025-25200
Koa HTTP Header Regular Expression Denial-of-Service Vulnerability
Description
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.
INFO
Published Date :
Feb. 12, 2025, 6:15 p.m.
Last Modified :
Feb. 12, 2025, 6:15 p.m.
Source :
[email protected]
Remotely Exploitable :
No
Impact Score :
Exploitability Score :
Public PoC/Exploit Available at Github
CVE-2025-25200 has a 3 public PoC/Exploit
available at Github.
Go to the Public Exploits
tab to see the list.
Affected Products
The following products are affected by CVE-2025-25200
vulnerability.
Even if cvefeed.io
is aware of the exact versions of the
products
that
are
affected, the information is not represented in the table below.
No affected product recoded yet
References to Advisories, Solutions, and Tools
Here, you will find a curated list of external links that provide in-depth
information, practical solutions, and valuable tools related to
CVE-2025-25200
.
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
Viewer for chess Portable Game Notation (pgn) files
JavaScript TypeScript
Display current weather information on the status bar, as obtained from Open-Meteo
JavaScript TypeScript
VS Code plugin to display the weather in the statusbar
JavaScript TypeScript
Results are limited to the first 15 repositories due to potential performance issues.
The following list is the news that have been mention
CVE-2025-25200
vulnerability anywhere in the article.
The following table lists the changes that have been made to the
CVE-2025-25200
vulnerability over time.
Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.
-
New CVE Received by [email protected]
Feb. 12, 2025
Action Type Old Value New Value Added Description 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. Added CVSS V4.0 AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:H/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X Added CWE CWE-1333 Added Reference https://github.com/koajs/koa/blob/master/lib/request.js#L259 Added Reference https://github.com/koajs/koa/blob/master/lib/request.js#L404 Added Reference https://github.com/koajs/koa/commit/5054af6e31ffd451a4151a1fe144cef6e5d0d83c Added Reference https://github.com/koajs/koa/commit/5f294bb1c7c8d9c61904378d250439a321bffd32 Added Reference https://github.com/koajs/koa/commit/93fe903fc966635a991bcf890cfc3427d33a1a08 Added Reference https://github.com/koajs/koa/releases/tag/2.15.4 Added Reference https://github.com/koajs/koa/security/advisories/GHSA-593f-38f6-jp5m
CWE - Common Weakness Enumeration
While CVE identifies
specific instances of vulnerabilities, CWE categorizes the common flaws or
weaknesses that can lead to vulnerabilities. CVE-2025-25200
is
associated with the following CWEs:
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification
(CAPEC)
stores attack patterns, which are descriptions of the common attributes and
approaches employed by adversaries to exploit the CVE-2025-25200
weaknesses.