asteval sandbox escape: arbitrary native memory read/write via numpy ctypes in default asteval Interpreter
Default status is the baseline for the product, each version can override it (e.g. patched versions marked unaffected).
| Vendor | Product | Default status | Versions | ||||||
|---|---|---|---|---|---|---|---|---|---|
| lmfit | asteval | affected |
|
No data.
No data.
| Vendor | Product | Versions | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|
| Lmfit | Asteval |
|
No CVSS v4.0
No CVSS v3.0
No CVSS v2
This CVE is not in the KEV list.
Exploit prediction score: < 1% (0.126% probability within 30 days)
| Type | Values Removed | Values Added |
|---|---|---|
| Metrics |
ssvc
|
| Type | Values Removed | Values Added |
|---|---|---|
| First Time appeared |
Lmfit
Lmfit asteval |
|
| Vendors & Products |
Lmfit
Lmfit asteval |
| Type | Values Removed | Values Added |
|---|---|---|
| Description | asteval is a Python expression evaluator designed for restricted execution. Prior to 1.0.9, in asteval/astutils.py, the default Interpreter with numpy enabled exposes a ctypes type and permits from_address memory access. safe_getattr blocks the ctypes module but not reachable ctypes type objects, while attribute assignments use unfiltered setattr instead of safe_setattr. An attacker-controlled expression can derive an address with id, read memory through from_address, and write through an attribute assignment. The expression can read or corrupt arbitrary process memory, escape the intended sandbox, execute code, disclose secrets, or crash the host process. This issue is fixed in version 1.0.9. | |
| Title | asteval sandbox escape: arbitrary native memory read/write via numpy ctypes in default asteval Interpreter | |
| Weaknesses | CWE-693 CWE-749 CWE-913 |
|
| References |
| |
| Metrics |
cvssV3_1
|