CVE-2021-32838
Regular Expression Denial of Service in flask-restx
- State
- Published
- Severity
- 7.5 High
- Published
- Sep 20, 2021
- Updated
- Aug 3, 2024
- Reserved
- May 12, 2021
Description
Flask-RESTX (pypi package flask-restx) is a community driven fork of Flask-RESTPlus. Flask-RESTX before version 0.5.1 is vulnerable to ReDoS (Regular Expression Denial of Service) in email_regex. This is fixed in version 0.5.1.
Scores
| CVSS | Score | Vector | Source |
|---|---|---|---|
| 3.1 | 7.5 High | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H | GitHub_M |
Weaknesses
- CWE-400 Uncontrolled Resource Consumption
Affected Products
| Product | Versions |
|---|---|
flask-restxpython-restx |
|
References
- https://github.com/advisories/GHSA-3q6g-vf58-7m4g
- https://github.com/python-restx/flask-restx/issues/372
- https://github.com/python-restx/flask-restx/commit/bab31e085f355dd73858fd3715f7ed71849656da
- https://github.com/python-restx/flask-restx/blob/fd99fe11a88531f5f3441a278f7020589f9d2cc0/flask_restx/inputs.py#L51
- https://pypi.org/project/flask-restx/
- FEDORA-2021-0739f45529vendor-advisory
- FEDORA-2021-67b7695f95vendor-advisory
Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.