{"id":"CVE-2021-32838","state":"PUBLISHED","title":"Regular Expression Denial of Service in flask-restx","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.","publishedAt":"2021-09-20T17:30:13.000Z","updatedAt":"2024-08-03T23:33:55.752Z","severity":{"score":7.5,"label":"High","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","source":"GitHub_M"},"assigner":"GitHub_M","products":["python-restx flask-restx"],"affected":[{"vendor":"python-restx","product":"flask-restx","versions":[{"version":"< 0.5.1","status":"affected"}]}],"references":["https://github.com/advisories/GHSA-3q6g-vf58-7m4g","https://github.com/python-restx/flask-restx/issues/372","https://github.com/python-restx/flask-restx/commit/bab31e085f355dd73858fd3715f7ed71849656da","https://github.com/python-restx/flask-restx/blob/fd99fe11a88531f5f3441a278f7020589f9d2cc0/flask_restx/inputs.py#L51","https://pypi.org/project/flask-restx/","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/"],"weaknesses":["CWE-400"],"ingestedAt":"2026-10-29T19:48:33.225Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2021/32xxx/CVE-2021-32838.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2021-32838","state":"PUBLISHED","datePublished":"2021-09-20T17:30:13.000Z","dateUpdated":"2024-08-03T23:33:55.752Z","assignerShortName":"GitHub_M","assignerOrgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateReserved":"2021-05-12T00:00:00.000Z"},"containers":{"cna":{"title":"Regular Expression Denial of Service in flask-restx","descriptions":[{"lang":"en","value":"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":[{"vendor":"python-restx","product":"flask-restx","versions":[{"version":"< 0.5.1","status":"affected"}]}],"references":[{"url":"https://github.com/advisories/GHSA-3q6g-vf58-7m4g","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/python-restx/flask-restx/issues/372","tags":["x_refsource_MISC"]},{"url":"https://github.com/python-restx/flask-restx/commit/bab31e085f355dd73858fd3715f7ed71849656da","tags":["x_refsource_MISC"]},{"url":"https://github.com/python-restx/flask-restx/blob/fd99fe11a88531f5f3441a278f7020589f9d2cc0/flask_restx/inputs.py#L51","tags":["x_refsource_MISC"]},{"url":"https://pypi.org/project/flask-restx/","tags":["x_refsource_MISC"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/5UCTFVDU3677B5OBGK4EF5NMUPJLL6SQ/","name":"FEDORA-2021-0739f45529","tags":["vendor-advisory","x_refsource_FEDORA"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/QUD6SWZLX52AAZUHDETJ2CDMQGEPGFL3/","name":"FEDORA-2021-67b7695f95","tags":["vendor-advisory","x_refsource_FEDORA"]}],"metrics":[{"cvssV3_1":{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"HIGH","baseScore":7.5,"baseSeverity":"HIGH","confidentialityImpact":"NONE","integrityImpact":"NONE","privilegesRequired":"NONE","scope":"UNCHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","version":"3.1"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-400","description":"CWE-400 Uncontrolled Resource Consumption","lang":"en","type":"CWE"}]}],"providerMetadata":{"shortName":"GitHub_M","dateUpdated":"2021-09-30T02:06:25.000Z","orgId":"a0819718-46f1-4df5-94e2-005712e83aaa"},"source":{"advisory":"GHSA-3q6g-vf58-7m4g","discovery":"UNKNOWN"},"x_generator":{"engine":"Vulnogram 0.0.9"},"x_legacyV4Record":{"CVE_data_meta":{"ASSIGNER":"security-advisories@github.com","ID":"CVE-2021-32838","STATE":"PUBLIC","TITLE":"Regular Expression Denial of Service in flask-restx"},"affects":{"vendor":{"vendor_data":[{"product":{"product_data":[{"product_name":"flask-restx","version":{"version_data":[{"version_value":"< 0.5.1"}]}}]},"vendor_name":"python-restx"}]}},"data_format":"MITRE","data_type":"CVE","data_version":"4.0","description":{"description_data":[{"lang":"eng","value":"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."}]},"generator":{"engine":"Vulnogram 0.0.9"},"impact":{"cvss":{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"HIGH","baseScore":7.5,"baseSeverity":"HIGH","confidentialityImpact":"NONE","integrityImpact":"NONE","privilegesRequired":"NONE","scope":"UNCHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","version":"3.1"}},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"CWE-400 Uncontrolled Resource Consumption"}]}]},"references":{"reference_data":[{"name":"https://github.com/advisories/GHSA-3q6g-vf58-7m4g","refsource":"CONFIRM","url":"https://github.com/advisories/GHSA-3q6g-vf58-7m4g"},{"name":"https://github.com/python-restx/flask-restx/issues/372","refsource":"MISC","url":"https://github.com/python-restx/flask-restx/issues/372"},{"name":"https://github.com/python-restx/flask-restx/commit/bab31e085f355dd73858fd3715f7ed71849656da","refsource":"MISC","url":"https://github.com/python-restx/flask-restx/commit/bab31e085f355dd73858fd3715f7ed71849656da"},{"name":"https://github.com/python-restx/flask-restx/blob/fd99fe11a88531f5f3441a278f7020589f9d2cc0/flask_restx/inputs.py#L51","refsource":"MISC","url":"https://github.com/python-restx/flask-restx/blob/fd99fe11a88531f5f3441a278f7020589f9d2cc0/flask_restx/inputs.py#L51"},{"name":"https://pypi.org/project/flask-restx/","refsource":"MISC","url":"https://pypi.org/project/flask-restx/"},{"name":"FEDORA-2021-0739f45529","refsource":"FEDORA","url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/5UCTFVDU3677B5OBGK4EF5NMUPJLL6SQ/"},{"name":"FEDORA-2021-67b7695f95","refsource":"FEDORA","url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/QUD6SWZLX52AAZUHDETJ2CDMQGEPGFL3/"}]},"source":{"advisory":"GHSA-3q6g-vf58-7m4g","discovery":"UNKNOWN"}}},"adp":[{"title":"CVE Program Container","references":[{"url":"https://github.com/advisories/GHSA-3q6g-vf58-7m4g","tags":["x_refsource_CONFIRM","x_transferred"]},{"url":"https://github.com/python-restx/flask-restx/issues/372","tags":["x_refsource_MISC","x_transferred"]},{"url":"https://github.com/python-restx/flask-restx/commit/bab31e085f355dd73858fd3715f7ed71849656da","tags":["x_refsource_MISC","x_transferred"]},{"url":"https://github.com/python-restx/flask-restx/blob/fd99fe11a88531f5f3441a278f7020589f9d2cc0/flask_restx/inputs.py#L51","tags":["x_refsource_MISC","x_transferred"]},{"url":"https://pypi.org/project/flask-restx/","tags":["x_refsource_MISC","x_transferred"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/5UCTFVDU3677B5OBGK4EF5NMUPJLL6SQ/","name":"FEDORA-2021-0739f45529","tags":["vendor-advisory","x_refsource_FEDORA","x_transferred"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/QUD6SWZLX52AAZUHDETJ2CDMQGEPGFL3/","name":"FEDORA-2021-67b7695f95","tags":["vendor-advisory","x_refsource_FEDORA","x_transferred"]}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2024-08-03T23:33:55.752Z"}}]}}}