High
Security advisory
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.
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2021-32838
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 31 Oct 2026, 11:17 UTC · Revision 1
Source evidence
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.
osv:CVE-2021-32838
Complete source record
{
"id": "03f6658c456b20703f085ea2cfb574c265661eb4247db1ee90a659089a14dfe2",
"url": "https://osv.dev/vulnerability/CVE-2021-32838",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "CVE-2021-32838",
"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.",
"evidence": "osv:CVE-2021-32838",
"products": [],
"severity": "high",
"structured": {
"id": "CVE-2021-32838",
"aliases": [
"CVE-2021-32838",
"GHSA-3q6g-vf58-7m4g",
"PYSEC-2021-325"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://github.com/python-restx/flask-restx",
"type": "GIT",
"events": [
{
"introduced": "0"
},
{
"fixed": "c574c7934c96a4ce96acfab14edaa941e4674e08"
},
{
"fixed": "bab31e085f355dd73858fd3715f7ed71849656da"
}
],
"database_specific": {
"extracted_events": [
{
"cpe": "cpe:2.3:a:flask-restx_project:flask-restx:*:*:*:*:*:python:*:*",
"range": [
{
"introduced": "0"
},
{
"fixed": "0.5.1"
}
],
"source": "CPE_RANGE"
},
{
"range": [
{
"fixed": "bab31e085f355dd73858fd3715f7ed71849656da"
}
],
"source": "REFERENCES_COMMIT"
}
]
}
}
],
"versions": [
"0.5.0",
"0.4.0",
"0.3.0",
"0.2.0",
"0.1.1"
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2021-32838.json"
}
}
],
"modified": "2026-10-20T10:53:46.682086090Z",
"provider": "osv",
"references": [
"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://github.com/advisories/GHSA-3q6g-vf58-7m4g",
"https://github.com/python-restx/flask-restx/blob/fd99fe11a88531f5f3441a278f7020589f9d2cc0/flask_restx/inputs.py#L51",
"https://github.com/python-restx/flask-restx/commit/bab31e085f355dd73858fd3715f7ed71849656da",
"https://github.com/python-restx/flask-restx/issues/372",
"https://pypi.org/project/flask-restx/"
],
"provider_metadata": {
"unresolved_ranges": [
{
"cpes": [
"cpe:2.3:o:fedoraproject:fedora:33:*:*:*:*:*:*:*",
"cpe:2.3:o:fedoraproject:fedora:34:*:*:*:*:*:*:*"
],
"vendor_product": "fedoraproject:fedora",
"extracted_events": [
{
"range": [
{
"introduced": "33"
},
{
"last_affected": "33"
},
{
"introduced": "34"
},
{
"last_affected": "34"
}
],
"source": "CPE_STRING"
}
]
}
]
}
},
"related_cves": [
{
"value": "CVE-2021-32838",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 384609,
"published_at": "2021-09-20T18:15:11.01+00:00"
}