QID 354712

Date Published: 2023-01-30

QID 354712: Amazon Linux Security Advisory for python-lxml : ALAS2022-2023-264

Null pointer dereference allows attackers to cause a denial of service (or application crash).
This only applies when lxml is used together with libxml2 2.9.10 through 2.9.14.
Libxml2 2.9.9 and earlier are not affected.
It allows triggering crashes through forged input data, given a vulnerable code sequence in the application.
The vulnerability is caused by the iterwalk function (also used by the canonicalize function).
Such code shouldn't be in wide-spread use, given that parsing + iterwalk would usually be replaced with the more efficient iterparse function.
However, an xml converter that serialises to c14n would also be vulnerable, for example, and there are legitimate use cases for this code sequence.
If untrusted input is received (also remotely) and processed via iterwalk function, a crash can be triggered. (
( CVE-2022-2309)



Note: The preceding description block is extracted directly from the security advisory. Using automation, we have attempted to clean and format it as much as possible without introducing additional issues.

Successful exploitation of this vulnerability could lead to a securitybreach or could affect integrity, availability, and confidentiality.

  • CVSS V3 rated as High - 7.5 severity.
  • CVSS V2 rated as Medium - 5 severity.
  • Solution
    Please refer to Amazon advisory: ALAS2022-2023-264 for affected packages and patching details, or update with your package manager.
    Vendor References

    CVEs related to QID 354712

    Software Advisories
    Advisory ID Software Component Link
    ALAS2022-2023-264 amazon linux 2022 URL Logo alas.aws.amazon.com/AL2022/ALAS-2023-264.html