Bug 2345319 (CVE-2025-25200) - CVE-2025-25200 koa: Koa has Inefficient Regular Expression Complexity
Summary: CVE-2025-25200 koa: Koa has Inefficient Regular Expression Complexity
Keywords:
Status: NEW
Alias: CVE-2025-25200
Product: Security Response
Classification: Other
Component: vulnerability-draft
Version: unspecified
Hardware: All
OS: Linux
low
low
Target Milestone: ---
Assignee: Product Security DevOps Team
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2025-02-12 19:01 UTC by OSIDB Bzimport
Modified: 2025-02-26 15:48 UTC (History)
7 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description OSIDB Bzimport 2025-02-12 19:01:31 UTC
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.


Note You need to log in before you can comment on or make changes to this bug.