Code Injection in asteval - CVE-2025-24359

 

Code Injection in asteval - CVE-2025-24359

Published: March 25, 2025


Vulnerability identifier: #VU106024
CSH Severity: High
CVSS v4: 8.4 [CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:A/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N]
CVE-ID: CVE-2025-24359
CWE-ID: CWE-94
Exploitation vector: Remote access
Exploit availability: No public exploit available

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

asteval
openEuler
Fedora
python-asteval
python-asteval-help
python3-asteval

How to mitigate CVE-2025-24359

Install updates from vendor's website.

asteval - update to 1.0.6
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

External References

Related Security Bulletins