Code Injection in asteval - CVE-2025-24359
Published: March 25, 2025
Vulnerability details
The vulnerability allows a remote attacker to execute arbitrary code on the target system.
The vulnerability exists due to improper input validation. A remote attacker can pass specially crafted input to the application and execute arbitrary Python code on the system.
Successful exploitation of this vulnerability may result in complete compromise of vulnerable system.
Affected software
openEuler
Fedora
python-asteval
python-asteval-help
python3-asteval
How to mitigate CVE-2025-24359
python-asteval - addressed in versions 0.9.25-1, 1.0.6-1
python-asteval-help - addressed in versions 0.9.25-1, 1.0.6-1
python3-asteval - addressed in versions 0.9.25-1, 1.0.6-1
python-asteval - addressed in versions 1.0.6-1.fc42, 1.0.6-1.fc43