USN-6928-1 (UBUNTU-CVE-2024-0397)
Vulnerability from osv_ubuntu – Published: 2024-07-30 13:20 – Updated: 2026-04-27 14:11 – Source websiteIt was discovered that the Python ssl module contained a memory race condition when handling the APIs to obtain the CA certificates and certificate store statistics. This could possibly result in applications obtaining wrong results, leading to various SSL issues. (CVE-2024-0397)
It was discovered that the Python ipaddress module contained incorrect information about which IP address ranges were considered "private" or "globally reachable". This could possibly result in applications applying incorrect security policies. (CVE-2024-4032)
| URL | Type | |
|---|---|---|
{
"affected": [
{
"database_specific": {
"cves_map": {
"cves": [
{
"id": "CVE-2024-0397",
"severity": [
{
"score": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:H",
"type": "CVSS_V3"
},
{
"score": "medium",
"type": "Ubuntu"
}
]
},
{
"id": "CVE-2024-4032",
"severity": [
{
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N",
"type": "CVSS_V3"
},
{
"score": "low",
"type": "Ubuntu"
}
]
}
],
"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.11"
},
{
"binary_name": "libpython3.8",
"binary_version": "3.8.10-0ubuntu1~20.04.11"
},
{
"binary_name": "libpython3.8-minimal",
"binary_version": "3.8.10-0ubuntu1~20.04.11"
},
{
"binary_name": "libpython3.8-stdlib",
"binary_version": "3.8.10-0ubuntu1~20.04.11"
},
{
"binary_name": "libpython3.8-testsuite",
"binary_version": "3.8.10-0ubuntu1~20.04.11"
},
{
"binary_name": "python3.8",
"binary_version": "3.8.10-0ubuntu1~20.04.11"
},
{
"binary_name": "python3.8-examples",
"binary_version": "3.8.10-0ubuntu1~20.04.11"
},
{
"binary_name": "python3.8-full",
"binary_version": "3.8.10-0ubuntu1~20.04.11"
},
{
"binary_name": "python3.8-minimal",
"binary_version": "3.8.10-0ubuntu1~20.04.11"
},
{
"binary_name": "python3.8-venv",
"binary_version": "3.8.10-0ubuntu1~20.04.11"
}
]
},
"package": {
"ecosystem": "Ubuntu:20.04:LTS",
"name": "python3.8",
"purl": "pkg:deb/ubuntu/python3.8@3.8.10-0ubuntu1~20.04.11?arch=source\u0026distro=focal"
},
"ranges": [
{
"events": [
{
"introduced": "0"
},
{
"fixed": "3.8.10-0ubuntu1~20.04.11"
}
],
"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"
]
},
{
"database_specific": {
"cves_map": {
"cves": [
{
"id": "CVE-2024-0397",
"severity": [
{
"score": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:H",
"type": "CVSS_V3"
},
{
"score": "medium",
"type": "Ubuntu"
}
]
},
{
"id": "CVE-2024-4032",
"severity": [
{
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N",
"type": "CVSS_V3"
},
{
"score": "low",
"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.5"
},
{
"binary_name": "libpython3.10",
"binary_version": "3.10.12-1~22.04.5"
},
{
"binary_name": "libpython3.10-minimal",
"binary_version": "3.10.12-1~22.04.5"
},
{
"binary_name": "libpython3.10-stdlib",
"binary_version": "3.10.12-1~22.04.5"
},
{
"binary_name": "libpython3.10-testsuite",
"binary_version": "3.10.12-1~22.04.5"
},
{
"binary_name": "python3.10",
"binary_version": "3.10.12-1~22.04.5"
},
{
"binary_name": "python3.10-examples",
"binary_version": "3.10.12-1~22.04.5"
},
{
"binary_name": "python3.10-full",
"binary_version": "3.10.12-1~22.04.5"
},
{
"binary_name": "python3.10-minimal",
"binary_version": "3.10.12-1~22.04.5"
},
{
"binary_name": "python3.10-nopie",
"binary_version": "3.10.12-1~22.04.5"
},
{
"binary_name": "python3.10-venv",
"binary_version": "3.10.12-1~22.04.5"
}
]
},
"package": {
"ecosystem": "Ubuntu:22.04:LTS",
"name": "python3.10",
"purl": "pkg:deb/ubuntu/python3.10@3.10.12-1~22.04.5?arch=source\u0026distro=jammy"
},
"ranges": [
{
"events": [
{
"introduced": "0"
},
{
"fixed": "3.10.12-1~22.04.5"
}
],
"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"
]
}
],
"aliases": [],
"details": "It was discovered that the Python ssl module contained a memory race\ncondition when handling the APIs to obtain the CA certificates and\ncertificate store statistics. This could possibly result in applications\nobtaining wrong results, leading to various SSL issues. (CVE-2024-0397)\n\nIt was discovered that the Python ipaddress module contained incorrect\ninformation about which IP address ranges were considered \"private\" or\n\"globally reachable\". This could possibly result in applications applying\nincorrect security policies. (CVE-2024-4032)\n",
"id": "USN-6928-1",
"modified": "2026-04-27T14:11:35Z",
"published": "2024-07-30T13:20:37Z",
"references": [
{
"type": "ADVISORY",
"url": "https://ubuntu.com/security/notices/USN-6928-1"
},
{
"type": "REPORT",
"url": "https://ubuntu.com/security/CVE-2024-0397"
},
{
"type": "REPORT",
"url": "https://ubuntu.com/security/CVE-2024-4032"
}
],
"related": [],
"schema_version": "1.7.0",
"summary": "python3.10, python3.8 vulnerabilities",
"upstream": [
"UBUNTU-CVE-2024-0397",
"UBUNTU-CVE-2024-4032"
]
}
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.
The approach is described in our paper Mapping CVEs to MITRE ATT&CK Techniques: A Curated Gold-Set Classifier and the Limits of LLM-Assisted Label Expansion.
Browse all ATT&CK techniques and the vulnerabilities related to each.
Related by attack behaviour
Vulnerabilities whose description is nearest to this one in the vector space of the CIRCL/vulnerability-attack-technique-biencoder model. This is a similarity search over the bi-encoder space (plain cosine), not a classification, and it has no measured accuracy.