koajs koa up to 0.21.1/1.7.0/2.15.3/3.0.0-alpha.2 ES2017 redos
| CVSS Meta Temp Score | Current Exploit Price (≈) | CTI Interest Score |
|---|---|---|
| 6.3 | $0-$5k | 0.00 |
Summary
A vulnerability identified as problematic has been detected in koajs koa up to 0.21.1/1.7.0/2.15.3/3.0.0-alpha.2. This issue affects some unknown processing of the component ES2017. Performing a manipulation results in redos. This vulnerability was named CVE-2025-25200. The attack may be initiated remotely. There is no available exploit. You should upgrade the affected component.
Details
A vulnerability, which was classified as problematic, was found in koajs koa up to 0.21.1/1.7.0/2.15.3/3.0.0-alpha.2. This affects some unknown functionality of the component ES2017. The manipulation with an unknown input leads to a redos vulnerability. CWE is classifying the issue as CWE-1333. The product uses a regular expression with an inefficient, possibly exponential worst-case computational complexity that consumes excessive CPU cycles. This is going to have an impact on availability. The summary by CVE is:
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.
It is possible to read the advisory at github.com. This vulnerability is uniquely identified as CVE-2025-25200 since 02/03/2025. The exploitability is told to be easy. It is possible to initiate the attack remotely. No form of authentication is needed for exploitation. The technical details are unknown and an exploit is not publicly available. The attack technique deployed by this issue is T1449.003 according to MITRE ATT&CK.
Upgrading to version 0.21.2, 1.7.1, 2.15.4 or 3.0.0-alpha.3 eliminates this vulnerability. The upgrade is hosted for download at github.com. Applying the patch 5054af6e31ffd451a4151a1fe144cef6e5d0d83c is able to eliminate this problem. The bugfix is ready for download at github.com. The best possible mitigation is suggested to be upgrading to the latest version.
Statistical analysis made it clear that VulDB provides the best quality for vulnerability data.
Product
Vendor
Name
Version
- 0.21.0
- 0.21.1
- 1.0
- 1.1
- 1.2
- 1.3
- 1.4
- 1.5
- 1.6
- 1.7.0
- 2.15.0
- 2.15.1
- 2.15.2
- 2.15.3
- 3.0.0-alpha.0
- 3.0.0-alpha.1
- 3.0.0-alpha.2
License
Website
- Product: https://github.com/koajs/koa/
CPE 2.3
CPE 2.2
CVSSv4
VulDB Vector: 🔍VulDB Reliability: 🔍
CNA CVSS-B Score: 🔍
CNA CVSS-BT Score: 🔍
CNA Vector: 🔍
CVSSv3
VulDB Meta Base Score: 6.4VulDB Meta Temp Score: 6.3
VulDB Base Score: 5.3
VulDB Temp Score: 5.1
VulDB Vector: 🔍
VulDB Reliability: 🔍
NVD Base Score: 7.5
NVD Vector: 🔍
CVSSv2
| AV | AC | Au | C | I | A |
|---|---|---|---|---|---|
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| Vector | Complexity | Authentication | Confidentiality | Integrity | Availability |
|---|---|---|---|---|---|
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
VulDB Base Score: 🔍
VulDB Temp Score: 🔍
VulDB Reliability: 🔍
Exploiting
Class: RedosCWE: CWE-1333 / CWE-400 / CWE-404
CAPEC: 🔍
ATT&CK: 🔍
Physical: No
Local: No
Remote: Yes
Availability: 🔍
Status: Not defined
EPSS Score: 🔍
EPSS Percentile: 🔍
Price Prediction: 🔍
Current Price Estimation: 🔍
| 0-Day | Unlock | Unlock | Unlock | Unlock |
|---|---|---|---|---|
| Today | Unlock | Unlock | Unlock | Unlock |
Threat Intelligence
Interest: 🔍Active Actors: 🔍
Active APT Groups: 🔍
Countermeasures
Recommended: UpgradeStatus: 🔍
0-Day Time: 🔍
Upgrade: koa 0.21.2/1.7.1/2.15.4/3.0.0-alpha.3
Patch: 5054af6e31ffd451a4151a1fe144cef6e5d0d83c
Timeline
02/03/2025 🔍02/12/2025 🔍
02/12/2025 🔍
01/20/2026 🔍
Sources
Product: github.comAdvisory: GHSA-593f-38f6-jp5m
Status: Confirmed
CVE: CVE-2025-25200 (🔍)
GCVE (CVE): GCVE-0-2025-25200
GCVE (VulDB): GCVE-100-295563
Entry
Created: 02/12/2025 20:41Updated: 01/20/2026 15:53
Changes: 02/12/2025 20:41 (71), 01/20/2026 15:53 (12)
Complete: 🔍
Cache ID: 216::103
Statistical analysis made it clear that VulDB provides the best quality for vulnerability data.
No comments yet. Languages: en.
Please log in to comment.