RestrictedPython guard hooks can be shadowed via positional-only arguments (zopefoundation RestrictedPython)
En bref
- Source
- NVD
- EPSS
- EPSS 0.29 % · centile 23 ()
- État
- PUBLISHED
- Publiée
- Mise à jour
- Attribuée par
- GitHub_M
- Produits affectés
- zopefoundation · RestrictedPython
- Statut NVD
- Deferred
Rechercher sur…
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.
Faiblesses (CWE)
- CWE-184 — Liste d'entrées interdites incomplète
Références
Scores
| Version | Score | Vecteur | Évalué par |
|---|---|---|---|
| CVSS 3.1 | HIGH 8.3 | CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:H/I:H/A:L | GitHub_M |
| CVSS 3.1 | HIGH 8.3 | CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:H/I:H/A:L | NVD · security-advisories@github.com (Secondary) |
Avis
- GHSA-ffg3-p8fm-mjx2 — RestrictedPython guard hooks can be shadowed via positional-only arguments
- PYSEC-2026-3917 — RestrictedPython guard hooks can be shadowed via positional-only arguments
Références européennes
- ENISA EUVD · EUVD-2026-42434
- GCVE · GCVE-0-2026-55830
Avis du CERT-FR
- CERTFR-2026-AVI-1486 — Multiples vulnérabilités dans les produits VMware · cert.ssi.gouv.fr
Produits affectés
| Produit | Versions affectées |
|---|---|
| zopefoundation · RestrictedPython | affectée : < 8.3 |
Sources
| Source | Licence |
|---|---|
| CVE List (CVEProject cvelistV5) | CVE Program Terms of Use |
| EPSS (FIRST.org) | FIRST — attribution requested |
| ENISA EUVD | ENISA — reproduction authorised, source acknowledged |
| CERT-FR (ANSSI) | Licence Ouverte / Etalab 2.0 |
| NVD (NIST) via fkie-cad/nvd-json-data-feeds | Public domain — this product uses data from the NVD API but is not endorsed or certified by the NVD |