Bug 1820616 (CVE-2020-6817) - CVE-2020-6817 python-bleach: behavior parsing style attributes could result in a regular expression denial of service (ReDoS)
Summary: CVE-2020-6817 python-bleach: behavior parsing style attributes could result i...
Keywords:
Status: CLOSED UPSTREAM
Alias: CVE-2020-6817
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Red Hat Product Security
QA Contact:
URL:
Whiteboard:
Depends On: 1820624 1820625
Blocks:
TreeView+ depends on / blocked
 
Reported: 2020-04-03 13:10 UTC by Michael Kaplan
Modified: 2020-04-03 16:31 UTC (History)
2 users (show)

Fixed In Version: python-bleach 3.1.4
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2020-04-03 16:31:57 UTC


Attachments (Terms of Use)

Description Michael Kaplan 2020-04-03 13:10:30 UTC
Calls to bleach.clean with an allowed tag with an allowed style attribute are vulnerable to ReDoS. For example, bleach.clean(..., attributes={'a': ['style']}).

Comment 1 Michael Kaplan 2020-04-03 13:26:47 UTC
Upstream Reference:

https://github.com/mozilla/bleach/security/advisories/GHSA-vqhp-cxgc-6wmm

Comment 2 Michael Kaplan 2020-04-03 13:27:16 UTC
Created python-bleach tracking bugs for this issue:

Affects: epel-all [bug 1820624]
Affects: fedora-all [bug 1820625]

Comment 3 Product Security DevOps Team 2020-04-03 16:31:57 UTC
This CVE Bugzilla entry is for community support informational purposes only as it does not affect a package in a commercially supported Red Hat product. Refer to the dependent bugs for status of those individual community products.


Note You need to log in before you can comment on or make changes to this bug.