Lucene search

K
amazonAmazonALAS2-2023-1956
HistoryFeb 17, 2023 - 12:12 a.m.

Important: python-lxml

2023-02-1700:12:00
alas.aws.amazon.com
8

7.1 High

CVSS3

Attack Vector

NETWORK

Attack Complexity

LOW

Privileges Required

NONE

User Interaction

REQUIRED

Scope

CHANGED

Confidentiality Impact

LOW

Integrity Impact

LOW

Availability Impact

LOW

CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:L

7 High

AI Score

Confidence

High

6.8 Medium

CVSS2

Access Vector

NETWORK

Access Complexity

MEDIUM

Authentication

NONE

Confidentiality Impact

PARTIAL

Integrity Impact

PARTIAL

Availability Impact

PARTIAL

AV:N/AC:M/Au:N/C:P/I:P/A:P

0.005 Low

EPSS

Percentile

75.4%

Issue Overview:

There’s a flaw in python-lxml’s HTML Cleaner component, which is responsible for sanitizing HTML and Javascript. An attacker who is able to submit a crafted payload to a web service using python-lxml’s HTML Cleaner may be able to trigger script execution in clients such as web browsers. This can occur because the HTML Cleaner did not remove scripts within SVG images in data URLs such as <img src=>. XSS can result in impacts to the integrity and availability of the web page, as well as a potential impact to data confidentiality in some circumstances. (CVE-2021-43818)

Affected Packages:

python-lxml

Note:

This advisory is applicable to Amazon Linux 2 (AL2) Core repository. Visit this FAQ section for the difference between AL2 Core and AL2 Extras advisories.

Issue Correction:
Run yum update python-lxml to update your system.

New Packages:

aarch64:  
    python-lxml-3.2.1-4.amzn2.0.4.aarch64  
    python-lxml-debuginfo-3.2.1-4.amzn2.0.4.aarch64  
  
i686:  
    python-lxml-3.2.1-4.amzn2.0.4.i686  
    python-lxml-debuginfo-3.2.1-4.amzn2.0.4.i686  
  
noarch:  
    python-lxml-docs-3.2.1-4.amzn2.0.4.noarch  
  
src:  
    python-lxml-3.2.1-4.amzn2.0.4.src  
  
x86_64:  
    python-lxml-3.2.1-4.amzn2.0.4.x86_64  
    python-lxml-debuginfo-3.2.1-4.amzn2.0.4.x86_64  

Additional References

Red Hat: CVE-2021-43818

Mitre: CVE-2021-43818

7.1 High

CVSS3

Attack Vector

NETWORK

Attack Complexity

LOW

Privileges Required

NONE

User Interaction

REQUIRED

Scope

CHANGED

Confidentiality Impact

LOW

Integrity Impact

LOW

Availability Impact

LOW

CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:L

7 High

AI Score

Confidence

High

6.8 Medium

CVSS2

Access Vector

NETWORK

Access Complexity

MEDIUM

Authentication

NONE

Confidentiality Impact

PARTIAL

Integrity Impact

PARTIAL

Availability Impact

PARTIAL

AV:N/AC:M/Au:N/C:P/I:P/A:P

0.005 Low

EPSS

Percentile

75.4%