VDB

CVE-2019-15796

CVE-2019-15796 PUBLISHED CVSS 4.7 MEDIUM

python-apt downloads from untrusted sources

Reported by canonical · Published March 26, 2020

python-apt is fixed in 1.9.5, 1.9.3ubuntu2, 1.9.0ubuntu1.2 and 3 more (PyPI)

Python-apt doesn't check if hashes are signed in `Version.fetch_binary()` and `Version.fetch_source()` of apt/package.py or in `_fetch_archives()` of apt/cache.py in version 1.9.3ubuntu2 and earlier. This allows downloads from unsigned repositories which shouldn't be allowed and has been fixed in verisions 1.9.5, 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.5, 1.9.3ubuntu2, 1.9.0ubuntu1.2, 1.6.5ubuntu0.1, 0.9.3.5ubuntu3, 0.8.3ubuntu7.5
python-aptUbuntu:18.04:LTS1.6.5ubuntu0.1
python-aptUbuntu:16.04:LTS1.1.0~beta1ubuntu0.16.04.7
Python-aptCanonical1.9.5, 1.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: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-15796
vulnetix vdb fixes CVE-2019-15796

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-15796/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 ›