Live threats

All CVEs / Flask-restx Project

CVE-2021-32838Flask-restx Project Flask-restx

High 7.5 No auth needed

Priority
60
CVSS 3.1
7.5
EPSS
1.9%
probability of exploitation in 30 days · percentile 80
Auth required
No
Published
Sep 20, 2021
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-400
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

What happens

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Flask-restx.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
PyPI flask-restx < 0.5.1 0.5.1 pip install "flask-restx>=0.5.1"
PyPI flask-restx < 0.5.1 0.5.1 pip install "flask-restx>=0.5.1"

Per OSV / GitHub Advisories (GHSA-3q6g-vf58-7m4g, PYSEC-2021-325). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
flask-restx_projectflask-restx< 0.5.1
fedoraprojectfedora33
fedoraprojectfedora34

Official sources

References

Links published by the sources. Open them with care.