CVSS 3.1
7.1 highCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:LHigh (7.1). EPSS 2.7% estimated probability of exploitation activity in the next 30 days. Fixed in lxml 4.6.5.
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:Llxml (PyPI): fixed in 4.6.5Explain CVE-2021-43818 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2021-43818?via=ask-ai-copy and https://cve.bz/cve/CVE-2021-43818?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-43818 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 NVD's CPE matches.
| Product | Affected |
|---|---|
| lxml:lxml | before 4.6.5 |
| fedoraproject:fedora | 34 |
| fedoraproject:fedora | 35 |
| debian:debian_linux | 9.0 |
| debian:debian_linux | 10.0 |
| debian:debian_linux | 11.0 |
| oracle:communications_cloud_native_core_binding_support_function | 22.1.3 |
| oracle:communications_cloud_native_core_network_exposure_function | 22.1.1 |
| oracle:communications_cloud_native_core_policy | 22.2.0 |
| oracle:http_server | 12.2.1.3.0 |
| oracle:http_server | 12.2.1.4.0 |
| oracle:zfs_storage_appliance_kit | 8.8 |
| Advisory | Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|---|
| GHSA-55x5-fj6c-h6m8 | PyPI | lxml | <4.6.5 | 4.6.5 |
| PYSEC-2021-852 | PyPI | lxml | <4.6.5 | 4.6.5 |
| Distribution | Release | Package | Fixed in | Advisory |
|---|---|---|---|---|
| Debian | 9 | lxml | 3.7.1-1+deb9u5 | DLA-2871-1 |
| Debian | 10 | lxml | 4.3.2-1+deb10u4 | DSA-5043-1 |
| Debian | 11 | lxml | 4.6.3+dfsg-0.1+deb11u1 | DSA-5043-1 |
| Debian | 12, 13, 14 | lxml | 4.7.1-1 | DEBIAN-CVE-2021-43818 |
| Ubuntu | 18.04:LTS | lxml | 4.2.1-1ubuntu0.6 | UBUNTU-CVE-2021-43818 USN-5225-1 |
| Ubuntu | 20.04:LTS | lxml | 4.5.0-1ubuntu0.5 | UBUNTU-CVE-2021-43818 USN-5225-1 |
| Ubuntu | 22.04:LTS | lxml | 4.7.1-1 | UBUNTU-CVE-2021-43818 |
| Ubuntu | Pro:14.04:LTS | lxml | 3.3.3-1ubuntu0.2+esm5 | UBUNTU-CVE-2021-43818 USN-5225-1 |
| Ubuntu | Pro:16.04:LTS | lxml | 3.5.0-1ubuntu0.4+esm2 | UBUNTU-CVE-2021-43818 USN-5225-1 |
| Red Hat | enterprise_linux:8::appstream | Cython, python2-Cython, Cython-debugsource and 1 more | 0:0.28.1-7.module+el8.1.0+3111+de3f2d8e | RHSA-2022:1821 |
| Red Hat | enterprise_linux:8::appstream | Cython, python38-Cython, Cython-debugsource and 1 more | 0:0.29.14-4.module+el8.4.0+8888+89bc7e79 | RHSA-2022:1764 |
| Red Hat | enterprise_linux:8::appstream | PyYAML, python2-pyyaml, PyYAML-debugsource and 1 more | 0:3.12-16.module+el8.1.0+3111+de3f2d8e | RHSA-2022:1821 |
| Red Hat | enterprise_linux:8::appstream | PyYAML, python38-pyyaml, PyYAML-debugsource and 1 more | 0:5.4.1-1.module+el8.5.0+10721+14d8e0d5 | RHSA-2022:1764 |
| Red Hat | enterprise_linux:8::appstream | PyYAML, python39-pyyaml, PyYAML-debugsource and 1 more | 0:5.4.1-1.module+el8.5.0+10613+59a13ec4 | RHSA-2022:1763 |
| Red Hat | enterprise_linux:8::appstream | babel, python2-babel | 0:2.5.1-10.module+el8.5.0+11014+88fc0d0b | RHSA-2022:1821 |
| Red Hat | enterprise_linux:8::appstream | babel, python38-babel | 0:2.7.0-11.module+el8.5.0+11015+9c1c7c42 | RHSA-2022:1764 |
| Red Hat | enterprise_linux:8::appstream | mod_wsgi, python38-mod_wsgi | 0:4.6.8-3.module+el8.4.0+8888+89bc7e79 | RHSA-2022:1764 |
| Red Hat | enterprise_linux:8::appstream | mod_wsgi, python39-mod_wsgi | 0:4.7.1-4.module+el8.4.0+9822+20bf1249 | RHSA-2022:1763 |
| Red Hat | enterprise_linux:8::appstream | numpy, python2-numpy, numpy-debugsource and 3 more | 1:1.14.2-16.module+el8.4.0+9406+221a4565 | RHSA-2022:1821 |
| Red Hat | enterprise_linux:8::appstream | numpy, python38-numpy, numpy-debugsource and 3 more | 0:1.17.3-6.module+el8.5.0+12205+a865257a | RHSA-2022:1764 |
| Red Hat | enterprise_linux:8::appstream | numpy, python39-numpy, numpy-debugsource and 3 more | 0:1.19.4-3.module+el8.5.0+12204+54860423 | RHSA-2022:1763 |
| 109 more for Red Hat in the JSON and on Red Hat's page. | ||||
| SUSE | Enterprise Storage 7, Linux Enterprise High Performance Computing 15 SP2-ESPOS, Linux Enterprise High Performance Computing 15 SP2-LTSS and 9 more | python-lxml | 4.7.1-3.7.1 | SUSE-SU-2022:0803-1 |
| SUSE | HPE Helion OpenStack 8, Linux Enterprise Server 12 SP5, Linux Enterprise Server for SAP Applications 12 SP5 and 2 more | python-lxml | 3.6.1-8.5.1 | SUSE-SU-2022:0895-1 |
| SUSE | OpenStack Cloud 9 | ardana-barbican | 9.0+git.1644879908.8a641c1-3.13.1 | SUSE-SU-2022:1729-1 |
| SUSE | OpenStack Cloud 9 | venv-openstack-barbican | 7.0.1~dev24-3.35.2 | SUSE-SU-2022:1729-1 |
| SUSE | OpenStack Cloud 9 | venv-openstack-cinder | 13.0.10~dev24-3.38.1 | SUSE-SU-2022:1729-1 |
| SUSE | OpenStack Cloud 9 | venv-openstack-designate | 7.0.2~dev2-3.35.1 | SUSE-SU-2022:1729-1 |
| SUSE | OpenStack Cloud 9 | venv-openstack-glance | 17.0.1~dev30-3.33.1 | SUSE-SU-2022:1729-1 |
| SUSE | OpenStack Cloud 9 | venv-openstack-heat | 11.0.4~dev4-3.35.1 | SUSE-SU-2022:1729-1 |
| SUSE | OpenStack Cloud 9 | venv-openstack-horizon | 14.1.1~dev11-4.39.1 | SUSE-SU-2022:1729-1 |
| SUSE | OpenStack Cloud 9 | venv-openstack-ironic | 11.1.5~dev18-4.33.1 | SUSE-SU-2022:1729-1 |
| SUSE | OpenStack Cloud 9 | venv-openstack-keystone | 14.2.1~dev9-3.36.1 | SUSE-SU-2022:1729-1 |
| SUSE | OpenStack Cloud 9 | venv-openstack-magnum | 7.2.1~dev1-4.35.1 | SUSE-SU-2022:1729-1 |
| 22 more for SUSE in the JSON and on SUSE's page. | ||||
| openSUSE | Leap 15.3 | python-lxml | 4.7.1-3.7.1 | openSUSE-SU-2022:0803-1 |
| AlmaLinux | 8 | babel, python2-babel | 2.5.1-10.module_el8.6.0+2781+fed64c13 | ALSA-2022:1821 |
| AlmaLinux | 8 | python-nose-docs | 1.3.7-31.module_el8.5.0+2569+5c5719bc | ALSA-2022:1821 |
| AlmaLinux | 8 | python-sqlalchemy-doc | 1.3.2-2.module_el8.5.0+2569+5c5719bc | ALSA-2022:1821 |
| AlmaLinux | 8 | python2, python2-libs, python2-test and 4 more | 2.7.18-10.module_el8.6.0+2781+fed64c13.alma | ALSA-2022:1821 |
| AlmaLinux | 8 | python2-Cython | 0.28.1-7.module_el8.6.0+2781+fed64c13 | ALSA-2022:1821 |
| AlmaLinux | 8 | python2-PyMySQL | 0.8.0-10.module_el8.6.0+2781+fed64c13 | ALSA-2022:1821 |
| AlmaLinux | 8 | python2-attrs | 17.4.0-10.module_el8.6.0+2781+fed64c13 | ALSA-2022:1821 |
| AlmaLinux | 8 | python2-backports | 1.0-16.module_el8.6.0+2781+fed64c13 | ALSA-2022:1821 |
| AlmaLinux | 8 | python2-backports-ssl_match_hostname | 3.5.0.1-12.module_el8.6.0+2781+fed64c13 | ALSA-2022:1821 |
| AlmaLinux | 8 | python2-bson, python2-pymongo, python2-pymongo-gridfs | 3.7.0-1.module_el8.6.0+2781+fed64c13 | ALSA-2022:1821 |
| AlmaLinux | 8 | python2-chardet | 3.0.4-10.module_el8.6.0+2781+fed64c13 | ALSA-2022:1821 |
| AlmaLinux | 8 | python2-coverage | 4.5.1-4.module_el8.6.0+2781+fed64c13 | ALSA-2022:1821 |
| 104 more for AlmaLinux in the JSON. | ||||
| Rocky Linux | 8 | Cython | 0:0.28.1-7.module+el8.4.0+403+9ae17a31 | RLSA-2022:1821 |
| Rocky Linux | 8 | Cython | 0:0.28.1-7.module+el8.5.0+706+735ec4b3 | RLSA-2022:1821 |
| Rocky Linux | 8 | Cython | 0:0.29.14-4.module+el8.4.0+570+c2eaf144 | RLSA-2022:1764 |
| Rocky Linux | 8 | Cython | 0:0.29.21-5.module+el8.4.0+574+843c4898 | RLSA-2022:1763 |
| Rocky Linux | 8 | PyYAML | 0:3.12-16.module+el8.4.0+403+9ae17a31 | RLSA-2022:1821 |
| Rocky Linux | 8 | PyYAML | 0:3.12-16.module+el8.5.0+706+735ec4b3 | RLSA-2022:1821 |
| Rocky Linux | 8 | PyYAML | 0:5.4.1-1.module+el8.4.0+574+843c4898 | RLSA-2022:1763 RLSA-2022:1764 |
| Rocky Linux | 8 | PyYAML | 0:5.4.1-1.module+el8.5.0+672+ab6eb015 | RLSA-2022:1763 RLSA-2022:1764 |
| Rocky Linux | 8 | babel | 0:2.5.1-10.module+el8.5.0+706+735ec4b3 | RLSA-2022:1821 |
| Rocky Linux | 8 | babel | 0:2.7.0-11.module+el8.5.0+672+ab6eb015 | RLSA-2022:1764 |
| Rocky Linux | 8 | libdb | 0:5.3.28-42.el8_4 | RLSA-2022:5498 |
| Rocky Linux | 8 | mod_wsgi | 0:4.6.8-3.module+el8.4.0+570+c2eaf144 | RLSA-2022:1764 |
| 7 more for Rocky Linux in the JSON. | ||||
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; AlmaLinux's OSV database, MIT; Rocky Linux's errata, BSD-3-Clause. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat · SUSE · openSUSE.
Red Hat rates this Moderate.
This flaw is rated as Moderate because code execution is limited to the web browser scope.
Following products ship affected component, however the vulnerability is not exposed in the product code. Therefore, we are reducing their impact to moderate.
* Red Hat Satellite 6.10
* Red Hat Update Infrastructure for Cloud Providers 4
Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base or stability.
| Product | Package | State | Advisory |
|---|---|---|---|
| Red Hat Enterprise Linux 8 | python39:3.9-8060020220118220913.d3811607 | Fixed 2022-05-10 | RHSA-2022:1763 |
| Red Hat Enterprise Linux 8 | python38:3.8-8060020220120164031.5294be16 | Fixed 2022-05-10 | RHSA-2022:1764 |
| Red Hat Enterprise Linux 8 | python27:2.7-8060020220210185952.8cdc2268 | Fixed 2022-05-10 | RHSA-2022:1821 |
| Red Hat Enterprise Linux 8 | python-lxml-0:4.2.3-4.el8 | Fixed 2022-05-10 | RHSA-2022:1932 |
| Red Hat Satellite 6.11 for RHEL 8 | python-lxml-0:4.7.1-1.el8pc | Fixed 2022-07-05 | RHSA-2022:5498 |
| Red Hat Software Collections for Red Hat Enterprise Linux 7 | rh-python38-python-lxml-0:4.4.1-8.el7 | Fixed 2022-05-02 | RHSA-2022:1664 |
| Red Hat Ansible Automation Platform 1.2 | lxml | Affected | |
| Red Hat Ansible Automation Platform 2 | lxml | Affected | |
| Red Hat Ansible Tower 3 | lxml | Affected | |
| Red Hat Enterprise Linux 6 | python-lxml | Out of support scope | |
| Red Hat Enterprise Linux 7 | python-lxml | Out of support scope | |
| Red Hat Enterprise Linux 8 | inkscape:flatpak/python-lxml | Not affected | |
| Red Hat Enterprise Linux 9 | python-lxml | Not affected | |
| Red Hat OpenStack Platform 13 (Queens) | python-lxml | Out of support scope | |
| Red Hat Update Infrastructure 3 for Cloud Providers | python-lxml | Affected |
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-43818.
The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits. More on the page of CWE-74 (37).