{"id":"USN-5342-2","summary":"python2.7 vulnerabilities","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","modified":"2026-04-27T16:02:19.975750Z","published":"2022-08-24T08:56:59Z","related":["UBUNTU-CVE-2021-4189","UBUNTU-CVE-2022-0391"],"upstream":["CVE-2021-4189","CVE-2022-0391","UBUNTU-CVE-2021-4189","UBUNTU-CVE-2022-0391"],"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"}],"affected":[{"package":{"name":"python2.7","ecosystem":"Ubuntu:Pro:14.04:LTS","purl":"pkg:deb/ubuntu/python2.7@2.7.6-8ubuntu0.6+esm12?arch=source&distro=trusty/esm"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.7.6-8ubuntu0.6+esm12"}]}],"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"],"ecosystem_specific":{"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"}],"availability":"Available with Ubuntu Pro (Infra-only): https://ubuntu.com/pro"},"database_specific":{"cves_map":{"cves":[{"severity":[{"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":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N"},{"type":"Ubuntu","score":"medium"}],"id":"CVE-2021-4189"},{"severity":[{"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":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N"},{"type":"Ubuntu","score":"medium"}],"id":"CVE-2022-0391"}],"ecosystem":"Ubuntu:Pro:14.04:LTS"},"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/usn/USN-5342-2.json"}},{"package":{"name":"python2.7","ecosystem":"Ubuntu:Pro:20.04:LTS","purl":"pkg:deb/ubuntu/python2.7@2.7.18-1~20.04.3+esm1?arch=source&distro=esm-apps/focal"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.7.18-1~20.04.3+esm1"}]}],"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"],"ecosystem_specific":{"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"}],"availability":"Available with Ubuntu Pro: https://ubuntu.com/pro"},"database_specific":{"cves_map":{"cves":[{"severity":[{"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":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N"},{"type":"Ubuntu","score":"medium"}],"id":"CVE-2021-4189"},{"severity":[{"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":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N"},{"type":"Ubuntu","score":"medium"}],"id":"CVE-2022-0391"}],"ecosystem":"Ubuntu:Pro:20.04:LTS"},"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/usn/USN-5342-2.json"}},{"package":{"name":"python2.7","ecosystem":"Ubuntu:Pro:22.04:LTS","purl":"pkg:deb/ubuntu/python2.7@2.7.18-13ubuntu1.1+esm2?arch=source&distro=esm-apps/jammy"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.7.18-13ubuntu1.1+esm2"}]}],"versions":["2.7.18-8build1","2.7.18-13","2.7.18-13ubuntu1","2.7.18-13ubuntu1.1"],"ecosystem_specific":{"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"}],"availability":"Available with Ubuntu Pro: https://ubuntu.com/pro"},"database_specific":{"cves_map":{"cves":[{"severity":[{"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":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N"},{"type":"Ubuntu","score":"medium"}],"id":"CVE-2021-4189"},{"severity":[{"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":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N"},{"type":"Ubuntu","score":"medium"}],"id":"CVE-2022-0391"}],"ecosystem":"Ubuntu:Pro:22.04:LTS"},"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/usn/USN-5342-2.json"}}],"schema_version":"1.7.5"}