Логотип exploitDog
Консоль
Логотип exploitDog

exploitDog

ubuntu логотип

CVE-2023-37271

Опубликовано: 11 июл. 2023
Источник: ubuntu
Приоритет: medium
CVSS3: 8.4

Описание

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 within at least generators and generator expressions, which are allowed inside RestrictedPython. Prior to versions 6.1 and 5.3, an attacker with access to a RestrictedPython environment can write code that gets the current stack frame in a generator and then walk the stack all the way beyond the RestrictedPython invocation boundary, thus breaking out of the restricted sandbox and potentially allowing arbitrary code execution in the Python interpreter. All RestrictedPython deployments that allow untrusted users to write Python code in the RestrictedPython environment are at risk. In terms of Zope and Plone, this would mean deployments where the administrator allows untrusted users to create and/or edit objects of type `Script (Py...

РелизСтатусПримечание
bionic

ignored

end of standard support
devel

not-affected

8.0-1
esm-apps/bionic

not-affected

code not present
esm-apps/focal

released

4.0~b3-2ubuntu0.1~esm1
esm-apps/jammy

released

4.0~b3-3ubuntu0.1~esm1
esm-apps/noble

not-affected

6.2-1
esm-apps/xenial

not-affected

code not present
focal

ignored

end of standard support, was needed
jammy

needed

kinetic

ignored

end of life, was needs-triage

Показывать по

8.4 High

CVSS3

Связанные уязвимости

CVSS3: 8.4
nvd
больше 2 лет назад

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 within at least generators and generator expressions, which are allowed inside RestrictedPython. Prior to versions 6.1 and 5.3, an attacker with access to a RestrictedPython environment can write code that gets the current stack frame in a generator and then walk the stack all the way beyond the RestrictedPython invocation boundary, thus breaking out of the restricted sandbox and potentially allowing arbitrary code execution in the Python interpreter. All RestrictedPython deployments that allow untrusted users to write Python code in the RestrictedPython environment are at risk. In terms of Zope and Plone, this would mean deployments where the administrator allows untrusted users to create and/or edit objects of type `Script (Pytho

CVSS3: 8.4
debian
больше 2 лет назад

RestrictedPython is a tool that helps to define a subset of the Python ...

CVSS3: 8.4
github
больше 2 лет назад

RestrictedPython vulnerable to arbitrary code execution via stack frame sandbox escape

8.4 High

CVSS3