Advisory reports guard-core flaw that can freeze application event loops
- ReDoS
- denial of service
- asyncio
- guard-core

Regression in built-in patterns affects versions 3.5.0 through 3.12.0
Unauthenticated requests can cause temporary service denial
Version 3.13.0 restores timeouts for built-in patterns; asyncio runs asynchronous tasks
A security advisory reports a quadratic regular-expression denial-of-service flaw in guard-core’s built-in penetration-detection patterns. An unauthenticated remote client can use a request to stall an application’s event loop, the mechanism that schedules and runs asynchronous tasks.
In a single-process asyncio deployment using the default configuration, one request can freeze application endpoints for approximately 1.8 seconds. The request does not trigger a detection match, according to the advisory.
The flaw affects guard-core versions 3.5.0 through 3.12.0. It was introduced in version 3.5.0, when built-in patterns began running without the timeout protection used for custom patterns.
The advisory identifies version 3.13.0 as the patched release. It classifies the issue as CWE-1333 and CWE-400 and describes its runtime as quadratic.




