CVE-2020-6817 regular expression denial-of-service (ReDoS) in Bleach
HighCVSS 7.5
EPSS 0.72%
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- Proof of concept public · automatable: yes · technical impact: partial
- Technology
- UbuntuDebian
Description
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']}).
Upgrade path
9 packages: 9 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| debian/python-bleach(Debian 12) | < 3.1.4-1 | 3.1.4-1 | Fixed |
| debian/python-bleach(Debian 13) | < 3.1.4-1 | 3.1.4-1 | Fixed |
| debian/python-bleach(Debian 14) | < 3.1.4-1 | 3.1.4-1 | Fixed |
| Mozilla Bleach | < 3.1.4 | 3.1.4 | Fixed |
| mozilla bleach | < 3.1.4 | 3.1.4 | Fixed |
| pypi bleach(PyPI) | < 3.1.4; = 0.1; = 0.1.1; = 0.1.2 +41 more | 3.1.4 | Fixed |
| ubuntu/python-bleach(Ubuntu Pro 16.04) | < 1.4.2-1ubuntu0.1~esm1; = 1.4-1; = 1.4.2-1 | 1.4.2-1ubuntu0.1~esm1 | Fixed |
| ubuntu/python-bleach(Ubuntu Pro 18.04) | < 2.1.2-1ubuntu0.1~esm1; = 2.0-1; = 2.1.2-1 | 2.1.2-1ubuntu0.1~esm1 | Fixed |
| ubuntu/python-bleach(Ubuntu Pro 20.04) | < 3.1.1-1ubuntu0.1~esm1; = 3.1.0-1; = 3.1.0-2; = 3.1.1-1 | 3.1.1-1ubuntu0.1~esm1 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| pypi bleach(PyPI) | < 3.1.4 | 3.1.4 |
| pypi bleach(PyPI) | = 0.1 | No fix listed |
| pypi bleach(PyPI) | = 0.1.1 | No fix listed |
| pypi bleach(PyPI) | = 0.1.2 | No fix listed |
| pypi bleach(PyPI) | = 0.2 | No fix listed |
| pypi bleach(PyPI) | = 0.2.1 | No fix listed |
| pypi bleach(PyPI) | = 0.2.2 | No fix listed |
| pypi bleach(PyPI) | = 0.3 | No fix listed |
| pypi bleach(PyPI) | = 0.3.1 | No fix listed |
| pypi bleach(PyPI) | = 0.3.3 | No fix listed |
| pypi bleach(PyPI) | = 0.3.4 | No fix listed |
| pypi bleach(PyPI) | = 0.5.0 | No fix listed |
| pypi bleach(PyPI) | = 0.5.1 | No fix listed |
| pypi bleach(PyPI) | = 1.0.0 | No fix listed |
| pypi bleach(PyPI) | = 1.0.1 | No fix listed |
| pypi bleach(PyPI) | = 1.0.2 | No fix listed |
| pypi bleach(PyPI) | = 1.0.3 | No fix listed |
| pypi bleach(PyPI) | = 1.0.4 | No fix listed |
| pypi bleach(PyPI) | = 1.1.0 | No fix listed |
| pypi bleach(PyPI) | = 1.1.1 | No fix listed |
| pypi bleach(PyPI) | = 1.1.2 | No fix listed |
| pypi bleach(PyPI) | = 1.1.3 | No fix listed |
| pypi bleach(PyPI) | = 1.1.4 | No fix listed |
| pypi bleach(PyPI) | = 1.1.5 | No fix listed |
| pypi bleach(PyPI) | = 1.2 | No fix listed |
Show 35 more
| Product | Affected versions | Fixed in |
|---|---|---|
| pypi bleach(PyPI) | = 1.2.1 | No fix listed |
| pypi bleach(PyPI) | = 1.2.2 | No fix listed |
| pypi bleach(PyPI) | = 1.4 | No fix listed |
| pypi bleach(PyPI) | = 1.4.1 | No fix listed |
| pypi bleach(PyPI) | = 1.4.2 | No fix listed |
| pypi bleach(PyPI) | = 1.4.3 | No fix listed |
| pypi bleach(PyPI) | = 1.5.0 | No fix listed |
| pypi bleach(PyPI) | = 2.0.0 | No fix listed |
| pypi bleach(PyPI) | = 2.1 | No fix listed |
| pypi bleach(PyPI) | = 2.1.1 | No fix listed |
| pypi bleach(PyPI) | = 2.1.2 | No fix listed |
| pypi bleach(PyPI) | = 2.1.3 | No fix listed |
| pypi bleach(PyPI) | = 2.1.4 | No fix listed |
| pypi bleach(PyPI) | = 3.0.0 | No fix listed |
| pypi bleach(PyPI) | = 3.0.1 | No fix listed |
| pypi bleach(PyPI) | = 3.0.2 | No fix listed |
| pypi bleach(PyPI) | = 3.1.0 | No fix listed |
| pypi bleach(PyPI) | = 3.1.1 | No fix listed |
| pypi bleach(PyPI) | = 3.1.2 | No fix listed |
| pypi bleach(PyPI) | = 3.1.3 | No fix listed |
| debian/python-bleach(Debian:12) | < 3.1.4-1 | 3.1.4-1 |
| debian/python-bleach(Debian:13) | < 3.1.4-1 | 3.1.4-1 |
| debian/python-bleach(Debian:14) | < 3.1.4-1 | 3.1.4-1 |
| mozilla bleach | < 3.1.4 | 3.1.4 |
| Mozilla Bleach | < 3.1.4 | 3.1.4 |
| ubuntu/python-bleach(Ubuntu:Pro:16.04) | < 1.4.2-1ubuntu0.1~esm1 | 1.4.2-1ubuntu0.1~esm1 |
| ubuntu/python-bleach(Ubuntu:Pro:16.04) | = 1.4-1 | No fix listed |
| ubuntu/python-bleach(Ubuntu:Pro:16.04) | = 1.4.2-1 | No fix listed |
| ubuntu/python-bleach(Ubuntu:Pro:18.04) | < 2.1.2-1ubuntu0.1~esm1 | 2.1.2-1ubuntu0.1~esm1 |
| ubuntu/python-bleach(Ubuntu:Pro:18.04) | = 2.0-1 | No fix listed |
| ubuntu/python-bleach(Ubuntu:Pro:18.04) | = 2.1.2-1 | No fix listed |
| ubuntu/python-bleach(Ubuntu:Pro:20.04) | < 3.1.1-1ubuntu0.1~esm1 | 3.1.1-1ubuntu0.1~esm1 |
| ubuntu/python-bleach(Ubuntu:Pro:20.04) | = 3.1.0-1 | No fix listed |
| ubuntu/python-bleach(Ubuntu:Pro:20.04) | = 3.1.0-2 | No fix listed |
| ubuntu/python-bleach(Ubuntu:Pro:20.04) | = 3.1.1-1 | No fix listed |
References
- github.com issue-tracking vendor-advisory
- nvd.nist.gov third-party-advisory vendor-advisory
- bugzilla.mozilla.org exploit issue-tracking
- github.com product
- github.com
- github.com
- snyk.io vendor-advisory
- blog.r2c.dev technical-description
- github.com
- Debian Security Tracker CVE-2020-6817 vendor-advisory
- bugs.debian.org issue-tracking
- ubuntu.com issue-tracking
- github.com issue-tracking
- github.com issue-tracking
- www.cve.org issue-tracking
- ubuntu.com vendor-advisory