bleach
Affected
- introduced
0, fixed3.1.4(ecosystem)
Fixed versions
3.1.4
Fix
- Fixed version
3.1.4pip install --upgrade bleach==3.1.4
Advisory
Also known as: CVE-2020-6817, PYSEC-2020-340, SNYK-PYTHON-BLEACH-561754
regular expression denial-of-service (ReDoS) in Bleach
Impact
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']}).
Patches
3.1.4
Workarounds
bleach.clean callsReferences
Credits
For more information
If you have any questions or comments about this advisory:
High Basis: The source's own band: HIGH
0, fixed 3.1.4 (ecosystem)3.1.4
3.1.4pip install --upgrade bleach==3.1.4Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.
Check your own computer: guard packages check
Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0