XML External Entity injection in Lxml - CVE-2024-37388
Published: June 21, 2024
Vulnerability details
The vulnerability allows a remote attacker to gain access to sensitive information.
The vulnerability exists due to insufficient validation of user-supplied XML input. A remote attacker can pass a specially crafted XML code to the affected application and view contents of arbitrary files on the system or initiate requests to external systems.
Successful exploitation of the vulnerability may allow an attacker to view contents of arbitrary file on the server or perform network scanning of internal and external infrastructure.
Affected software
openEuler
python-lxml
python-lxml-debugsource
python3-lxml
python2-lxml
python-lxml-debuginfo
python-lxml-help
How to mitigate CVE-2024-37388
python-lxml - addressed in versions 4.5.2-9, 4.7.1-6
python-lxml-debugsource - addressed in versions 4.5.2-9, 4.7.1-6
python3-lxml - addressed in versions 4.5.2-9, 4.7.1-6
python2-lxml - update to 4.5.2-9
python-lxml-debuginfo - addressed in versions 4.5.2-9, 4.7.1-6
python-lxml-help - addressed in versions 4.5.2-9, 4.7.1-6