CVE-2021-32838: Regular Expression Denial of Service in flask-restx

Published Sep 8, 2021
·
Updated

Flask RESTX contains a regular expression that is vulnerable to ReDoS (Regular Expression Denial of Service) in emailregex.

Other sources

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 emailregex. This is fixed in version 0.5.1.

MITRE

Affected Software

4 affected componentsFixes available
pip/flask-restx<0.5.1
0.5.1
Flask-restx Project Flask-restx Python<0.5.1
Fedoraproject Fedora=33
Fedoraproject Fedora=34

Event History

Sep 8, 2021
Advisory Published
via GitHub·03:41 PM
Sep 20, 2021
CVE Published
via MITRE·05:30 PM
Data Sourced
via MITRE·05:30 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·06:15 PM
RemedyDescriptionSeverityWeaknessAffected Software

Frequently Asked Questions

1

What is the severity of CVE-2021-32838?

The severity of CVE-2021-32838 is classified as high due to the potential for Denial of Service attacks.

2

How do I fix CVE-2021-32838?

To fix CVE-2021-32838, upgrade to Flask-RESTX version 0.5.1 or later.

3

What is affected by CVE-2021-32838?

CVE-2021-32838 affects the Flask-RESTX package versions prior to 0.5.1 and certain Fedora versions.

4

What type of vulnerability is CVE-2021-32838?

CVE-2021-32838 is classified as a Regular Expression Denial of Service (ReDoS) vulnerability.

5

What is the impact of CVE-2021-32838?

The impact of CVE-2021-32838 may result in application unavailability due to resource exhaustion.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203