CVE-2021-32838 json
Regular Expression Denial of Service in flask-restx
published 5y ago modified 4mo ago also GHSA-3q6g-vf58-7m4g , PYSEC-2021-325 , EUVD-2021-0085
- cvss
- 7.5
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 1.9%
- EPSS 1.9% chance of exploitation in 30 days, percentile 79%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- pypi flask-restx 0.5.1
- flask-restx_project flask-restx 0.5.1
Is CVE-2021-32838 in your dependencies? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.
Check with FencerVendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2021-32838 updated cvss 7.5
python-flask-restx: Regular expression denial of service in email_regex
-
Red Hat All currently supported Red Hat productsnot affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
Exploit prediction
1.86% chance of exploitation in the next 30 days, higher than 79% of all scored CVEs (FIRST EPSS, 2026-11-09).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| NVD | 2.0 | 5.0 | AV:N/AC:L/Au:N/C:N/I:N/A:P |
| GitHub | 3.1 | 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| pypi | flask-restx | <0.5.1 |
0.5.1 |
Affected products
- python-restx flask-restx
Classification
References
-
github.com
/python-restx/flask-restx/commit/bab31e085f355dd73858fd3715f7ed71849656da
web, patch, third-party-advisory
-
github.com
/python-restx/flask-restx/issues/372
web, issue-tracking, patch, third-party-advisory, report
-
github.com
/python-restx/flask-restx/blob/fd99fe11a88531f5f3441a278f7020589f9d2cc0/flask_restx/inputs.py#L51
web, patch, third-party-advisory
-
lists.fedoraproject.org
/archives/list/package-announce%40lists.fedoraproject.org/message/5UCTFVDU3677B5OBGK4EF5NMUPJLL6SQ/
vendor-advisory
-
lists.fedoraproject.org
/archives/list/package-announce%40lists.fedoraproject.org/message/QUD6SWZLX52AAZUHDETJ2CDMQGEPGFL3/
vendor-advisory
-
github.com
/advisories/GHSA-3q6g-vf58-7m4g
advisory, third-party-advisory
-
pypi.org
/project/flask-restx/
product, third-party-advisory, package
-
github.com
/python-restx/flask-restx/security/advisories/GHSA-3q6g-vf58-7m4g
web
-
nvd.nist.gov
/vuln/detail/CVE-2021-32838
advisory
-
github.com
/pypa/advisory-database/tree/main/vulns/flask-restx/PYSEC-2021-325.yaml
web
-
github.com
/python-restx/flask-restx
package
-
lists.fedoraproject.org
/archives/list/package-announce@lists.fedoraproject.org/message/5UCTFVDU3677B5OBGK4EF5NMUPJLL6SQ
web
-
lists.fedoraproject.org
/archives/list/package-announce@lists.fedoraproject.org/message/QUD6SWZLX52AAZUHDETJ2CDMQGEPGFL3
web
-
pypi.org
/project/flask-restx
web
Sources
- CVE List CVE-2021-32838
- GitHub Advisory GHSA-3q6g-vf58-7m4g
- NVD CVE-2021-32838
- OSV PYSEC-2021-325
Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.