CVSS 3.1
6.1 mediumCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:NMedium (6.1) in mozilla bleach. EPSS 0.5% estimated probability of exploitation activity in the next 30 days. Fixed in bleach 3.3.0.
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:Nbleach (PyPI): fixed in 3.3.0Explain CVE-2021-23980 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2021-23980?via=ask-ai-copy and https://cve.bz/cve/CVE-2021-23980?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2021-23980 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.
From the CNA's record in the CVE List.
| Product | Affected |
|---|---|
| Mozilla Bleach | before 3.3.0 |
| Advisory | Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|---|
| GHSA-vv2x-vrpj-qqpq | PyPI | bleach | <3.3.0 | 3.3.0 |
| PYSEC-2021-865 | PyPI | bleach | <3.3.0 | 3.3.0 |
| Distribution | Release | Package | Fixed in | Advisory |
|---|---|---|---|---|
| Debian | 9 | python-bleach | 2.0-1+deb9u1 | DLA-2620-1 |
| Debian | 10 | python-bleach | 3.1.2-0+deb10u2 | DSA-4892-1 |
| Debian | 12, 13, 14 | python-bleach | 3.2.1-2.1 | DEBIAN-CVE-2021-23980 |
| Ubuntu | Pro:16.04:LTS | python-bleach | 1.4.2-1ubuntu0.1~esm1 | UBUNTU-CVE-2021-23980 |
| Ubuntu | Pro:18.04:LTS | python-bleach | 2.1.2-1ubuntu0.1~esm1 | UBUNTU-CVE-2021-23980 |
| Ubuntu | Pro:20.04:LTS | python-bleach | 3.1.1-1ubuntu0.1~esm1 | UBUNTU-CVE-2021-23980 |
| Red Hat | ansible_automation_platform:4.2::el7 | automation-hub, python-galaxy-ng, python3-galaxy-ng | 0:4.2.2-1.el7pc | RHSA-2021:0781 |
| Red Hat | ansible_automation_platform:4.2::el7 | python-bleach, python3-bleach | 0:3.3.0-1.el7pc | RHSA-2021:0781 |
| Red Hat | ansible_automation_platform:4.2::el7 | python-bleach-allowlist, python3-bleach-allowlist | 0:1.0.3-1.el7pc | RHSA-2021:0781 |
| Red Hat | ansible_automation_platform:4.2::el7 | python-galaxy-importer, python3-galaxy-importer | 0:0.2.15-1.el7pc | RHSA-2021:0781 |
| Red Hat | ansible_automation_platform:4.2::el7 | python-pulp-ansible, python3-pulp-ansible | 1:0.5.6-1.el7pc | RHSA-2021:0781 |
| Red Hat | ansible_automation_platform:4.2::el7 | python3-django | 0:2.2.18-1.el7pc | RHSA-2021:0781 |
| Red Hat | ansible_automation_platform:4.2::el8 | automation-hub, python-galaxy-ng, python3-galaxy-ng | 0:4.2.2-1.el8pc | RHSA-2021:0781 |
| Red Hat | ansible_automation_platform:4.2::el8 | python-bleach, python3-bleach | 0:3.3.0-1.el8pc | RHSA-2021:0781 |
| Red Hat | ansible_automation_platform:4.2::el8 | python-bleach-allowlist, python3-bleach-allowlist | 0:1.0.3-1.el8pc | RHSA-2021:0781 |
| Red Hat | ansible_automation_platform:4.2::el8 | python-galaxy-importer, python3-galaxy-importer | 0:0.2.15-1.el8pc | RHSA-2021:0781 |
| Red Hat | ansible_automation_platform:4.2::el8 | python-pulp-ansible, python3-pulp-ansible | 1:0.5.6-1.el8pc | RHSA-2021:0781 |
| Red Hat | ansible_automation_platform:4.2::el8 | python3-django | 0:2.2.18-1.el8pc | RHSA-2021:0781 |
| SUSE | Package Hub 15 SP2 | python-bleach | 3.1.5-bp152.2.4.1 | openSUSE-SU-2021:0571-1 |
| openSUSE | Leap 15.2 | python-bleach | 3.1.5-lp152.2.3.1 | openSUSE-SU-2021:0552-1 |
| openSUSE | Tumbleweed | python-bleach | 6.1.0-1.5 | openSUSE-SU-2024:14134-1 |
| openSUSE | Tumbleweed | python-bleach | 6.4.0-1.1 | openSUSE-SU-2026:11323-1 |
| Alpine | v3.15, v3.16, v3.17 and 7 more | py3-bleach | 3.3.0-r0 | ALPINE-CVE-2021-23980 |
From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; SUSE security data, CC BY 4.0; the Alpine secdb, CC BY-SA 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat · SUSE · openSUSE · Alpine.
Red Hat rates this Moderate.
| Product | Package | State | Advisory |
|---|---|---|---|
| Red Hat Automation Hub 4.2 for RHEL 7 | automation-hub-0:4.2.2-1.el7pc | Fixed 2021-03-09 | RHSA-2021:0781 |
| Red Hat Automation Hub 4.2 for RHEL 7 | python3-django-0:2.2.18-1.el7pc | Fixed 2021-03-09 | RHSA-2021:0781 |
| Red Hat Automation Hub 4.2 for RHEL 7 | python-bleach-0:3.3.0-1.el7pc | Fixed 2021-03-09 | RHSA-2021:0781 |
| Red Hat Automation Hub 4.2 for RHEL 7 | python-bleach-allowlist-0:1.0.3-1.el7pc | Fixed 2021-03-09 | RHSA-2021:0781 |
| Red Hat Automation Hub 4.2 for RHEL 7 | python-galaxy-importer-0:0.2.15-1.el7pc | Fixed 2021-03-09 | RHSA-2021:0781 |
| Red Hat Automation Hub 4.2 for RHEL 7 | python-galaxy-ng-0:4.2.2-1.el7pc | Fixed 2021-03-09 | RHSA-2021:0781 |
| Red Hat Automation Hub 4.2 for RHEL 7 | python-pulp-ansible-1:0.5.6-1.el7pc | Fixed 2021-03-09 | RHSA-2021:0781 |
| Red Hat Automation Hub 4.2 for RHEL 8 | automation-hub-0:4.2.2-1.el8pc | Fixed 2021-03-09 | RHSA-2021:0781 |
| Red Hat Automation Hub 4.2 for RHEL 8 | python3-django-0:2.2.18-1.el8pc | Fixed 2021-03-09 | RHSA-2021:0781 |
| Red Hat Automation Hub 4.2 for RHEL 8 | python-bleach-0:3.3.0-1.el8pc | Fixed 2021-03-09 | RHSA-2021:0781 |
| Red Hat Automation Hub 4.2 for RHEL 8 | python-bleach-allowlist-0:1.0.3-1.el8pc | Fixed 2021-03-09 | RHSA-2021:0781 |
| Red Hat Automation Hub 4.2 for RHEL 8 | python-galaxy-importer-0:0.2.15-1.el8pc | Fixed 2021-03-09 | RHSA-2021:0781 |
| Red Hat Automation Hub 4.2 for RHEL 8 | python-galaxy-ng-0:4.2.2-1.el8pc | Fixed 2021-03-09 | RHSA-2021:0781 |
| Red Hat Automation Hub 4.2 for RHEL 8 | python-pulp-ansible-1:0.5.6-1.el8pc | Fixed 2021-03-09 | RHSA-2021:0781 |
Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2021-23980.
The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.