It was discovered that pip did not properly sanitize the filename during pip install. A remote attacker could possible use this issue to read and write arbitrary files on the host filesystem as root, resulting in a directory traversal attack. (CVE-2019-20916)
{
"binaries": [
{
"binary_version": "9.0.1-2.3~ubuntu1.18.04.4",
"binary_name": "python-pip"
},
{
"binary_version": "9.0.1-2.3~ubuntu1.18.04.4",
"binary_name": "python-pip-whl"
},
{
"binary_version": "9.0.1-2.3~ubuntu1.18.04.4",
"binary_name": "python3-pip"
}
],
"availability": "No subscription required"
}
{
"ecosystem": "Ubuntu:18.04:LTS",
"cves": [
{
"id": "CVE-2019-20916",
"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": "medium"
}
]
}
]
}
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/usn/USN-4601-1.json"