Advisory Database
  • Advisories
  • Dependency Scanning
  1. pypi
  2. ›
  3. RestrictedPython
  4. ›
  5. CVE-2024-47532

CVE-2024-47532: RestrictedPython information leakage via `AttributeError.obj` and the `string` module

September 30, 2024 (updated January 21, 2025)

A user can gain access to protected (and potentially sensible) information indirectly via AttributeError.obj and the string module.

References

  • github.com/advisories/GHSA-5rfv-66g4-jr8h
  • github.com/pypa/advisory-database/tree/main/vulns/restrictedpython/PYSEC-2024-186.yaml
  • github.com/zopefoundation/RestrictedPython
  • github.com/zopefoundation/RestrictedPython/commit/d701cc36cccac36b21fa200f1f2d1945a9a215e6
  • github.com/zopefoundation/RestrictedPython/security/advisories/GHSA-5rfv-66g4-jr8h
  • nvd.nist.gov/vuln/detail/CVE-2024-47532

Code Behaviors & Features

Detect and mitigate CVE-2024-47532 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →

Affected versions

All versions before 7.3

Fixed versions

  • 7.3

Solution

Upgrade to version 7.3 or above.

Impact 6.5 MEDIUM

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N

Learn more about CVSS

Weakness

  • CWE-200: Exposure of Sensitive Information to an Unauthorized Actor

Source file

pypi/RestrictedPython/CVE-2024-47532.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sun, 08 Nov 2026 00:16:04 +0000.