CVE-2020-6817
published high CVSS 3.1 · 7.5python-bleach: behavior parsing style attributes could result in a regular expression denial of service (ReDoS)
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Mozilla | — | Mozilla Bleachunspecified to < 3.1.4 | Affected | Not stated | mozilla |
| Debian | jessie | python-bleach | Advisory build | 1.4-1+deb8u1 | DLA-2167-1 |
| SUSE / openSUSE | openSUSE-Leap-15.2 | python2-bleachnoarch | Advisory build | 3.1.5-lp152.2.3.1 | OPENSUSE-SU-2021:0552-1 |
| Ubuntu | bionic | python-bleach | Advisory build | 2.1.2-1ubuntu0.1~esm1 | USN-8077-1 |
| SUSE / openSUSE | openSUSE-Leap-15.2 | python3-bleachnoarch | Advisory build | 3.1.5-lp152.2.3.1 | OPENSUSE-SU-2021:0552-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python310-bleachaarch64 | Advisory build | 6.1.0-1.5 | OPENSUSE-SU-2024:14134-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python310-bleachppc64le | Advisory build | 6.1.0-1.5 | OPENSUSE-SU-2024:14134-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python310-bleachs390x | Advisory build | 6.1.0-1.5 | OPENSUSE-SU-2024:14134-1 |
Show 34 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| SUSE / openSUSE | openSUSE-Tumbleweed | python310-bleachx86_64 | Advisory build | 6.1.0-1.5 | OPENSUSE-SU-2024:14134-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python311-bleachaarch64 | Advisory build | 6.1.0-1.5 | OPENSUSE-SU-2024:14134-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python311-bleachppc64le | Advisory build | 6.1.0-1.5 | OPENSUSE-SU-2024:14134-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python311-bleachs390x | Advisory build | 6.1.0-1.5 | OPENSUSE-SU-2024:14134-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python311-bleachx86_64 | Advisory build | 6.1.0-1.5 | OPENSUSE-SU-2024:14134-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python312-bleachaarch64 | Advisory build | 6.1.0-1.5 | OPENSUSE-SU-2024:14134-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python312-bleachppc64le | Advisory build | 6.1.0-1.5 | OPENSUSE-SU-2024:14134-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python312-bleachs390x | Advisory build | 6.1.0-1.5 | OPENSUSE-SU-2024:14134-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python312-bleachx86_64 | Advisory build | 6.1.0-1.5 | OPENSUSE-SU-2024:14134-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python313-bleachaarch64 | Advisory build | 6.4.0-1.1 | OPENSUSE-SU-2026:11323-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python313-bleachppc64le | Advisory build | 6.4.0-1.1 | OPENSUSE-SU-2026:11323-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python313-bleachs390x | Advisory build | 6.4.0-1.1 | OPENSUSE-SU-2026:11323-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python313-bleachx86_64 | Advisory build | 6.4.0-1.1 | OPENSUSE-SU-2026:11323-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python314-bleachaarch64 | Advisory build | 6.4.0-1.1 | OPENSUSE-SU-2026:11323-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python314-bleachppc64le | Advisory build | 6.4.0-1.1 | OPENSUSE-SU-2026:11323-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python314-bleachs390x | Advisory build | 6.4.0-1.1 | OPENSUSE-SU-2026:11323-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python314-bleachx86_64 | Advisory build | 6.4.0-1.1 | OPENSUSE-SU-2026:11323-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python36-bleachaarch64 | Advisory build | 3.3.0-1.4 | OPENSUSE-SU-2024:11219-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python36-bleachppc64le | Advisory build | 3.3.0-1.4 | OPENSUSE-SU-2024:11219-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python36-bleachs390x | Advisory build | 3.3.0-1.4 | OPENSUSE-SU-2024:11219-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python36-bleachx86_64 | Advisory build | 3.3.0-1.4 | OPENSUSE-SU-2024:11219-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python38-bleachaarch64 | Advisory build | 3.3.0-1.4 | OPENSUSE-SU-2024:11219-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python38-bleachppc64le | Advisory build | 3.3.0-1.4 | OPENSUSE-SU-2024:11219-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python38-bleachs390x | Advisory build | 3.3.0-1.4 | OPENSUSE-SU-2024:11219-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python38-bleachx86_64 | Advisory build | 3.3.0-1.4 | OPENSUSE-SU-2024:11219-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python39-bleachaarch64 | Advisory build | 3.3.0-1.4 | OPENSUSE-SU-2024:11219-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python39-bleachppc64le | Advisory build | 3.3.0-1.4 | OPENSUSE-SU-2024:11219-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python39-bleachs390x | Advisory build | 3.3.0-1.4 | OPENSUSE-SU-2024:11219-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python39-bleachx86_64 | Advisory build | 3.3.0-1.4 | OPENSUSE-SU-2024:11219-1 |
| Ubuntu | bionic | python3-bleach | Advisory build | 2.1.2-1ubuntu0.1~esm1 | USN-8077-1 |
| Ubuntu | focal | python-bleach | Advisory build | 3.1.1-1ubuntu0.1~esm1 | USN-8077-1 |
| Ubuntu | focal | python3-bleach | Advisory build | 3.1.1-1ubuntu0.1~esm1 | USN-8077-1 |
| Ubuntu | xenial | python-bleach | Advisory build | 1.4.2-1ubuntu0.1~esm1 | USN-8077-1 |
| Ubuntu | xenial | python3-bleach | Advisory build | 1.4.2-1ubuntu0.1~esm1 | USN-8077-1 |
Description
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']}).
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 7.5 / 10
- Severity
- high
- Provider
- CISA-ADP · adp
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Mozilla | Mozilla Bleach | unspecified to < 3.1.4 (affected · custom) | mozilla · cna |
Weaknesses
2- regular expression denial-of-service (ReDoS) in BleachSanitizerFilter.sanitize_css gauntlet regular expression
- CWE-1333 CWE-1333 Inefficient Regular Expression Complexity
References
2Provider assertions
3mozilla · cna
CISA-ADP · adp
CISA ADP Vulnrichment
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- f96f1b16e66e4a2becd9a7abb5e6b3f381931a372152c82b6583bba012ee080a
- Ingested
- 23 Sep 2026, 07:51:18 UTC
- Source record
- Official CVE record