USN-7116-1

See a problem?
Import Source
JSON Data
https://api.osv.dev/v1/vulns/USN-7116-1
Related
Published
2024-11-19T13:22:42.258465Z
Modified
2024-11-19T13:22:42.258465Z
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.

References

Affected packages

Ubuntu:20.04:LTS / python3.8

Package

Name
python3.8
Purl
pkg:deb/ubuntu/python3.8?arch=src?distro=focal

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
3.8.10-0ubuntu1~20.04.13

Affected versions

3.*

3.8.0-1
3.8.0-2
3.8.0-3
3.8.0-4
3.8.0-5
3.8.1-2ubuntu3
3.8.2~rc1-1ubuntu1
3.8.2-1
3.8.2-1ubuntu1
3.8.2-1ubuntu1.1
3.8.2-1ubuntu1.2
3.8.5-1~20.04
3.8.5-1~20.04.2
3.8.5-1~20.04.3
3.8.10-0ubuntu1~20.04
3.8.10-0ubuntu1~20.04.1
3.8.10-0ubuntu1~20.04.2
3.8.10-0ubuntu1~20.04.4
3.8.10-0ubuntu1~20.04.5
3.8.10-0ubuntu1~20.04.6
3.8.10-0ubuntu1~20.04.7
3.8.10-0ubuntu1~20.04.8
3.8.10-0ubuntu1~20.04.9
3.8.10-0ubuntu1~20.04.10
3.8.10-0ubuntu1~20.04.11
3.8.10-0ubuntu1~20.04.12

Ecosystem specific

{
    "availability": "No subscription required",
    "binaries": [
        {
            "binary_version": "3.8.10-0ubuntu1~20.04.13",
            "binary_name": "idle-python3.8"
        },
        {
            "binary_version": "3.8.10-0ubuntu1~20.04.13",
            "binary_name": "libpython3.8"
        },
        {
            "binary_version": "3.8.10-0ubuntu1~20.04.13",
            "binary_name": "libpython3.8-dbg"
        },
        {
            "binary_version": "3.8.10-0ubuntu1~20.04.13",
            "binary_name": "libpython3.8-dev"
        },
        {
            "binary_version": "3.8.10-0ubuntu1~20.04.13",
            "binary_name": "libpython3.8-minimal"
        },
        {
            "binary_version": "3.8.10-0ubuntu1~20.04.13",
            "binary_name": "libpython3.8-stdlib"
        },
        {
            "binary_version": "3.8.10-0ubuntu1~20.04.13",
            "binary_name": "libpython3.8-testsuite"
        },
        {
            "binary_version": "3.8.10-0ubuntu1~20.04.13",
            "binary_name": "python3.8"
        },
        {
            "binary_version": "3.8.10-0ubuntu1~20.04.13",
            "binary_name": "python3.8-dbg"
        },
        {
            "binary_version": "3.8.10-0ubuntu1~20.04.13",
            "binary_name": "python3.8-dev"
        },
        {
            "binary_version": "3.8.10-0ubuntu1~20.04.13",
            "binary_name": "python3.8-doc"
        },
        {
            "binary_version": "3.8.10-0ubuntu1~20.04.13",
            "binary_name": "python3.8-examples"
        },
        {
            "binary_version": "3.8.10-0ubuntu1~20.04.13",
            "binary_name": "python3.8-full"
        },
        {
            "binary_version": "3.8.10-0ubuntu1~20.04.13",
            "binary_name": "python3.8-minimal"
        },
        {
            "binary_version": "3.8.10-0ubuntu1~20.04.13",
            "binary_name": "python3.8-venv"
        }
    ]
}

Ubuntu:22.04:LTS / python3.10

Package

Name
python3.10
Purl
pkg:deb/ubuntu/python3.10?arch=src?distro=jammy

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
3.10.12-1~22.04.7

Affected versions

3.*

