Advisory

DEBIAN-CVE-2024-9287

Also known as: CVE-2024-9287

Summary

The record has no summary.

Details

A vulnerability has been found in the CPython venv module and CLI where path names provided when creating a virtual environment were not quoted properly, allowing the creator to inject commands into virtual environment "activation" scripts (ie "source venv/bin/activate"). This means that attacker-controlled virtual environments are able to run commands when the virtual environment is activated. Virtual environments which are not created by an attacker or which aren't activated before being used (ie "./venv/bin/python") are not affected.

Severity

High Basis: CVSS v3 score 7.8, vector CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Dates

Published
2024-10-22 17:15 UTC
Modified
2026-11-01 17:00 UTC

Affected packages and fixes

pypy3

Debian packages (deb) · Debian 12

Affected

  • introduced 0, fixed 7.3.11+dfsg-2+deb12u3 (ecosystem)

Fixed versions

7.3.11+dfsg-2+deb12u3

Fix

  • Fixed version 7.3.11+dfsg-2+deb12u3
    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.

pypy3

Debian packages (deb) · Debian 13

Affected

  • introduced 0, fixed 7.3.17+dfsg-3 (ecosystem)

Fixed versions

7.3.17+dfsg-3

Fix

  • Fixed version 7.3.17+dfsg-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.

pypy3

Debian packages (deb) · Debian 14

Affected

  • introduced 0, fixed 7.3.17+dfsg-3 (ecosystem)

Fixed versions

7.3.17+dfsg-3

Fix

  • Fixed version 7.3.17+dfsg-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.

python3.11

Debian packages (deb) · Debian 12

Affected

  • introduced 0, fixed 3.11.2-6+deb12u5 (ecosystem)

Fixed versions

3.11.2-6+deb12u5

Fix

  • Fixed version 3.11.2-6+deb12u5
    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.13

Debian packages (deb) · Debian 13

Affected

  • introduced 0, fixed 3.13.1-1 (ecosystem)

Fixed versions

3.13.1-1

Fix

  • Fixed version 3.13.1-1
    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: Debian Security Tracker (converted by OSV.dev)

Debian Security Tracker, converted to OSV by OSV.dev.

Sources & licences