Description
Vulnerable Library - koa-2.13.4.tgz
Koa web app framework
Library home page: https://registry.npmjs.org/koa/-/koa-2.13.4.tgz
Path to dependency file: /package.json
Path to vulnerable library: /node_modules/koa/package.json
Found in HEAD commit: 5b136f827bd8d8ae6e2b8902c5833e7d7c211fa8
Vulnerabilities
CVE | Severity | Dependency | Type | Fixed in (koa version) | Remediation Possible** | |
---|---|---|---|---|---|---|
CVE-2025-25200 | 7.5 | koa-2.13.4.tgz | Direct | koa - 0.21.2,1.7.1,2.15.4 | ✅ | |
CVE-2025-32379 | 5.0 | koa-2.13.4.tgz | Direct | https://github.com/koajs/koa.git - 2.16.1 | ✅ |
**In some cases, Remediation PR cannot be created automatically for a vulnerability despite the availability of remediation
Details
CVE-2025-25200
Vulnerable Library - koa-2.13.4.tgz
Koa web app framework
Library home page: https://registry.npmjs.org/koa/-/koa-2.13.4.tgz
Path to dependency file: /package.json
Path to vulnerable library: /node_modules/koa/package.json
Dependency Hierarchy:
- ❌ koa-2.13.4.tgz (Vulnerable Library)
Found in HEAD commit: 5b136f827bd8d8ae6e2b8902c5833e7d7c211fa8
Found in base branch: main
Vulnerability Details
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.
Publish Date: 2025-02-12
URL: CVE-2025-25200
CVSS 3 Score Details (7.5)
Base Score Metrics:
- Exploitability Metrics:
- Attack Vector: Network
- Attack Complexity: Low
- Privileges Required: None
- User Interaction: None
- Scope: Unchanged
- Impact Metrics:
- Confidentiality Impact: None
- Integrity Impact: None
- Availability Impact: High
Suggested Fix
Type: Upgrade version
Origin: GHSA-593f-38f6-jp5m
Release Date: 2025-02-12
Fix Resolution: koa - 0.21.2,1.7.1,2.15.4
⛑️ Automatic Remediation will be attempted for this issue.
CVE-2025-32379
Vulnerable Library - koa-2.13.4.tgz
Koa web app framework
Library home page: https://registry.npmjs.org/koa/-/koa-2.13.4.tgz
Path to dependency file: /package.json
Path to vulnerable library: /node_modules/koa/package.json
Dependency Hierarchy:
- ❌ koa-2.13.4.tgz (Vulnerable Library)
Found in HEAD commit: 5b136f827bd8d8ae6e2b8902c5833e7d7c211fa8
Found in base branch: main
Vulnerability Details
Koa is expressive middleware for Node.js using ES2017 async functions. In koa < 2.16.1 and < 3.0.0-alpha.5, passing untrusted user input to ctx.redirect() even after sanitizing it, may execute javascript code on the user who use the app. This issue is patched in 2.16.1 and 3.0.0-alpha.5.
Publish Date: 2025-04-09
URL: CVE-2025-32379
CVSS 3 Score Details (5.0)
Base Score Metrics:
- Exploitability Metrics:
- Attack Vector: Network
- Attack Complexity: High
- Privileges Required: None
- User Interaction: Required
- Scope: Unchanged
- Impact Metrics:
- Confidentiality Impact: Low
- Integrity Impact: Low
- Availability Impact: Low
Suggested Fix
Type: Upgrade version
Release Date: 2025-04-09
Fix Resolution: https://github.com/koajs/koa.git - 2.16.1
⛑️ Automatic Remediation will be attempted for this issue.
⛑️Automatic Remediation will be attempted for this issue.