CVE-2021-32838
HIGH 7.5CVSS 3.1Regular Expression Denial of Service in flask-restx
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.
- Published
- 20 Sep 2021
- Last modified
- 8 Jul 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Modified
- Weakness
- CWE-1333CWE-400
- Also known as
- GHSA-3q6g-vf58-7m4gPYSEC-2021-325
- Sources
- NVDJSONOSV GHSA-3q6g-vf58-7m4gJSONOSV PYSEC-2021-325JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| OSV | GitHub | CVSS 4.0 | CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N | |
| NVD | security-advisories@github.com (Secondary) | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| OSV | GitHub | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | MEDIUM 5.0 | AV:N/AC:L/Au:N/C:N/I:N/A:P |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | flask-restx_project | flask-restxcpe:2.3:a:flask-restx_project:flask-restx:*:*:*:*:*:python:*:* |
< 0.5.1 | 0.5.1 |
| NVD | fedoraproject | fedoracpe:2.3:o:fedoraproject:fedora:33:*:*:*:*:*:*:* |
= 33 | |
| NVD | fedoraproject | fedoracpe:2.3:o:fedoraproject:fedora:34:*:*:*:*:*:*:* |
= 34 | |
| OSV | PyPI | flask-restx | < 0.5.1 | 0.5.1 |
References
- https://github.com/advisories/GHSA-3q6g-vf58-7m4g · Third Party Advisory, ADVISORY
- https://github.com/python-restx/flask-restx/blob/fd99fe11a88531f5f3441a278f7020589f9d2cc0/flask_restx/inputs.py#L51 · Patch, Third Party Advisory, WEB
- https://github.com/python-restx/flask-restx/commit/bab31e085f355dd73858fd3715f7ed71849656da · Patch, Third Party Advisory, WEB, FIX
- https://github.com/python-restx/flask-restx/issues/372 · Issue Tracking, Patch, Third Party Advisory, WEB, REPORT
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/5UCTFVDU3677B5OBGK4EF5NMUPJLL6SQ/
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/QUD6SWZLX52AAZUHDETJ2CDMQGEPGFL3/
- https://pypi.org/project/flask-restx/ · Product, Third Party Advisory, WEB, PACKAGE
- https://github.com/python-restx/flask-restx/security/advisories/GHSA-3q6g-vf58-7m4g · WEB
- https://nvd.nist.gov/vuln/detail/CVE-2021-32838 · ADVISORY
- https://github.com/pypa/advisory-database/tree/main/vulns/flask-restx/PYSEC-2021-325.yaml · WEB
- https://github.com/python-restx/flask-restx · PACKAGE
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/5UCTFVDU3677B5OBGK4EF5NMUPJLL6SQ · WEB
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/QUD6SWZLX52AAZUHDETJ2CDMQGEPGFL3 · WEB
History
- 25 Nov 2026 20:33 UTC · NVD: first stored (published 20 Sep 2021)
- 25 Nov 2026 20:12 UTC · OSV: first stored (published 20 Sep 2021)
- 25 Nov 2026 20:11 UTC · OSV: first stored (published 8 Sep 2021)