CVE-2020-6817: regular expression denial-of-service (ReDoS) in Bleach

CVE-2020-6817 · Severity: low · CVSS 3.1 · Published 2020-03-30

In Mozilla Bleach before 3.1.4, `bleach.clean` behavior parsing style attributes could result in a regular expression denial of service (ReDoS).

Technologies: bleach (PyPI). Vendors: PyPI.

Quick answers

Is CVE-2020-6817 exploited in the wild?
No. Junglewise Threat Intelligence has no report of CVE-2020-6817 being exploited in the wild.
How severe is CVE-2020-6817?
Low severity, with a CVSS score of 3.1, published 30 March 2020.
Which products and versions are affected?
bleach (PyPI) ECOSYSTEM:introduced=0,fixed=3.1.4.
Is there a fix for CVE-2020-6817?
Yes. bleach (PyPI): upgrade to 3.1.4 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.
Am I affected by CVE-2020-6817?
Check whether you run bleach (PyPI) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

How to fix

  • bleach (PyPI): upgrade to 3.1.4 or later
    pip install "bleach>=3.1.4"

Affected products

  • bleach (PyPI) ECOSYSTEM:introduced=0,fixed=3.1.4

Identifiers

  • CVE-2020-6817
  • GHSA-vqhp-cxgc-6wmm
  • PYSEC-2020-340

This page as Markdown. Free to reuse under CC BY 4.0 with a link back.