Advisory

GHSA-3q6g-vf58-7m4g

Also known as: CVE-2021-32838, PYSEC-2021-325

Summary

Regular Expression Denial of Service in flask-restx

Details

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

Severity

High Basis: The source's own band: HIGH

Dates

Published
2021-09-08 15:41 UTC
Modified
2026-07-08 06:28 UTC

Affected packages and fixes

flask-restx

PyPI · All systems

Affected

  • introduced 0, fixed 0.5.1 (ecosystem)

Fixed versions

0.5.1

Fix

  • Fixed version 0.5.1
    pip install --upgrade flask-restx==0.5.1

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences