usn-7116-1
Vulnerability from osv_ubuntu
Published
2024-11-19 13:22
Modified
2026-04-27 14:11
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
| URL | Type | |
|---|---|---|
{
"affected": [
{
"database_specific": {
"cves_map": {
"cves": [],
"ecosystem": "Ubuntu:20.04:LTS"
}
},
"ecosystem_specific": {
"availability": "No subscription required",
"binaries": [
{
"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-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-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",
"binary_version": "3.8.10-0ubuntu1~20.04.13"
}
]
},
"package": {
"ecosystem": "Ubuntu:20.04:LTS",
"name": "python3.8",
"purl": "pkg:deb/ubuntu/python3.8@3.8.10-0ubuntu1~20.04.13?arch=source\u0026distro=focal"
},
"ranges": [
{
"events": [
{
"introduced": "0"
},
{
"fixed": "3.8.10-0ubuntu1~20.04.13"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"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"
]
},
{
"database_specific": {
"cves_map": {
"cves": [
{
"id": "CVE-2024-9287",
"severity": [
{
"score": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H",
"type": "CVSS_V3"
},
{
"score": "CVSS:4.0/AV:L/AC:L/AT:P/PR:H/UI:A/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N/U:Green",
"type": "CVSS_V4"
},
{
"score": "medium",
"type": "Ubuntu"
}
]
}
],
"ecosystem": "Ubuntu:22.04:LTS"
}
},
"ecosystem_specific": {
"availability": "No subscription required",
"binaries": [
{
"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-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-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",
"binary_version": "3.10.12-1~22.04.7"
}
]
},
"package": {
"ecosystem": "Ubuntu:22.04:LTS",
"name": "python3.10",
"purl": "pkg:deb/ubuntu/python3.10@3.10.12-1~22.04.7?arch=source\u0026distro=jammy"
},
"ranges": [
{
"events": [
{
"introduced": "0"
},
{
"fixed": "3.10.12-1~22.04.7"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"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"
]
},
{
"database_specific": {
"cves_map": {
"cves": [
{
"id": "CVE-2024-9287",
"severity": [
{
"score": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H",
"type": "CVSS_V3"
},
{
"score": "CVSS:4.0/AV:L/AC:L/AT:P/PR:H/UI:A/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N/U:Green",
"type": "CVSS_V4"
},
{
"score": "medium",
"type": "Ubuntu"
}
]
}
],
"ecosystem": "Ubuntu:24.04:LTS"
}
},
"ecosystem_specific": {
"availability": "No subscription required",
"binaries": [
{
"binary_name": "idle-python3.12",
"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": "python3.12",
"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",
"binary_version": "3.12.3-1ubuntu0.3"
}
]
},
"package": {
"ecosystem": "Ubuntu:24.04:LTS",
"name": "python3.12",
"purl": "pkg:deb/ubuntu/python3.12@3.12.3-1ubuntu0.3?arch=source\u0026distro=noble"
},
"ranges": [
{
"events": [
{
"introduced": "0"
},
{
"fixed": "3.12.3-1ubuntu0.3"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"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"
]
}
],
"aliases": [],
"details": "It was discovered that Python incorrectly handled quoting path names when\nusing the venv module. A local attacker able to control virtual\nenvironments could possibly use this issue to execute arbitrary code when\nthe virtual environment is activated.\n",
"id": "USN-7116-1",
"modified": "2026-04-27T14:11:38Z",
"published": "2024-11-19T13:22:42Z",
"references": [
{
"type": "ADVISORY",
"url": "https://ubuntu.com/security/notices/USN-7116-1"
},
{
"type": "REPORT",
"url": "https://ubuntu.com/security/CVE-2024-9287"
}
],
"related": [],
"schema_version": "1.7.0",
"summary": "python3.10, python3.12, python3.8 vulnerability",
"upstream": [
"UBUNTU-CVE-2024-9287"
]
}
Loading…
Loading…
Experimental. This forecast is provided for visualization only and may change without notice. Do not use it for operational decisions.
Forecast uses a logistic model when the trend is rising, or an exponential decay model when the trend is falling. Fitted via linearized least squares.
Sightings
| Author | Source | Type | Date | Other |
|---|
Nomenclature
- Seen: The vulnerability was mentioned, discussed, or observed by the user.
- Confirmed: The vulnerability has been validated from an analyst's perspective.
- Published Proof of Concept: A public proof of concept is available for this vulnerability.
- Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
- Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
- Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
- Not confirmed: The user expressed doubt about the validity of the vulnerability.
- Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.
Loading…
Loading…