3.10.0-2
3.10.0-3
3.10.0-4
3.10.0-5
3.10.0-5build1
3.10.1-1
3.10.1-2
3.10.2-1
3.10.2-5
3.10.2-7
3.10.3-1
3.10.4-3
3.10.4-3ubuntu0.1
3.10.6-1~22.04
3.10.6-1~22.04.1
3.10.6-1~22.04.2
3.10.6-1~22.04.2ubuntu1
3.10.6-1~22.04.2ubuntu1.1
3.10.12-1~22.04.2
3.10.12-1~22.04.3
3.10.12-1~22.04.4
3.10.12-1~22.04.5
3.10.12-1~22.04.6

Ecosystem specific

{
    "availability": "No subscription required",
    "binaries": [
        {
            "binary_version": "3.10.12-1~22.04.7",
            "binary_name": "idle-python3.10"
        },
        {
            "binary_version": "3.10.12-1~22.04.7",
            "binary_name": "libpython3.10"
        },
        {
            "binary_version": "3.10.12-1~22.04.7",
            "binary_name": "libpython3.10-dbg"
        },
        {
            "binary_version": "3.10.12-1~22.04.7",
            "binary_name": "libpython3.10-dev"
        },
        {
            "binary_version": "3.10.12-1~22.04.7",
            "binary_name": "libpython3.10-minimal"
        },
        {
            "binary_version": "3.10.12-1~22.04.7",
            "binary_name": "libpython3.10-stdlib"
        },
        {
            "binary_version": "3.10.12-1~22.04.7",
            "binary_name": "libpython3.10-testsuite"
        },
        {
            "binary_version": "3.10.12-1~22.04.7",
            "binary_name": "python3.10"
        },
        {
            "binary_version": "3.10.12-1~22.04.7",
            "binary_name": "python3.10-dbg"
        },
        {
            "binary_version": "3.10.12-1~22.04.7",
            "binary_name": "python3.10-dev"
        },
        {
            "binary_version": "3.10.12-1~22.04.7",
            "binary_name": "python3.10-doc"
        },
        {
            "binary_version": "3.10.12-1~22.04.7",
            "binary_name": "python3.10-examples"
        },
        {
            "binary_version": "3.10.12-1~22.04.7",
            "binary_name": "python3.10-full"
        },
        {
            "binary_version": "3.10.12-1~22.04.7",
            "binary_name": "python3.10-minimal"
        },
        {
            "binary_version": "3.10.12-1~22.04.7",
            "binary_name": "python3.10-nopie"
        },
        {
            "binary_version": "3.10.12-1~22.04.7",
            "binary_name": "python3.10-venv"
        }
    ]
}

Ubuntu:24.10 / python3.12

Package

Name
python3.12
Purl
pkg:deb/ubuntu/python3.12?arch=src?distro=oracular

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
3.12.7-1ubuntu1

Affected versions

3.*

3.12.3-1
3.12.4-1
3.12.4-1ubuntu1
3.12.5-1
3.12.5-4
3.12.6-1
3.12.7-0ubuntu1
3.12.7-1

Ecosystem specific

