SB2025050956 - Inefficient regular expression complexity in Koa.js koa



SB2025050956 - Inefficient regular expression complexity in Koa.js koa

Published: May 9, 2025

Security Bulletin ID SB2025050956
Severity
Critical
Patch available
YES
Number of vulnerabilities 1
Exploitation vector Remote access
Highest impact Denial of service

Breakdown by Severity

Critical 100%
  • Low
  • Medium
  • High
  • Critical

Description

This security bulletin contains information about 1 security vulnerability.


1) Inefficient regular expression complexity (CVE-ID: CVE-2025-25200)

The vulnerability allows a remote attacker to perform a denial of service (DoS) attack.

The vulnerability exists due Koa uses an evil regex to parse the `X-Forwarded-Proto` and `X-Forwarded-Host` HTTP headers. A remote attacker can pass specially crafted data to the application and perform regular expression denial of service (ReDos) attack.


Remediation

Install update from vendor's website.