CVE-2025-53539

Source
https://nvd.nist.gov/vuln/detail/CVE-2025-53539
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-53539.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2025-53539
Aliases
Published
2025-07-07T20:15:28Z
Modified
2025-07-08T17:01:59.467866Z
Summary
[none]
Details

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.

References

Affected packages

Git / github.com/rennf93/fastapi-guard

Affected ranges

Type
GIT
Repo
https://github.com/rennf93/fastapi-guard
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed

Affected versions

0.*

0.2.0
0.3.0
0.3.1
0.3.2
0.3.3
0.3.4
0.4.0

1.*

1.0.0
1.1.0
1.2.0
1.2.1
1.2.2
1.3.2
1.4.0
1.5.0

2.*

2.0.0
2.0.1
2.1.0
2.1.1
2.1.2
2.1.3

3.*

3.0.0

v0.*

v0.1.0