VDB

CVE-2019-15795

CVE-2019-15795 PUBLISHED CVSS 4.7 MEDIUM

python-apt uses MD5 for validation

Reported by canonical · Published March 26, 2020

python-apt is fixed in 1.9.0ubuntu1.2, 1.6.5ubuntu0.1, 1.1.0 and 3 more (PyPI)

python-apt only checks the MD5 sums of downloaded files in `Version.fetch_binary()` and `Version.fetch_source()` of apt/package.py in version 1.9.0ubuntu1 and earlier. This allows a man-in-the-middle attack which could potentially be used to install altered packages and has been fixed in versions 1.9.0ubuntu1.2, 1.6.5ubuntu0.1, 1.1.0~beta1ubuntu0.16.04.7, 0.9.3.5ubuntu3+esm2, and 0.8.3ubuntu7.5.

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
python-aptPyPI1.9.0ubuntu1.2, 1.6.5ubuntu0.1, 1.1.0, 0.9.3.5ubuntu3, 0.8.3ubuntu7.5, 0.7.8
python-aptUbuntu:18.04:LTS1.6.5ubuntu0.1
Python-aptCanonical1.9.0ubuntu1.2, 1.6.5ubuntu0.1, 1.1.0~beta1ubuntu0.16.04.7, 0.9.3.5ubuntu3+esm2, 0.8.3ubuntu7.5
python-aptUbuntu:16.04:LTS1.1.0~beta1ubuntu0.16.04.7
python-aptUbuntu:Pro:14.04:LTS0.9.3.5ubuntu3+esm2

Risk scores

CVSS 3.1
4.7
CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:L/I:L/A:N

Affected products

VendorProductVersions
CanonicalPython-apt0.8.3, 0.9.3.5, 1.1.0
PyPIpython-apt0
CanonicalPython-apt0.8.3, 0.9.3.5, 1.1.0

Timeline

  • Jan 20, 2020 CVE Published
  • Apr 14, 2021 EPSS Score (30 in total, the first dated here)
  • Sep 8, 2025 CVE Updated
  • Mar 6, 2026 Distribution Patch (2 in total, the first dated here)
  • Mar 6, 2026 Security Advisory (3 in total, the first dated here)
  • Sep 13, 2026 Coalition ESS Score

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2019-15795
vulnetix vdb fixes CVE-2019-15795

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2019-15795/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

References

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›