usn-5342-2
Vulnerability from osv_ubuntu
Published
2022-08-24 08:56
Modified
2026-06-29 10:52
Summary
python2.7 vulnerabilities
Details
USN-5342-1 fixed several vulnerabilities in Python. This update provides the corresponding update for Ubuntu 14.04 ESM, Ubuntu 20.04 ESM and Ubuntu 22.04 ESM.
Original advisory details:
It was discovered that Python incorrectly handled certain FTP requests. An attacker could possibly use this issue to expose sensitive information. (CVE-2021-4189)
It was discovered that Python incorrectly handled certain inputs. An attacker could possibly use this issue to execute arbitrary code. (CVE-2022-0391)
References
| URL | Type | |
|---|---|---|
{
"affected": [
{
"database_specific": {
"cves_map": {
"cves": [
{
"id": "CVE-2021-4189",
"severity": [
{
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N",
"type": "CVSS_V3"
},
{
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N",
"type": "CVSS_V3"
},
{
"score": "medium",
"type": "Ubuntu"
}
]
},
{
"id": "CVE-2022-0391",
"severity": [
{
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N",
"type": "CVSS_V3"
},
{
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N",
"type": "CVSS_V3"
},
{
"score": "medium",
"type": "Ubuntu"
}
]
}
],
"ecosystem": "Ubuntu:Pro:14.04:LTS"
}
},
"ecosystem_specific": {
"availability": "Available with Ubuntu Pro (Infra-only): https://ubuntu.com/pro",
"binaries": [
{
"binary_name": "idle-python2.7",
"binary_version": "2.7.6-8ubuntu0.6+esm12"
},
{
"binary_name": "libpython2.7",
"binary_version": "2.7.6-8ubuntu0.6+esm12"
},
{
"binary_name": "libpython2.7-minimal",
"binary_version": "2.7.6-8ubuntu0.6+esm12"
},
{
"binary_name": "libpython2.7-stdlib",
"binary_version": "2.7.6-8ubuntu0.6+esm12"
},
{
"binary_name": "libpython2.7-testsuite",
"binary_version": "2.7.6-8ubuntu0.6+esm12"
},
{
"binary_name": "python2.7",
"binary_version": "2.7.6-8ubuntu0.6+esm12"
},
{
"binary_name": "python2.7-examples",
"binary_version": "2.7.6-8ubuntu0.6+esm12"
},
{
"binary_name": "python2.7-minimal",
"binary_version": "2.7.6-8ubuntu0.6+esm12"
}
]
},
"package": {
"ecosystem": "Ubuntu:Pro:14.04:LTS",
"name": "python2.7",
"purl": "pkg:deb/ubuntu/python2.7@2.7.6-8ubuntu0.6+esm12?arch=source\u0026distro=trusty/esm"
},
"ranges": [
{
"events": [
{
"introduced": "0"
},
{
"fixed": "2.7.6-8ubuntu0.6+esm12"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"2.7.5-8ubuntu3",
"2.7.5-8ubuntu4",
"2.7.6-2",
"2.7.6-2ubuntu1",
"2.7.6-3",
"2.7.6-3ubuntu1",
"2.7.6-4",
"2.7.6-4ubuntu1",
"2.7.6-5",
"2.7.6-7",
"2.7.6-8",
"2.7.6-8ubuntu0.2",
"2.7.6-8ubuntu0.3",
"2.7.6-8ubuntu0.4",
"2.7.6-8ubuntu0.5",
"2.7.6-8ubuntu0.6+esm2",
"2.7.6-8ubuntu0.6+esm3",
"2.7.6-8ubuntu0.6+esm5",
"2.7.6-8ubuntu0.6+esm6",
"2.7.6-8ubuntu0.6+esm7",
"2.7.6-8ubuntu0.6+esm8",
"2.7.6-8ubuntu0.6+esm9",
"2.7.6-8ubuntu0.6+esm10",
"2.7.6-8ubuntu0.6+esm11"
]
},
{
"database_specific": {
"cves_map": {
"cves": [
{
"id": "CVE-2021-4189",
"severity": [
{
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N",
"type": "CVSS_V3"
},
{
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N",
"type": "CVSS_V3"
},
{
"score": "medium",
"type": "Ubuntu"
}
]
},
{
"id": "CVE-2022-0391",
"severity": [
{
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N",
"type": "CVSS_V3"
},
{
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N",
"type": "CVSS_V3"
},
{
"score": "medium",
"type": "Ubuntu"
}
]
}
],
"ecosystem": "Ubuntu:Pro:20.04:LTS"
}
},
"ecosystem_specific": {
"availability": "Available with Ubuntu Pro: https://ubuntu.com/pro",
"binaries": [
{
"binary_name": "idle-python2.7",
"binary_version": "2.7.18-1~20.04.3+esm1"
},
{
"binary_name": "libpython2.7",
"binary_version": "2.7.18-1~20.04.3+esm1"
},
{
"binary_name": "libpython2.7-minimal",
"binary_version": "2.7.18-1~20.04.3+esm1"
},
{
"binary_name": "libpython2.7-stdlib",
"binary_version": "2.7.18-1~20.04.3+esm1"
},
{
"binary_name": "libpython2.7-testsuite",
"binary_version": "2.7.18-1~20.04.3+esm1"
},
{
"binary_name": "python2.7",
"binary_version": "2.7.18-1~20.04.3+esm1"
},
{
"binary_name": "python2.7-examples",
"binary_version": "2.7.18-1~20.04.3+esm1"
},
{
"binary_name": "python2.7-minimal",
"binary_version": "2.7.18-1~20.04.3+esm1"
}
]
},
"package": {
"ecosystem": "Ubuntu:Pro:20.04:LTS",
"name": "python2.7",
"purl": "pkg:deb/ubuntu/python2.7@2.7.18-1~20.04.3+esm1?arch=source\u0026distro=esm-apps/focal"
},
"ranges": [
{
"events": [
{
"introduced": "0"
},
{
"fixed": "2.7.18-1~20.04.3+esm1"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"2.7.17~rc1-1",
"2.7.17-1",
"2.7.17-1ubuntu5",
"2.7.17-1ubuntu6",
"2.7.18~rc1-2",
"2.7.18-1~20.04",
"2.7.18-1~20.04.1",
"2.7.18-1~20.04.1+esm1",
"2.7.18-1~20.04.3"
]
},
{
"database_specific": {
"cves_map": {
"cves": [
{
"id": "CVE-2021-4189",
"severity": [
{
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N",
"type": "CVSS_V3"
},
{
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N",
"type": "CVSS_V3"
},
{
"score": "medium",
"type": "Ubuntu"
}
]
},
{
"id": "CVE-2022-0391",
"severity": [
{
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N",
"type": "CVSS_V3"
},
{
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N",
"type": "CVSS_V3"
},
{
"score": "medium",
"type": "Ubuntu"
}
]
}
],
"ecosystem": "Ubuntu:Pro:22.04:LTS"
}
},
"ecosystem_specific": {
"availability": "Available with Ubuntu Pro: https://ubuntu.com/pro",
"binaries": [
{
"binary_name": "idle-python2.7",
"binary_version": "2.7.18-13ubuntu1.1+esm2"
},
{
"binary_name": "libpython2.7",
"binary_version": "2.7.18-13ubuntu1.1+esm2"
},
{
"binary_name": "libpython2.7-minimal",
"binary_version": "2.7.18-13ubuntu1.1+esm2"
},
{
"binary_name": "libpython2.7-stdlib",
"binary_version": "2.7.18-13ubuntu1.1+esm2"
},
{
"binary_name": "libpython2.7-testsuite",
"binary_version": "2.7.18-13ubuntu1.1+esm2"
},
{
"binary_name": "python2.7",
"binary_version": "2.7.18-13ubuntu1.1+esm2"
},
{
"binary_name": "python2.7-examples",
"binary_version": "2.7.18-13ubuntu1.1+esm2"
},
{
"binary_name": "python2.7-minimal",
"binary_version": "2.7.18-13ubuntu1.1+esm2"
}
]
},
"package": {
"ecosystem": "Ubuntu:Pro:22.04:LTS",
"name": "python2.7",
"purl": "pkg:deb/ubuntu/python2.7@2.7.18-13ubuntu1.1+esm2?arch=source\u0026distro=esm-apps/jammy"
},
"ranges": [
{
"events": [
{
"introduced": "0"
},
{
"fixed": "2.7.18-13ubuntu1.1+esm2"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"2.7.18-8build1",
"2.7.18-13",
"2.7.18-13ubuntu1",
"2.7.18-13ubuntu1.1"
]
}
],
"aliases": [],
"details": "USN-5342-1 fixed several vulnerabilities in Python. This update provides\nthe corresponding update for Ubuntu 14.04 ESM, Ubuntu 20.04 ESM and\nUbuntu 22.04 ESM.\n\nOriginal advisory details:\n\n It was discovered that Python incorrectly handled certain FTP requests.\n An attacker could possibly use this issue to expose sensitive information.\n (CVE-2021-4189)\n\n It was discovered that Python incorrectly handled certain inputs.\n An attacker could possibly use this issue to execute arbitrary code.\n (CVE-2022-0391)\n",
"id": "USN-5342-2",
"modified": "2026-06-29T10:52:54Z",
"published": "2022-08-24T08:56:59Z",
"references": [
{
"type": "ADVISORY",
"url": "https://ubuntu.com/security/notices/USN-5342-2"
},
{
"type": "REPORT",
"url": "https://ubuntu.com/security/CVE-2021-4189"
},
{
"type": "REPORT",
"url": "https://ubuntu.com/security/CVE-2022-0391"
}
],
"related": [],
"schema_version": "1.7.0",
"summary": "python2.7 vulnerabilities",
"upstream": [
"UBUNTU-CVE-2021-4189",
"UBUNTU-CVE-2022-0391"
]
}
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…