RestrictedPython guard hooks can be shadowed via positional-only arguments
Default status is the baseline for the product, each version can override it (e.g. patched versions marked unaffected).
| Vendor | Product | Default status | Versions | ||||||
|---|---|---|---|---|---|---|---|---|---|
| zopefoundation | RestrictedPython | affected |
|
No data.
No data.
| Vendor | Product | Versions | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|
| Zope | Restrictedpython |
|
| Source | ID | Title |
|---|---|---|
Github GHSA |
GHSA-ffg3-p8fm-mjx2 | RestrictedPython guard hooks can be shadowed via positional-only arguments |
No CVSS v4.0
No CVSS v3.0
No CVSS v2
This CVE is not in the KEV list.
Exploit prediction score: < 1% (0.287% probability within 30 days)
| Type | Values Removed | Values Added |
|---|---|---|
| Metrics |
ssvc
|
| Type | Values Removed | Values Added |
|---|---|---|
| First Time appeared |
Zope
Zope restrictedpython |
|
| Vendors & Products |
Zope
Zope restrictedpython |
| Type | Values Removed | Values Added |
|---|---|---|
| Description | 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 keyword-only arguments but omitted positional-only arguments, allowing __getattr__, _getitem_, _write_, or _print_ to be shadowed by a local parameter and bypass the embedding application's access policy. This issue is fixed in version 8.3. | |
| Title | RestrictedPython guard hooks can be shadowed via positional-only arguments | |
| Weaknesses | CWE-184 | |
| References |
| |
| Metrics |
cvssV3_1
|