Skip to content

CVE-2025-25200 (High) detected in koa-2.13.4.tgz #189

@mend-bolt-for-github

Description

@mend-bolt-for-github

CVE-2025-25200 - High Severity Vulnerability

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: /package.json

Dependency Hierarchy:

  • oidc-provider-7.14.3.tgz (Root Library)
    • koa-2.13.4.tgz (Vulnerable Library)

Found in HEAD commit: 89f3d995e1c94917ec751c64f77387a282cad8c3

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

For more information on CVSS3 Scores, click here.

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


Step up your Open Source Security Game with Mend here

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions