Skip to content
OpenAdvisories

Package · Debian

restrictedpython

6 known vulnerabilities.

6 results · Clear filters · Feed

  • High 8.4

    RestrictedPython: Sandbox escape via string.Formatter field resolution

    RestrictedPython is a tool that helps define a subset of the Python language for accepting program input in a trusted environment. Prior to 8.4, RestrictedPython could allow a sandbox escape when a custom import policy or globals exposed the standard library …

  • High 8.3

    RestrictedPython guard hooks can be shadowed via positional-only arguments

    RestrictedPython is a tool that helps to define a subset of the Python language which allows to provide a program input into a trusted environment. Prior to 8.3, check_function_argument_names() rejected protected guard hook names for regular, variadic, and ke…

  • High 7.9

    try/except* clauses could allow bypass RestrictedPython via type confusion bug in the CPython interpreter

    RestrictedPython is a tool that helps to define a subset of the Python language which allows to provide a program input into a trusted environment. Via a type confusion bug in versions of the CPython interpreter starting in 3.11 and prior to 3.13.2 when using…

  • High 8.7

    RestrictedPython information leakage via `AttributeError.obj` and the `string` module

    RestrictedPython is a restricted execution environment for Python to run untrusted code. A user can gain access to protected (and potentially sensible) information indirectly via AttributeError.obj and the string module. The problem will be fixed in version 7…

  • High 8.3

    Sandbox escape via various forms of "format" in RestrictedPython

    RestrictedPython is a restricted execution environment for Python to run untrusted code. Python's "format" functionality allows someone controlling the format string to "read" all objects accessible through recursive attribute lookup and subscription from obj…

  • High 8.4

    RestrictedPython vulnerable to arbitrary code execution via stack frame sandbox escape

    RestrictedPython is a tool that helps to define a subset of the Python language which allows users to provide a program input into a trusted environment. RestrictedPython does not check access to stack frames and their attributes. Stack frames are accessible …