ALAS2-2024-2620
Active ModerateALAS2-2024-2620 (medium): python-lxml
Related CVEs
CVE identifiers linked by this publisher.
Publisher relationship details 1 records
| CVE | Relationship | Publisher CVE field | Publisher evidence |
|---|---|---|---|
| CVE-2021-28957 | Listed by advisoryExact relationship valueadvisory_list | Publisher referencesExact field valuereferences | https://alas.aws.amazon.com/AL2/ALAS2-2024-2620.html |
Description
An XSS vulnerability was discovered in python-lxml's clean module versions before 4.6.3. When disabling the safe_attrs_only and forms arguments, the Cleaner class does not remove the formaction attribute allowing for JS to bypass the sanitizer. A remote attacker could exploit this flaw to run arbitrary JS code on users who interact with incorrectly sanitized HTML. This issue is patched in lxml 4.6.3. (CVE-2021-28957)
Solution
Run yum update python-lxml or yum update --advisory ALAS2-2024-2620 to update your system.
Affected packages
Each item is one publisher package occurrence. Shared details are shown once; differences stay with the occurrence.
Shared package data
Applies to all 5 occurrences-
1python-lxml
Occurrence-specific details
- Architecture
- aarch64
Replacement RPMs
- python-lxml-3.2.1-4.amzn2.0.6.aarch64
- python3-lxml-3.2.1-4.amzn2.0.6.aarch64
- python-lxml-debuginfo-3.2.1-4.amzn2.0.6.aarch64
-
2python-lxml
Occurrence-specific details
- Architecture
- i686
Replacement RPMs
- python-lxml-3.2.1-4.amzn2.0.6.i686
- python3-lxml-3.2.1-4.amzn2.0.6.i686
- python-lxml-debuginfo-3.2.1-4.amzn2.0.6.i686
-
3python-lxml
Occurrence-specific details
- Architecture
- noarch
Replacement RPMs
- python-lxml-docs-3.2.1-4.amzn2.0.6.noarch
-
4python-lxml
Occurrence-specific details
- Architecture
- src
Replacement RPMs
- python-lxml-3.2.1-4.amzn2.0.6.src
-
5python-lxml
Occurrence-specific details
- Architecture
- x86_64
Replacement RPMs
- python-lxml-3.2.1-4.amzn2.0.6.x86_64
- python3-lxml-3.2.1-4.amzn2.0.6.x86_64
- python-lxml-debuginfo-3.2.1-4.amzn2.0.6.x86_64
CVSS assessments
Publisher supplied scores and vectors; these do not replace the advisory severity above.
No CVSS assessments were provided.
Publisher references
2- CVE-2021-28957 https://access.redhat.com/security/cve/CVE-2021-28957
- CVE-2021-28957 https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-28957
Provenance
- Schema version
- Unknown
- Parser version
- amazon-alas/1
- Severity origin
- publisher
| Kind | Locator | Source commit | Document hash | Parser | Fetched |
|---|---|---|---|---|---|
| html_page | https://alas.aws.amazon.com/AL2/ALAS2-2024-2620.html | Unknown | 7504ff87710f60916cfedef8bc2477935a99ad0af6b77fa2b9b87dcdf4bda987 | amazon-alas/1 | 2026-09-26T01:34:09Z |
| rss_entry | https://alas.aws.amazon.com/AL2/ALAS2-2024-2620.html | Unknown | Unknown | amazon-alas/1 | 2026-09-26T01:34:09Z |
| catalog_entry | https://alas.aws.amazon.com/AL2/ALAS2-2024-2620.html | Unknown | Unknown | amazon-alas/1 | 2026-09-26T01:34:09Z |