python2.7, python3.7, python3.8 vulnerabilities
USN-4754-1 fixed vulnerabilities in Python. This update provides the corresponding updates for Ubuntu 18.04 and Ubuntu 20.04. In the case of Python 2.7 for 20.04, these additional fixes are included: It was dicovered that Python allowed remote attackers to cause a denial of service (resource consumption) via a ZIP bomb. (CVE-2019-9674) It was discovered that Python had potentially misleading information about whether sorting occurs. This fix updates the documentation about it. (CVE-2019-17514) It was discovered that Python incorrectly handled certain TAR archives. An attacker could possibly use this issue to cause a denial of service. (CVE-2019-20907) It was discovered that Python allowed an HTTP server to conduct Regular Expression Denial of Service (ReDoS) attacks against a client because of urllib.request.AbstractBasicAuthHandler catastrophic backtracking. (CVE-2020-8492) It was discovered that Python allowed CRLF injection if the attacker controls the HTTP request method, as demonstrated by inserting CR and LF control characters in the first argument of HTTPConnection.request. (CVE-2020-26116) Original advisory details: It was discovered that Python incorrectly handled certain inputs. An attacker could possibly use this issue to execute arbitrary code or cause a denial of service. (CVE-2020-27619, CVE-2021-3177)
- Products
- python2.7, python3.7, python3.8
- Affected versions
- 2.7.17-1, 2.7.17-1ubuntu5, 2.7.17-1ubuntu6, 2.7.17~rc1-1, 2.7.18-1~20.04, 2.7.18~rc1-2, 3.7.0-1~18.04, 3.7.0~a2-1, 3.7.0~a3-1, 3.7.0~a3-2, 3.7.0~a3-3, 3.7.0~a4-1, 3.7.0~b1-1, 3.7.0~b1-1build1, 3.7.0~b2-1, 3.7.0~b3-1, 3.7.1-1~18.04, 3.7.3-2~18.04.1, 3.7.5-2~18.04, 3.8.0-3~18.04
- Fixed versions
- 2.7.18-1~20.04.1, 3.7.5-2~18.04.4, 3.8.0-3~18.04.1
- CVEs
- CVE-2019-17514, CVE-2019-20907, CVE-2019-9674, CVE-2020-26116, CVE-2020-27619, CVE-2020-8492, CVE-2021-3177
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 28 Oct 2026, 10:04 UTC · Revision 1
Source evidence
python2.7, python3.7, python3.8 vulnerabilities
core-osv · Original sourcePublished 12 Mar 2021, 14:07 UTC
USN-4754-1 fixed vulnerabilities in Python. This update provides the corresponding updates for Ubuntu 18.04 and Ubuntu 20.04. In the case of Python 2.7 for 20.04, these additional fixes are included: It was dicovered that Python allowed remote attackers to cause a denial of service (resource consumption) via a ZIP bomb. (CVE-2019-9674) It was discovered that Python had potentially misleading information about whether sorting occurs. This fix updates the documentation about it. (CVE-2019-17514) It was discovered that Python incorrectly handled certain TAR archives. An attacker could possibly use this issue to cause a denial of service. (CVE-2019-20907) It was discovered that Python allowed an HTTP server to conduct Regular Expression Denial of Service (ReDoS) attacks against a client because of urllib.request.AbstractBasicAuthHandler catastrophic backtracking. (CVE-2020-8492) It was discovered that Python allowed CRLF injection if the attacker controls the HTTP request method, as demonstrated by inserting CR and LF control characters in the first argument of HTTPConnection.request. (CVE-2020-26116) Original advisory details: It was discovered that Python incorrectly handled certain inputs. An attacker could possibly use this issue to execute arbitrary code or cause a denial of service. (CVE-2020-27619, CVE-2021-3177)
osv:USN-4754-3
python3.7
Fixed versions: 3.7.5-2~18.04.4
python3.8
Fixed versions: 3.8.0-3~18.04.1
python2.7
Fixed versions: 2.7.18-1~20.04.1
Complete source record
{
"id": "246684712cf5c5f9be1ec0e93864cbf96dee3e54337747810e2cd96b61584e9b",
"url": "https://osv.dev/vulnerability/USN-4754-3",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "python2.7, python3.7, python3.8 vulnerabilities",
"summary": "USN-4754-1 fixed vulnerabilities in Python. This update provides the corresponding updates for Ubuntu 18.04 and Ubuntu 20.04. In the case of Python 2.7 for 20.04, these additional fixes are included: It was dicovered that Python allowed remote attackers to cause a denial of service (resource consumption) via a ZIP bomb. (CVE-2019-9674) It was discovered that Python had potentially misleading information about whether sorting occurs. This fix updates the documentation about it. (CVE-2019-17514) It was discovered that Python incorrectly handled certain TAR archives. An attacker could possibly use this issue to cause a denial of service. (CVE-2019-20907) It was discovered that Python allowed an HTTP server to conduct Regular Expression Denial of Service (ReDoS) attacks against a client because of urllib.request.AbstractBasicAuthHandler catastrophic backtracking. (CVE-2020-8492) It was discovered that Python allowed CRLF injection if the attacker controls the HTTP request method, as demonstrated by inserting CR and LF control characters in the first argument of HTTPConnection.request. (CVE-2020-26116) Original advisory details: It was discovered that Python incorrectly handled certain inputs. An attacker could possibly use this issue to execute arbitrary code or cause a denial of service. (CVE-2020-27619, CVE-2021-3177)",
"evidence": "osv:USN-4754-3",
"products": [
{
"name": {
"value": "python3.7",
"evidence": "/affected/0/package/name"
},
"prerequisites": [],
"fixed_versions": [
{
"value": "3.7.5-2~18.04.4",
"evidence": "/affected/0/ranges"
}
],
"affected_versions": [
{
"value": "3.7.0~a2-1",
"evidence": "/affected/0/versions"
},
{
"value": "3.7.0~a3-1",
"evidence": "/affected/0/versions"
},
{
"value": "3.7.0~a3-2",
"evidence": "/affected/0/versions"
},
{
"value": "3.7.0~a3-3",
"evidence": "/affected/0/versions"
},
{
"value": "3.7.0~a4-1",
"evidence": "/affected/0/versions"
},
{
"value": "3.7.0~b1-1",
"evidence": "/affected/0/versions"
},
{
"value": "3.7.0~b1-1build1",
"evidence": "/affected/0/versions"
},
{
"value": "3.7.0~b2-1",
"evidence": "/affected/0/versions"
},
{
"value": "3.7.0~b3-1",
"evidence": "/affected/0/versions"
},
{
"value": "3.7.0-1~18.04",
"evidence": "/affected/0/versions"
},
{
"value": "3.7.1-1~18.04",
"evidence": "/affected/0/versions"
},
{
"value": "3.7.3-2~18.04.1",
"evidence": "/affected/0/versions"
},
{
"value": "3.7.5-2~18.04",
"evidence": "/affected/0/versions"
}
]
},
{
"name": {
"value": "python3.8",
"evidence": "/affected/1/package/name"
},
"prerequisites": [],
"fixed_versions": [
{
"value": "3.8.0-3~18.04.1",
"evidence": "/affected/1/ranges"
}
],
"affected_versions": [
{
"value": "3.8.0-3~18.04",
"evidence": "/affected/1/versions"
}
]
},
{
"name": {
"value": "python2.7",
"evidence": "/affected/2/package/name"
},
"prerequisites": [],
"fixed_versions": [
{
"value": "2.7.18-1~20.04.1",
"evidence": "/affected/2/ranges"
}
],
"affected_versions": [
{
"value": "2.7.17~rc1-1",
"evidence": "/affected/2/versions"
},
{
"value": "2.7.17-1",
"evidence": "/affected/2/versions"
},
{
"value": "2.7.17-1ubuntu5",
"evidence": "/affected/2/versions"
},
{
"value": "2.7.17-1ubuntu6",
"evidence": "/affected/2/versions"
},
{
"value": "2.7.18~rc1-2",
"evidence": "/affected/2/versions"
},
{
"value": "2.7.18-1~20.04",
"evidence": "/affected/2/versions"
}
]
}
],
"severity": "unknown",
"structured": {
"id": "USN-4754-3",
"aliases": [
"USN-4754-3"
],
"affected": [
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "3.7.5-2~18.04.4"
}
]
}
],
"package": {
"name": "python3.7",
"purl": "pkg:deb/ubuntu/python3.7?arch=source&distro=bionic",
"ecosystem": "Ubuntu:18.04:LTS"
},
"versions": [
"3.7.0~a2-1",
"3.7.0~a3-1",
"3.7.0~a3-2",
"3.7.0~a3-3",
"3.7.0~a4-1",
"3.7.0~b1-1",
"3.7.0~b1-1build1",
"3.7.0~b2-1",
"3.7.0~b3-1",
"3.7.0-1~18.04",
"3.7.1-1~18.04",
"3.7.3-2~18.04.1",
"3.7.5-2~18.04"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/usn/USN-4754-3.json",
"cves_map": {
"cves": [
{
"id": "CVE-2020-27619",
"severity": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"
},
{
"type": "Ubuntu",
"score": "low"
}
]
},
{
"id": "CVE-2021-3177",
"severity": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"
},
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"
},
{
"type": "Ubuntu",
"score": "medium"
}
]
}
],
"ecosystem": "Ubuntu:18.04:LTS"
}
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "idle-python3.7",
"binary_version": "3.7.5-2~18.04.4"
},
{
"binary_name": "libpython3.7",
"binary_version": "3.7.5-2~18.04.4"
},
{
"binary_name": "libpython3.7-minimal",
"binary_version": "3.7.5-2~18.04.4"
},
{
"binary_name": "libpython3.7-stdlib",
"binary_version": "3.7.5-2~18.04.4"
},
{
"binary_name": "libpython3.7-testsuite",
"binary_version": "3.7.5-2~18.04.4"
},
{
"binary_name": "python3.7",
"binary_version": "3.7.5-2~18.04.4"
},
{
"binary_name": "python3.7-examples",
"binary_version": "3.7.5-2~18.04.4"
},
{
"binary_name": "python3.7-minimal",
"binary_version": "3.7.5-2~18.04.4"
},
{
"binary_name": "python3.7-venv",
"binary_version": "3.7.5-2~18.04.4"
}
],
"availability": "No subscription required"
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "3.8.0-3~18.04.1"
}
]
}
],
"package": {
"name": "python3.8",
"purl": "pkg:deb/ubuntu/python3.8?arch=source&distro=bionic",
"ecosystem": "Ubuntu:18.04:LTS"
},
"versions": [
"3.8.0-3~18.04"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/usn/USN-4754-3.json",
"cves_map": {
"cves": [
{
"id": "CVE-2020-27619",
"severity": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"
},
{
"type": "Ubuntu",
"score": "low"
}
]
},
{
"id": "CVE-2021-3177",
"severity": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"
},
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"
},
{
"type": "Ubuntu",
"score": "medium"
}
]
}
],
"ecosystem": "Ubuntu:18.04:LTS"
}
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "idle-python3.8",
"binary_version": "3.8.0-3~18.04.1"
},
{
"binary_name": "libpython3.8",
"binary_version": "3.8.0-3~18.04.1"
},
{
"binary_name": "libpython3.8-minimal",
"binary_version": "3.8.0-3~18.04.1"
},
{
"binary_name": "libpython3.8-stdlib",
"binary_version": "3.8.0-3~18.04.1"
},
{
"binary_name": "libpython3.8-testsuite",
"binary_version": "3.8.0-3~18.04.1"
},
{
"binary_name": "python3.8",
"binary_version": "3.8.0-3~18.04.1"
},
{
"binary_name": "python3.8-examples",
"binary_version": "3.8.0-3~18.04.1"
},
{
"binary_name": "python3.8-minimal",
"binary_version": "3.8.0-3~18.04.1"
},
{
"binary_name": "python3.8-venv",
"binary_version": "3.8.0-3~18.04.1"
}
],
"availability": "No subscription required"
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "2.7.18-1~20.04.1"
}
]
}
],
"package": {
"name": "python2.7",
"purl": "pkg:deb/ubuntu/python2.7?arch=source&distro=focal",
"ecosystem": "Ubuntu:20.04:LTS"
},
"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"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/usn/USN-4754-3.json",
"cves_map": {
"cves": [
{
"id": "CVE-2019-9674",
"severity": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"
},
{
"type": "Ubuntu",
"score": "negligible"
}
]
},
{
"id": "CVE-2019-17514",
"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": "Ubuntu",
"score": "negligible"
}
]
},
{
"id": "CVE-2019-20907",
"severity": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"
},
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H"
},
{
"type": "Ubuntu",
"score": "medium"
}
]
},
{
"id": "CVE-2020-8492",
"severity": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H"
},
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H"
},
{
"type": "Ubuntu",
"score": "low"
}
]
},
{
"id": "CVE-2021-3177",
"severity": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"
},
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"
},
{
"type": "Ubuntu",
"score": "medium"
}
]
}
],
"ecosystem": "Ubuntu:20.04:LTS"
}
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "idle-python2.7",
"binary_version": "2.7.18-1~20.04.1"
},
{
"binary_name": "libpython2.7",
"binary_version": "2.7.18-1~20.04.1"
},
{
"binary_name": "libpython2.7-minimal",
"binary_version": "2.7.18-1~20.04.1"
},
{
"binary_name": "libpython2.7-stdlib",
"binary_version": "2.7.18-1~20.04.1"
},
{
"binary_name": "libpython2.7-testsuite",
"binary_version": "2.7.18-1~20.04.1"
},
{
"binary_name": "python2.7",
"binary_version": "2.7.18-1~20.04.1"
},
{
"binary_name": "python2.7-examples",
"binary_version": "2.7.18-1~20.04.1"
},
{
"binary_name": "python2.7-minimal",
"binary_version": "2.7.18-1~20.04.1"
}
],
"availability": "No subscription required"
}
}
],
"modified": "2026-10-08T19:46:33.221342704Z",
"provider": "osv",
"upstream": [
"CVE-2019-17514",
"CVE-2019-20907",
"CVE-2019-9674",
"CVE-2020-26116",
"CVE-2020-27619",
"CVE-2020-8492",
"CVE-2021-3177",
"UBUNTU-CVE-2019-17514",
"UBUNTU-CVE-2019-20907",
"UBUNTU-CVE-2019-9674",
"UBUNTU-CVE-2020-26116",
"UBUNTU-CVE-2020-27619",
"UBUNTU-CVE-2020-8492",
"UBUNTU-CVE-2021-3177"
],
"references": [
"https://ubuntu.com/security/notices/USN-4754-3",
"https://ubuntu.com/security/CVE-2019-9674",
"https://ubuntu.com/security/CVE-2019-17514",
"https://ubuntu.com/security/CVE-2019-20907",
"https://ubuntu.com/security/CVE-2020-8492",
"https://ubuntu.com/security/CVE-2020-26116",
"https://ubuntu.com/security/CVE-2020-27619",
"https://ubuntu.com/security/CVE-2021-3177"
]
},
"related_cves": [
{
"value": "CVE-2019-17514",
"evidence": "/upstream"
},
{
"value": "CVE-2019-20907",
"evidence": "/upstream"
},
{
"value": "CVE-2019-9674",
"evidence": "/upstream"
},
{
"value": "CVE-2020-26116",
"evidence": "/upstream"
},
{
"value": "CVE-2020-27619",
"evidence": "/upstream"
},
{
"value": "CVE-2020-8492",
"evidence": "/upstream"
},
{
"value": "CVE-2021-3177",
"evidence": "/upstream"
}
],
"security_relevant": true,
"severity_evidence": null
},
"source_id": "core-osv",
"document_id": 104523,
"published_at": "2021-03-12T14:07:56+00:00"
}