Name | CVE-2020-6817 |
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']}). |
Source | CVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more) |
References | DLA-2167-1 |
Debian Bugs | 955388 |
The table below lists information on source packages.
Source Package | Release | Version | Status |
---|---|---|---|
python-bleach (PTS) | bullseye | 3.2.1-2.1 | fixed |
bookworm | 5.0.1-2 | fixed | |
sid, trixie | 6.2.0-1 | fixed |
The information below is based on the following data on fixed versions.
Package | Type | Release | Fixed Version | Urgency | Origin | Debian Bugs |
---|---|---|---|---|---|---|
python-bleach | source | jessie | 1.4-1+deb8u1 | DLA-2167-1 | ||
python-bleach | source | (unstable) | 3.1.4-1 | 955388 |
[buster] - python-bleach <no-dsa> (Minor issue; some regression potential)
[stretch] - python-bleach <no-dsa> (Minor issue; some regression potential)
https://github.com/mozilla/bleach/security/advisories/GHSA-vqhp-cxgc-6wmm
https://bugzilla.mozilla.org/show_bug.cgi?id=1623633
https://github.com/mozilla/bleach/commit/d6018f2539d271963c3e7f54f36ef11900363c69
https://github.com/mozilla/bleach/commit/6e74a5027b57055cdaeb040343d32934121392a7
Regression report: https://github.com/mozilla/bleach/pull/530