An update for python-lxml is now available for openEuler-20.03-LTS-SP1,openEuler-20.03-LTS-SP3 and openEuler-22.03-LTS Security Advisory openeuler-security@openeuler.org openEuler security committee openEuler-SA-2022-1790 Final 1.0 1.0 2022-07-30 Initial 2022-07-30 2022-07-30 openEuler SA Tool V1.0 2022-07-30 python-lxml security update An update for python-lxml is now available for openEuler-20.03-LTS-SP1,openEuler-20.03-LTS-SP3 and openEuler-22.03-LTS. The lxml XML toolkit is a Pythonic binding for the C libraries libxml2 and libxslt. \ It is unique in that it combines the speed and XML feature completeness of these libraries with \ the simplicity of a native Python API, mostly compatible but superior to the well-known ElementTree API. \ The latest release works with all CPython versions from 2.7 to 3.7. Security Fix(es): 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) An update for python-lxml is now available for openEuler-20.03-LTS-SP1,openEuler-20.03-LTS-SP3 and openEuler-22.03-LTS. openEuler Security has rated this update as having a security impact of high. A Common Vunlnerability Scoring System(CVSS)base score,which gives a detailed severity rating, is available for each vulnerability from the CVElink(s) in the References section. High python-lxml https://www.openeuler.org/en/security/safety-bulletin/detail.html?id=openEuler-SA-2022-1790 https://www.openeuler.org/en/security/cve/detail.html?id=CVE-2022-2309 https://nvd.nist.gov/vuln/detail/CVE-2022-2309 openEuler-20.03-LTS-SP1 openEuler-20.03-LTS-SP3 openEuler-22.03-LTS python2-lxml-4.5.2-8.oe1.aarch64.rpm python-lxml-debuginfo-4.5.2-8.oe1.aarch64.rpm python3-lxml-4.5.2-8.oe1.aarch64.rpm python-lxml-debugsource-4.5.2-8.oe1.aarch64.rpm python2-lxml-4.5.2-8.oe1.aarch64.rpm python-lxml-debuginfo-4.5.2-8.oe1.aarch64.rpm python-lxml-debugsource-4.5.2-8.oe1.aarch64.rpm python3-lxml-4.5.2-8.oe1.aarch64.rpm python-lxml-debugsource-4.7.1-4.oe2203.aarch64.rpm python3-lxml-4.7.1-4.oe2203.aarch64.rpm python-lxml-debuginfo-4.7.1-4.oe2203.aarch64.rpm python-lxml-help-4.5.2-8.oe1.noarch.rpm python-lxml-help-4.5.2-8.oe1.noarch.rpm python-lxml-help-4.7.1-4.oe2203.noarch.rpm python-lxml-4.5.2-8.oe1.src.rpm python-lxml-4.5.2-8.oe1.src.rpm python-lxml-4.7.1-4.oe2203.src.rpm python-lxml-debugsource-4.5.2-8.oe1.x86_64.rpm python3-lxml-4.5.2-8.oe1.x86_64.rpm python2-lxml-4.5.2-8.oe1.x86_64.rpm python-lxml-debuginfo-4.5.2-8.oe1.x86_64.rpm python3-lxml-4.5.2-8.oe1.x86_64.rpm python2-lxml-4.5.2-8.oe1.x86_64.rpm python-lxml-debuginfo-4.5.2-8.oe1.x86_64.rpm python-lxml-debugsource-4.5.2-8.oe1.x86_64.rpm python-lxml-debuginfo-4.7.1-4.oe2203.x86_64.rpm python3-lxml-4.7.1-4.oe2203.x86_64.rpm python-lxml-debugsource-4.7.1-4.oe2203.x86_64.rpm 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. 2022-07-30 CVE-2022-2309 openEuler-20.03-LTS-SP1 openEuler-20.03-LTS-SP3 openEuler-22.03-LTS High 7.5 AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H python-lxml security update 2022-07-30 https://www.openeuler.org/en/security/safety-bulletin/detail.html?id=openEuler-SA-2022-1790