{
    "availability": "No subscription required",
    "binaries": [
        {
            "binary_version": "3.12.7-1ubuntu1",
            "binary_name": "idle-python3.12"
        },
        {
            "binary_version": "3.12.7-1ubuntu1",
            "binary_name": "libpython3.12-dev"
        },
        {
            "binary_version": "3.12.7-1ubuntu1",
            "binary_name": "libpython3.12-minimal"
        },
        {
            "binary_version": "3.12.7-1ubuntu1",
            "binary_name": "libpython3.12-stdlib"
        },
        {
            "binary_version": "3.12.7-1ubuntu1",
            "binary_name": "libpython3.12-testsuite"
        },
        {
            "binary_version": "3.12.7-1ubuntu1",
            "binary_name": "libpython3.12t64"
        },
        {
            "binary_version": "3.12.7-1ubuntu1",
            "binary_name": "libpython3.12t64-dbg"
        },
        {
            "binary_version": "3.12.7-1ubuntu1",
            "binary_name": "python3.12"
        },
        {
            "binary_version": "3.12.7-1ubuntu1",
            "binary_name": "python3.12-dbg"
        },
        {
            "binary_version": "3.12.7-1ubuntu1",
            "binary_name": "python3.12-dev"
        },
        {
            "binary_version": "3.12.7-1ubuntu1",
            "binary_name": "python3.12-doc"
        },
        {
            "binary_version": "3.12.7-1ubuntu1",
            "binary_name": "python3.12-examples"
        },
        {
            "binary_version": "3.12.7-1ubuntu1",
            "binary_name": "python3.12-full"
        },
        {
            "binary_version": "3.12.7-1ubuntu1",
            "binary_name": "python3.12-gdbm"
        },
        {
            "binary_version": "3.12.7-1ubuntu1",
            "binary_name": "python3.12-minimal"
        },
        {
            "binary_version": "3.12.7-1ubuntu1",
            "binary_name": "python3.12-nopie"
        },
        {
            "binary_version": "3.12.7-1ubuntu1",
            "binary_name": "python3.12-tk"
        },
        {
            "binary_version": "3.12.7-1ubuntu1",
            "binary_name": "python3.12-venv"
        }
    ]
}

Ubuntu:24.04:LTS / python3.12

Package

Name
python3.12
Purl
pkg:deb/ubuntu/python3.12?arch=src?distro=noble

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
3.12.3-1ubuntu0.3

Affected versions

3.*

3.12.0-1
3.12.0-5
3.12.0-6
3.12.0-7
3.12.1-2
3.12.2-1
3.12.2-4build3
3.12.2-4build4
3.12.2-5ubuntu3
3.12.3-1
3.12.3-1ubuntu0.1
3.12.3-1ubuntu0.2

Ecosystem specific

{
    "availability": "No subscription required",
    "binaries": [
        {
            "binary_version": "3.12.3-1ubuntu0.3",
            "binary_name": "idle-python3.12"
        },
        {
            "binary_version": "3.12.3-1ubuntu0.3",
            "binary_name": "libpython3.12-dev"
        },
        {
            "binary_version": "3.12.3-1ubuntu0.3",
            "binary_name": "libpython3.12-minimal"
        },
        {
            "binary_version": "3.12.3-1ubuntu0.3",
            "binary_name": "libpython3.12-stdlib"
        },
        {
            "binary_version": "3.12.3-1ubuntu0.3",
            "binary_name": "libpython3.12-testsuite"
        },
        {
            "binary_version": "3.12.3-1ubuntu0.3",
            "binary_name": "libpython3.12t64"
        },
        {
            "binary_version": "3.12.3-1ubuntu0.3",
            "binary_name": "libpython3.12t64-dbg"
        },
        {
            "binary_version": "3.12.3-1ubuntu0.3",
            "binary_name": "python3.12"
        },
        {
            "binary_version": "3.12.3-1ubuntu0.3",
            "binary_name": "python3.12-dbg"
        },
        {
            "binary_version": "3.12.3-1ubuntu0.3",
            "binary_name": "python3.12-dev"
        },
        {
            "binary_version": "3.12.3-1ubuntu0.3",
            "binary_name": "python3.12-doc"
        },
        {
            "binary_version": "3.12.3-1ubuntu0.3",
            "binary_name": "python3.12-examples"
        },
        {
            "binary_version": "3.12.3-1ubuntu0.3",
            "binary_name": "python3.12-full"
        },
        {
            "binary_version": "3.12.3-1ubuntu0.3",
            "binary_name": "python3.12-minimal"
        },
        {
            "binary_version": "3.12.3-1ubuntu0.3",
            "binary_name": "python3.12-nopie"
        },
        {
            "binary_version": "3.12.3-1ubuntu0.3",
            "binary_name": "python3.12-venv"
        }
    ]
}