Advisory Published

USN-7116-1: Python vulnerability

First published: Tue Nov 19 2024(Updated: )

It was discovered that Python incorrectly handled quoting path names when using the venv module. A local attacker able to control virtual environments could possibly use this issue to execute arbitrary code when the virtual environment is activated.

Affected SoftwareAffected VersionHow to fix
All of
ubuntu/python3.12<3.12.7-1ubuntu1
3.12.7-1ubuntu1
Ubuntu Ubuntu=24.10
All of
ubuntu/python3.12-minimal<3.12.7-1ubuntu1
3.12.7-1ubuntu1
Ubuntu Ubuntu=24.10
All of
ubuntu/python3.12<3.12.3-1ubuntu0.3
3.12.3-1ubuntu0.3
Ubuntu Ubuntu=24.04
All of
ubuntu/python3.12-minimal<3.12.3-1ubuntu0.3
3.12.3-1ubuntu0.3
Ubuntu Ubuntu=24.04
All of
ubuntu/python3.10<3.10.12-1~22.04.7
3.10.12-1~22.04.7
Ubuntu Ubuntu=22.04
All of
ubuntu/python3.10-minimal<3.10.12-1~22.04.7
3.10.12-1~22.04.7
Ubuntu Ubuntu=22.04
All of
ubuntu/python3.8<3.8.10-0ubuntu1~20.04.13
3.8.10-0ubuntu1~20.04.13
Ubuntu Ubuntu=20.04
All of
ubuntu/python3.8-minimal<3.8.10-0ubuntu1~20.04.13
3.8.10-0ubuntu1~20.04.13
Ubuntu Ubuntu=20.04

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.

Child vulnerabilities

(Contains the following vulnerabilities)

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.
© 2024 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203