Advisory

USN-7116-1

Also known as: CVE-2024-9287

Summary

python3.10, python3.12, python3.8 vulnerability

Details

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.

Severity

Not rated by the source.

Dates

Published
2024-11-19 13:22 UTC
Modified
2026-04-27 17:34 UTC

Affected packages and fixes

python3.8

Debian packages (deb) · Ubuntu 20.04

Affected

  • introduced 0, fixed 3.8.10-0ubuntu1~20.04.13 (ecosystem)

Fixed versions

3.8.10-0ubuntu1~20.04.13

Fix

  • Fixed version 3.8.10-0ubuntu1~20.04.13
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

python3.10

Debian packages (deb) · Ubuntu 22.04

Affected

  • introduced 0, fixed 3.10.12-1~22.04.7 (ecosystem)

Fixed versions

3.10.12-1~22.04.7

Fix

  • Fixed version 3.10.12-1~22.04.7
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

python3.12

Debian packages (deb) · Ubuntu 24.04

Affected

  • introduced 0, fixed 3.12.3-1ubuntu0.3 (ecosystem)

Fixed versions

3.12.3-1ubuntu0.3

Fix

  • Fixed version 3.12.3-1ubuntu0.3
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: Ubuntu Security Notices · CC BY-SA 4.0

Sources & licences