[USN-7271-1] virtualenv vulnerability

Octavio Galland octavio.galland at canonical.com
Tue Feb 18 15:36:36 UTC 2025


==========================================================================
Ubuntu Security Notice USN-7271-1
February 18, 2025

python-virtualenv vulnerability
==========================================================================

A security issue affects these releases of Ubuntu and its derivatives:

- Ubuntu 22.04 LTS
- Ubuntu 20.04 LTS

Summary:

python-virtualenv could be made to crash or run programs as your login if it
opened a specially crafted file.

Software Description:
- python-virtualenv: Python virtual environment creator

Details:

It was discovered that virtualenv incorrectly handled paths when activating
virtual environments. An attacker could possibly use this issue to execute
arbitrary code.

Update instructions:

The problem can be corrected by updating your system to the following
package versions:

Ubuntu 22.04 LTS
   python3-virtualenv              20.13.0+ds-2ubuntu0.1~esm1
                                   Available with Ubuntu Pro
   virtualenv                      20.13.0+ds-2ubuntu0.1~esm1
                                   Available with Ubuntu Pro

Ubuntu 20.04 LTS
   python3-virtualenv              20.0.17-1ubuntu0.4+esm1
                                   Available with Ubuntu Pro
   virtualenv                      20.0.17-1ubuntu0.4+esm1
                                   Available with Ubuntu Pro

In general, a standard system update will make all the necessary changes.

References:
   https://ubuntu.com/security/notices/USN-7271-1
   CVE-2024-53899

-------------- next part --------------
A non-text attachment was scrubbed...
Name: OpenPGP_0xF6E140F6DB359E58.asc
Type: application/pgp-keys
Size: 3163 bytes
Desc: OpenPGP public key
URL: <https://lists.ubuntu.com/archives/ubuntu-security-announce/attachments/20250218/0029e6d1/attachment.key>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: OpenPGP_signature.asc
Type: application/pgp-signature
Size: 840 bytes
Desc: OpenPGP digital signature
URL: <https://lists.ubuntu.com/archives/ubuntu-security-announce/attachments/20250218/0029e6d1/attachment.sig>


More information about the ubuntu-security-announce mailing list