Skip to content
OpenAdvisories

Package · Ubuntu

python-asteval

3 known vulnerabilities.

3 results · Feed

  • Medium 5.5

    asteval sandbox escape: arbitrary native memory read/write via numpy ctypes in default asteval Interpreter

    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 …

  • Medium 5.0

    ASTEVAL: Sandbox Escape via BaseException Subclasses

    ASTEVAL is an evaluator of Python expressions and statements. Prior to 1.0.9, FROM_PY in asteval/astutils.py exposes BaseException, SystemExit, KeyboardInterrupt, and GeneratorExit to expressions evaluated by asteval.Interpreter.eval(), while run() and eval()…

  • High 8.4

    ASTEVAL Vulnerable to Maliciously Crafted Format Strings Leading to Sandbox Escape

    ASTEVAL is an evaluator of Python expressions and statements. Prior to version 1.0.6, if an attacker can control the input to the `asteval` library, they can bypass asteval's restrictions and execute arbitrary Python code in the context of the application usi…