Ubuntu CVE Tracker
UBUNTU-CVE-2020-6817
Details
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']}).
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| Ubuntu:Pro:16.04:LTS | python-bleach | All versions before 1.4.2-1ubuntu0.1~esm1 (fixed in 1.4.2-1ubuntu0.1~esm1) |
| Ubuntu:Pro:18.04:LTS | python-bleach | All versions before 2.1.2-1ubuntu0.1~esm1 (fixed in 2.1.2-1ubuntu0.1~esm1) |
| Ubuntu:Pro:20.04:LTS | python-bleach | All versions before 3.1.1-1ubuntu0.1~esm1 (fixed in 3.1.1-1ubuntu0.1~esm1) |
References
- https://ubuntu.com/security/CVE-2020-6817
- 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
- https://www.cve.org/CVERecord?id=CVE-2020-6817
- https://ubuntu.com/security/notices/USN-8077-1