CVE-2019-15796 json
python-apt downloads from untrusted sources
published 2020-03-26 6 y ago modified 2026-06-17 4 mo ago also GHSA-pj65-3pf6-c5q4 , EUVD-2022-4782
- cvss
- 4.7
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.5%
- EPSS 0.5% chance of exploitation in 30 days, percentile 43%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- pypi python-apt 0.8.3ubuntu7.5, 0.9.3.5ubuntu3, 1.6.5ubuntu0.1, 1.9.0ubuntu1.2, 1.9.5
- Canonical Python-apt 0.8.3ubuntu7.5, 0.9.3.5ubuntu3+esm2, 1.1.0~beta1ubuntu0.16.04.7, 1.6.5ubuntu0.1, 1.9.0ubuntu1.2
- python-apt Debian 14, Debian 13, Debian 12 1.8.5
debian advisories DEBIAN-CVE-2019-15796
- python-apt Ubuntu 16.04 LTS 1.1.0~beta1ubuntu0.16.04.7
- python-apt Ubuntu 18.04 LTS 1.6.5ubuntu0.1
- python-apt Ubuntu Pro 14.04 LTS 0.9.3.5ubuntu3+esm2
ubuntu advisories UBUNTU-CVE-2019-15796
Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
- usn.ubuntu.com/4247-1/ advisory
- usn.ubuntu.com/4247-3/ advisory
Exploit prediction
0.51% chance of exploitation in the next 30 days, higher than 43% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 4.7 | CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:L/I:L/A:N |
| NVD | 3.1 | 4.7 | CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:L/I:L/A:N |
| NVD | 2.0 | 2.6 | AV:N/AC:H/Au:N/C:N/I:P/A:N |
| GitHub | 3.1 | 4.7 | CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:L/I:L/A:N |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| pypi | python-apt | <0.8.3ubuntu7.5 >=0.9.0, <0.9.3.5ubuntu3 >=1.2.0, <1.6.5ubuntu0.1 >=1.7.0, <1.9.0ubuntu1.2 >=1.9.1, <1.9.5 |
0.8.3ubuntu7.5 0.9.3.5ubuntu3 1.6.5ubuntu0.1 1.9.0ubuntu1.2 1.9.5 |
Affected products
- Canonical Python-apt
Classification
References
-
usn.ubuntu.com
/4247-1/
vendor-advisory, patch, third-party-advisory
-
usn.ubuntu.com
/4247-3/
vendor-advisory, patch, third-party-advisory
-
nvd.nist.gov
/vuln/detail/CVE-2019-15796
advisory
-
github.com
/excid3/python-apt
package
-
usn.ubuntu.com
/4247-1
web
-
usn.ubuntu.com
/4247-3
web
Sources
- CVE List CVE-2019-15796
- GitHub Advisory GHSA-pj65-3pf6-c5q4
- NVD CVE-2019-15796
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.