CVE-2020-6817

python-bleach: bleach.clean behavior parsing style attributes could result in a regular expression denial of service (ReDoS)

CVE-2020-6817 is fixed in 2 products on 1 platform, first by python-bleach 2.1.2-1ubuntu0.1~esm1, released February 16, 2023. It is not reported as exploited. Patch Radar priority: High.

High
CVSS
7.5
high
Exploitation
None reported
No vendor assessment
CISA KEV
Not listed
Not in the Known Exploited Vulnerabilities catalog
EPSS
0.0072
54th percentile

bleach.clean behavior parsing style attributes could result in a regular expression denial of service (ReDoS). Calls to bleach.clean with an allowed tag with an allowed style attribute are vulnerable to ReDoS. For example, bleach.clean(..., attributes={'a': ['style']}).

Where it's fixed

ProductFixed inFixReleased
Linux
python-bleach · Debian 12.15 (bookworm) 3.1.4-1 DEBIAN-CVE-2020-6817 Feb 16, 2023
python-bleach · Debian 13.5 (trixie) 3.1.4-1 DEBIAN-CVE-2020-6817 Feb 16, 2023
python-bleach · Debian 14 3.1.4-1 DEBIAN-CVE-2020-6817 Feb 16, 2023
python-bleach · Ubuntu 18.04.6 LTS (bionic) 2.1.2-1ubuntu0.1~esm1 python-bleach 2.1.2-1ubuntu0.1~esm1 Feb 16, 2023
python3-bleach · Ubuntu 18.04.6 LTS (bionic) 2.1.2-1ubuntu0.1~esm1 python3-bleach 2.1.2-1ubuntu0.1~esm1 Feb 16, 2023
python3-bleach · Ubuntu 20.04 LTS (focal) 3.1.1-1ubuntu0.1~esm1 python3-bleach 3.1.1-1ubuntu0.1~esm1 Feb 16, 2023

Patch Radar data is free to use with attribution. Terms and how to credit it.

Product names, logos and trademarks shown on Patch Radar belong to their respective owners. They are used only to identify the software each security fix applies to and to help readers find their platform. Their use does not imply any affiliation with, or endorsement by, those owners, and Patchblox is not affiliated with any of them.