8.7
CWE
200
Advisory Published
Advisory Published
Updated

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

First published: Mon Sep 30 2024(Updated: )

### Impact A user can gain access to protected (and potentially sensible) information indirectly via `AttributeError.obj` and the `string` module. ### Patches The problem will be fixed in version 7.3. ### Workarounds 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.

Credit: security-advisories@github.com security-advisories@github.com

Affected SoftwareAffected VersionHow to fix
pip/RestrictedPython<7.3
7.3
RestrictedPython<7.3

Never miss a vulnerability like this again

Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.

Frequently Asked Questions

  • What is the severity of CVE-2024-47532?

    The CVE-2024-47532 vulnerability has been identified as having a significant impact as it allows unauthorized access to protected information.

  • How do I fix CVE-2024-47532?

    You can fix CVE-2024-47532 by upgrading to version 7.3 of the RestrictedPython package.

  • What software is affected by CVE-2024-47532?

    CVE-2024-47532 affects the RestrictedPython package prior to version 7.3.

  • Is there a workaround for CVE-2024-47532?

    A temporary workaround for CVE-2024-47532 is to disable access to the string module if it is not required.

  • What causes CVE-2024-47532?

    CVE-2024-47532 is caused by an AttributeError in the handling of the string module that exposes protected information.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2025 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203