Loading advisory.
Loading advisory.
RestrictedPython information leakage via `AttributeError.obj` and the `string` module
A user can gain access to protected (and potentially sensible) information indirectly via AttributeError.obj and the string module.
Published 2024-09-30 15:29 UTC · Modified 2025-01-21 18:21 UTC
Severity and EPSS are shown separately. Helm does not combine them into one score.
| Package | Ecosystem | Affected | Fixed in | Upgrade command |
|---|---|---|---|---|
| restrictedpython | PyPI | < 7.3 git commits in https://github.com/zopefoundation/restrictedpython: < d701cc36cccac36b21fa200f1f2d1945a9a215e6 versions 3.4.2, 3.4.3, 3.5.0, 3.5.1, 3.5.2, 3.6.0, 3.6.0a1, 4.0, 4.0a1, 4.0a2, 4.0a3, 4.0b1, 4.0b2, 4.0b3, 4.0b4, 4.0b5, 4.0b6, 4.0b7, 4.0b8, 5.0 and 17 more | 7.3, d701cc36cccac36b21fa200f1f2d1945a9a215e6 | pip install --upgrade 'restrictedpython>=7.3'pip install --upgrade 'restrictedpython>=d701cc36cccac36b21fa200f1f2d1945a9a215e6' |
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.3.
If the application does not require access to the module string, it can remove it from RestrictedPython.Utilities.utility_builtins or otherwise do not make it available in the restricted execution environment.
No public exploit code known to Helm's sources (Nuclei templates, Metasploit, Exploit-DB and PoC-in-GitHub). That does not mean none exists.
EPSS went from 0.007 on 2026-11-24 to 0.010 on 2026-11-26, over 2 recorded scores.
| Date | Score | Previous | Model |
|---|---|---|---|
| 2026-11-24 | 0.007 | first score | v2026.06.15 |
| 2026-11-26 | 0.010 | 0.007 | v2026.06.15 |