ADVISORIES

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

EcosystemPackageAffected versions
Ubuntu:Pro:16.04:LTSpython-bleach
All versions before 1.4.2-1ubuntu0.1~esm1 (fixed in 1.4.2-1ubuntu0.1~esm1)
Ubuntu:Pro:18.04:LTSpython-bleach
All versions before 2.1.2-1ubuntu0.1~esm1 (fixed in 2.1.2-1ubuntu0.1~esm1)
Ubuntu:Pro:20.04:LTSpython-bleach
All versions before 3.1.1-1ubuntu0.1~esm1 (fixed in 3.1.1-1ubuntu0.1~esm1)

References