Vulnerability Name:

CVE-2021-43818 (CCN-215122)

Assigned:2021-12-12
Published:2021-12-12
Updated:2022-12-09
Summary:lxml is a library for processing XML and HTML in the Python language. Prior to version 4.6.5, the HTML Cleaner in lxml.html lets certain crafted script content pass through, as well as script content in SVG files embedded using data URIs. Users that employ the HTML cleaner in a security relevant context should upgrade to lxml 4.6.5 to receive a patch. There are no known workarounds available.
CVSS v3 Severity:8.2 High (CVSS v3.1 Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:H/A:N)
7.1 High (Temporal CVSS v3.1 Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:H/A:N/E:U/RL:O/RC:C)
Exploitability Metrics:Attack Vector (AV): Network
Attack Complexity (AC): Low
Privileges Required (PR): None
User Interaction (UI): Required
Scope:Scope (S): Changed
Impact Metrics:Confidentiality (C): Low
Integrity (I): High
Availibility (A): None
8.2 High (CCN CVSS v3.1 Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:H/A:N)
7.1 High (CCN Temporal CVSS v3.1 Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:H/A:N/E:U/RL:O/RC:C)
Exploitability Metrics:Attack Vector (AV): Network
Attack Complexity (AC): Low
Privileges Required (PR): None
User Interaction (UI): Required
Scope:Scope (S): Changed
Impact Metrics:Confidentiality (C): Low
Integrity (I): High
Availibility (A): None
8.8 High (REDHAT CVSS v3.1 Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:H/A:L)
7.7 High (REDHAT Temporal CVSS v3.1 Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:H/A:L/E:U/RL:O/RC:C)
Exploitability Metrics:Attack Vector (AV): Network
Attack Complexity (AC): Low
Privileges Required (PR): None
User Interaction (UI): Required
Scope:Scope (S): Changed
Impact Metrics:Confidentiality (C): Low
Integrity (I): High
Availibility (A): Low
CVSS v2 Severity:6.8 Medium (CVSS v2 Vector: AV:N/AC:M/Au:N/C:P/I:P/A:P)
Exploitability Metrics:Access Vector (AV): Network
Access Complexity (AC): Medium
Authentication (Au): None
Impact Metrics:Confidentiality (C): Partial
Integrity (I): Partial
Availibility (A): Partial
7.5 High (CCN CVSS v2 Vector: AV:N/AC:L/Au:S/C:P/I:C/A:N)
Exploitability Metrics:Access Vector (AV): Network
Access Complexity (AC): Low
Athentication (Au): Single_Instance
Impact Metrics:Confidentiality (C): Partial
Integrity (I): Complete
Availibility (A): None
Vulnerability Type:CWE-79)
Vulnerability Consequences:Bypass Security
References:Source: MITRE
Type: CNA
CVE-2021-43818

Source: XF
Type: UNKNOWN
lxml-cve202143818-sec-bypass(215122)

Source: security-advisories@github.com
Type: Patch, Third Party Advisory
security-advisories@github.com

Source: security-advisories@github.com
Type: Patch, Third Party Advisory
security-advisories@github.com

Source: security-advisories@github.com
Type: Patch, Third Party Advisory
security-advisories@github.com

Source: CCN
Type: lxml GIT Repository
HTML Cleaner allows crafted and SVG embedded scripts to pass through

Source: security-advisories@github.com
Type: Third Party Advisory
security-advisories@github.com

Source: security-advisories@github.com
Type: Mailing List, Third Party Advisory
security-advisories@github.com

Source: security-advisories@github.com
Type: Mailing List, Third Party Advisory
security-advisories@github.com

Source: security-advisories@github.com
Type: Mailing List, Third Party Advisory
security-advisories@github.com

Source: security-advisories@github.com
Type: Mailing List, Third Party Advisory
security-advisories@github.com

Source: security-advisories@github.com
Type: Mailing List, Third Party Advisory
security-advisories@github.com

Source: security-advisories@github.com
Type: Third Party Advisory
security-advisories@github.com

Source: security-advisories@github.com
Type: Third Party Advisory
security-advisories@github.com

Source: security-advisories@github.com
Type: Third Party Advisory
security-advisories@github.com

Source: CCN
Type: IBM Security Bulletin 6610341 (Watson Speech Services Cartridge for Cloud Pak for Data)
IBM Watson Speech Services Cartridge for IBM Cloud Pak for Data is vulnerable to a security restrictions bypass in lxml (CVE-2021-43818)

Source: CCN
Type: IBM Security Bulletin 6854981 (Cloud Pak for Security)
IBM Cloud Pak for Security includes components with multiple known vulnerabilities

Source: CCN
Type: IBM Security Bulletin 7004655 (Cloud Pak for Security)
IBM Cloud Pak for Security includes components with multiple known vulnerabilities

