ZeroHour

CVE-2026-57577

niche

Unauthenticated ReDoS in DotVVM route matching via crafted URL paths

CVSS 4.0
8.2 high
EPSS
Published
()
Modified
AI analysis

DotVVM, an open-source MVVM framework for ASP.NET web applications, is vulnerable to a regular expression denial-of-service (ReDoS, CWE-1333) in DotvvmRoute.IsMatch. If an application defines a route with multiple unconstrained parameters in a single path segment, a remote unauthenticated attacker can send a request with a long 'near-match' URL path, triggering catastrophic regex backtracking because DotvvmRouteParser.RouteRegex had no matching timeout. The attacker gains the ability to exhaust CPU and make the application unresponsive (availability-only impact; CVSS 4.0 score 8.2). All DotVVM applications using vulnerable versions (before 4.2.11, 4.3.15, and 5.0.0-preview09-final) that declare such route patterns are affected. No public proof of concept or known in-the-wild exploitation exists at this time.

What to do: Upgrade to DotVVM 4.2.11, 4.3.15, or 5.0.0-preview09-final (or later), which adds a one-second regex timeout and retries with the .NET non-backtracking engine. If upgrading immediately is not possible, audit route definitions for multiple unconstrained parameters in a single path segment (e.g., "{a}/{b}"-style multi-parameter segments) and add route constraints to them. Note that on runtimes without non-backtracking regex support the patched middleware returns HTTP 503 after the timeout, which preserves availability but can still be flooded, so consider rate-limiting or URL-length limits at the reverse proxy/WAF as defense in depth.

Affected
DotVVM4.2.x before 4.2.11
DotVVM4.3.x before 4.3.15
DotVVM5.0.0 preview releases before 5.0.0-preview09-final
Estimated exposure
nichelikely hundreds to low thousands of production sites (estimate) — DotVVM is a niche open-source .NET MVVM framework with no published active-install counts or public scan fingerprints, and only apps whose route tables include multiple unconstrained parameters in one path segment are exploitable, further…

Order-of-magnitude estimate by the model from install counts, market share and public scan data it knows; verify before quoting.

Description

DotVVM is an open source MVVM framework for web applications. Prior to 4.2.11, 4.3.15, and 5.0.0-preview09-final, a route containing multiple unconstrained parameters in one path segment can cause excessive regular-expression backtracking in DotvvmRoute.IsMatch when a remote requester supplies a long near-match path. DotvvmRouteParser.RouteRegex previously had no matching timeout. Patched runtimes retry with the .NET non-backtracking engine, while runtimes that do not support non-backtracking matching return HTTP 503 after the one-second timeout in DotvvmRoutingMiddleware. This issue is fixed in versions 4.2.11, 4.3.15, and 5.0.0-preview09-final.

Weakness
CWE-1333
Vector
CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X

In the news

No ingested article mentions this CVE yet.