ReDoS in fastapi-guard's penetration attempts detector
Default status is the baseline for the product, each version can override it (e.g. patched versions marked unaffected).
| Vendor | Product | Default status | Versions | ||||||
|---|---|---|---|---|---|---|---|---|---|
| rennf93 | fastapi-guard | affected |
|
No data.
No data available yet.
| Source | ID | Title |
|---|---|---|
EUVD |
EUVD-2025-20307 | fastapi-guard is vulnerable to ReDoS through inefficient regex |
Github GHSA |
GHSA-j47q-rc62-w448 | fastapi-guard is vulnerable to ReDoS through inefficient regex |
No CVSS v3.0
No CVSS v2
This CVE is not in the KEV list.
Exploit prediction score: < 1% (0.481% probability within 30 days)
| Type | Values Removed | Values Added |
|---|---|---|
| First Time appeared |
Fastapi-guard
Fastapi-guard fastapi Guard |
|
| CPEs | cpe:2.3:a:fastapi-guard:fastapi_guard:*:*:*:*:*:*:*:* | |
| Vendors & Products |
Fastapi-guard
Fastapi-guard fastapi Guard |
|
| Metrics |
cvssV3_1
|
| Type | Values Removed | Values Added |
|---|---|---|
| Metrics |
epss
|
epss
|
| Type | Values Removed | Values Added |
|---|---|---|
| Metrics |
ssvc
|
| Type | Values Removed | Values Added |
|---|---|---|
| Description | FastAPI Guard is a security library for FastAPI that provides middleware to control IPs, log requests, and detect penetration attempts. fastapi-guard's penetration attempts detection uses regex to scan incoming requests. However, some of the regex patterns used in detection are extremely inefficient and can cause polynomial complexity backtracks when handling specially crafted inputs. This vulnerability is fixed in 3.0.1. | |
| Title | ReDoS in fastapi-guard's penetration attempts detector | |
| Weaknesses | CWE-1333 | |
| References |
| |
| Metrics |
cvssV4_0
|