CVE-2021-32838

Regular Expression Denial of Service in flask-restx

HIGH
7.5
CVSS Score
Published: September 20, 2021 at 05:30 PM UTC
Updated: June 17, 2026 at 03:53 AM UTC
3 products affected across 3 vendorsFedoraFlask RestxFlask-RESTX

Using flask-restx by python-restx?

Get instant alerts when new vulnerabilities affect flask-restx - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
HIGH7.5
Exploit prediction
EPSS 2%

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.

Affected

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

v < 0.5.1
Affected range stops below 0.5.1, so it looks safe — our inference, not a vendor statement
v < 0.5.1
Affected range stops below 0.5.1, so it looks safe — our inference, not a vendor statement

CVSS

7.5HIGHGitHub_M
Attack Vector
NETWORK
Complexity
LOW
Privileges
NONE
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
NONE
Integrity
NONE
Availability
HIGH
Vector?

Quick Info

StatusMODIFIED
CWE
CWE-400

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card