Source: security-advisories@github.com
Type: Patch, Third Party Advisory
security-advisories@github.com

Source: security-advisories@github.com
Type: Patch, Third Party Advisory
security-advisories@github.com

Vulnerable Configuration:Configuration RedHat 1:
  • cpe:/a:redhat:enterprise_linux:8:*:*:*:*:*:*:*
  • Configuration RedHat 2:
  • cpe:/a:redhat:enterprise_linux:8::appstream:*:*:*:*:*
  • Configuration RedHat 3:
  • cpe:/a:redhat:enterprise_linux:8::crb:*:*:*:*:*

  • Configuration CCN 1:
  • cpe:/a:ibm:cloud_pak_for_security:1.10.0.0:*:*:*:*:*:*:*
  • OR cpe:/a:ibm:cloud_pak_for_security:1.10.6.0:*:*:*:*:*:*:*

  • * Denotes that component is vulnerable
    Oval Definitions
    Definition IDClassTitleLast Modified
    oval:org.opensuse.security:def:7775
    P
    python3-lxml-4.9.1-150500.1.2 on GA media (Moderate)
    2023-06-12
    oval:org.opensuse.security:def:3172
    P
    libfreebl3-3.45-58.31.1 on GA media (Moderate)
    2022-06-28
    oval:org.opensuse.security:def:94802
    P
    python3-lxml-4.7.1-3.7.1 on GA media (Moderate)
    2022-06-22
    oval:com.redhat.rhsa:def:20221821
    P
    RHSA-2022:1821: python27:2.7 security update (Moderate)
    2022-05-10
    oval:com.redhat.rhsa:def:20221932
    P
    RHSA-2022:1932: python-lxml security update (Moderate)
    2022-05-10
    oval:com.redhat.rhsa:def:20221763
    P
    RHSA-2022:1763: python39:3.9 and python39-devel:3.9 security update (Moderate)
    2022-05-10
    oval:com.redhat.rhsa:def:20221764
    P
    RHSA-2022:1764: python38:3.8 and python38-devel:3.8 security update (Moderate)
    2022-05-10
    oval:org.opensuse.security:def:6201
    P
    Security update for python-lxml (Moderate)
    2022-03-17
    oval:org.opensuse.security:def:94061
    P
    (Important)
    2022-03-10
    oval:org.opensuse.security:def:1588
    P
    Security update for python-lxml (Important)
    2022-03-10
    oval:org.opensuse.security:def:101660
    P
    Security update for python-lxml (Important)
    2022-03-10
    oval:org.opensuse.security:def:93487
    P
    (Important)
    2022-03-10
    oval:org.opensuse.security:def:100094
    P
    (Important)
    2022-03-10
    oval:org.opensuse.security:def:119336
    P
    Security update for python-lxml (Important)
    2022-03-10
    oval:org.opensuse.security:def:94275
    P
    (Important)
    2022-03-10
    oval:org.opensuse.security:def:102148
    P
    Security update for python-lxml (Important)
    2022-03-10
    oval:org.opensuse.security:def:99225
    P
    (Important)
    2022-03-10
    oval:org.opensuse.security:def:118841
    P
    Security update for python-lxml (Important)
    2022-03-10
    oval:org.opensuse.security:def:93638
    P
    (Important)
    2022-03-10
    oval:org.opensuse.security:def:100432
    P
    (Important)
    2022-03-10
    oval:org.opensuse.security:def:119519
    P
    Security update for python-lxml (Important)
    2022-03-10
    oval:org.opensuse.security:def:94482
    P
    (Important)
    2022-03-10
    oval:org.opensuse.security:def:93169
    P
    (Important)
    2022-03-10
    oval:org.opensuse.security:def:99499
    P
    (Important)
    2022-03-10
    oval:org.opensuse.security:def:119031
    P
    Security update for python-lxml (Important)
    2022-03-10
    oval:org.opensuse.security:def:93849
    P
    (Important)
    2022-03-10
    oval:org.opensuse.security:def:968
    P
    Security update for python-lxml (Important)
    2022-03-10
    oval:org.opensuse.security:def:100766
    P
    (Important)
    2022-03-10
    oval:org.opensuse.security:def:119704
    P
    Security update for python-lxml (Important)
    2022-03-10
    oval:org.opensuse.security:def:93327
    P
    (Important)
    2022-03-10
    oval:org.opensuse.security:def:99761
    P
    (Important)
    2022-03-10
    oval:org.opensuse.security:def:119142
    P
    Security update for python-lxml (Important)
    2022-03-10
    oval:org.opensuse.security:def:113209
    P
    python-lxml-doc-4.6.5-1.1 on GA media (Moderate)
    2022-01-17
    BACK
    ibm cloud pak for security 1.10.0.0
    ibm cloud pak for security 1.10.6.0