DotVVM
DotVVM: ReDOS in routing
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.
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
- < 4.2.11
- >= 4.3.0, < 4.3.15
- >= 5.0.0-preview01, < 5.0.0-preview09-final
Fixed in 4.2.11, 4.3.15, 5.0.0-preview09-final
Mitigation
Upgrade dotvvm to 4.2.11 or 4.3.15 or 5.0.0-preview09-final or later.
References
- Vendor advisory github.com/riganti/dotvvm/security/advisories/…
- Patch github.com/riganti/dotvvm/commit/1635245b5eaf9…
- Patch github.com/riganti/dotvvm/commit/4fc26a8591c76…
3 more
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.No PoC repositories found yet.