CVE-2018-7753
An issue was discovered in Bleach 2.1.x before 2.1.3. Attributes that ...
Severity by source
Trivy's own label is CRITICAL. Rated critical by NVD, GHSA. Rated lower by Ubuntu (medium).
Description
An issue was discovered in Bleach 2.1.x before 2.1.3. Attributes that have URI values weren't properly sanitized if the values contained character entities. Using character entities, it was possible to construct a URI value with a scheme that was not allowed that would slide through unsanitized.
Affected packages and fixed versions
| Source | Package | Fixed in |
|---|---|---|
| pip::GitHub Security Advisory pip | bleach | 2.1.3 |
| debian 11 | python-bleach | 2.1.3-1 |
| debian 12 | python-bleach | 2.1.3-1 |
| debian 13 | python-bleach | 2.1.3-1 |
| debian 14 | python-bleach | 2.1.3-1 |
| echo | python-bleach | 2.1.3-1 |
| ubuntu 18.04-ESM | python-bleach | 2.1.2-1ubuntu0.1~esm1 |
References
- https://bugs.debian.org/892252
- https://github.com/mozilla/bleach
- https://github.com/mozilla/bleach/commit/c5df5789ec3471a31311f42c2d19fc2cf21b35ef
- https://github.com/mozilla/bleach/pull/356
- https://github.com/mozilla/bleach/releases/tag/v2.1.3
- https://github.com/pypa/advisory-database/tree/main/vulns/bleach/PYSEC-2018-51.yaml
- https://nvd.nist.gov/vuln/detail/CVE-2018-7753
- https://ubuntu.com/security/notices/USN-8077-1