Resource management error in Bleach - CVE-2020-6817
Published: March 26, 2020 / Updated: April 7, 2020
Vulnerability identifier: #VU26415
CSH Severity: Low
CVSS v4: 5.1 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N]
CVE-ID: CVE-2020-6817
CWE-ID: CWE-399
Exploitation vector: Remote access
Exploit availability:
No public exploit available
Vulnerability details
The vulnerability allows a remote attacker to perform a denial of service (DoS) attack.
The vulnerability exists due to improper input validation when parsing style attrbitues. A remote attacker can create a specially crafted web page that can result in regular expression denial of service (ReDoS).
Affected software
Bleach
Fedora
Ubuntu
python-bleach (Ubuntu package)
python-bleach
Fedora
Ubuntu
python-bleach (Ubuntu package)
python-bleach
How to mitigate CVE-2020-6817
Install updates from vendor's website.
Bleach - update to 3.1.4
python-bleach (Ubuntu package) - addressed in versions 1.4.2-1ubuntu0.1~esm1, 2.1.2-1ubuntu0.1~esm1, 3.1.1-1ubuntu0.1~esm1
python-bleach - addressed in versions 3.1.4-2.el8, 3.1.4-2.fc30, 3.1.4-2.fc31, 3.1.4-2.fc32
python-bleach (Ubuntu package) - addressed in versions 1.4.2-1ubuntu0.1~esm1, 2.1.2-1ubuntu0.1~esm1, 3.1.1-1ubuntu0.1~esm1
python-bleach - addressed in versions 3.1.4-2.el8, 3.1.4-2.fc30, 3.1.4-2.fc31, 3.1.4-2.fc32