CVE-2019-15796
MEDIUM 4.7CVSS 3.1python-apt Does Not Check Hash Signature
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.
- Published
- 26 Mar 2020
- Last modified
- 17 Jun 2026
- Assigned by
- security@ubuntu.com
- NVD status
- Modified
- Weakness
- CWE-287CWE-347
- Also known as
- GHSA-pj65-3pf6-c5q4
- Sources
- NVDJSONOSV GHSA-pj65-3pf6-c5q4JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security@ubuntu.com (Secondary) | CVSS 3.1 | MEDIUM 4.7 | CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:L/I:L/A:N |
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | MEDIUM 4.7 | CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:L/I:L/A:N |
| OSV | GitHub | CVSS 3.1 | MEDIUM 4.7 | CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:L/I:L/A:N |
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | LOW 2.6 | AV:N/AC:H/Au:N/C:N/I:P/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | ubuntu | python-aptcpe:2.3:a:ubuntu:python-apt:0.8.0:ubuntu9:*:*:*:*:*:* |
= 0.8.0 | |
| NVD | ubuntu | python-aptcpe:2.3:a:ubuntu:python-apt:0.8.1:ubuntu1:*:*:*:*:*:* |
= 0.8.1 | |
| NVD | ubuntu | python-aptcpe:2.3:a:ubuntu:python-apt:0.8.3:ubuntu1:*:*:*:*:*:* |
= 0.8.3 | |
| NVD | ubuntu | python-aptcpe:2.3:a:ubuntu:python-apt:0.8.3:ubuntu2:*:*:*:*:*:* |
= 0.8.3 | |
| NVD | ubuntu | python-aptcpe:2.3:a:ubuntu:python-apt:0.8.3:ubuntu3:*:*:*:*:*:* |
= 0.8.3 | |
| NVD | ubuntu | python-aptcpe:2.3:a:ubuntu:python-apt:0.8.3:ubuntu4:*:*:*:*:*:* |
= 0.8.3 | |
| NVD | ubuntu | python-aptcpe:2.3:a:ubuntu:python-apt:0.8.3:ubuntu5:*:*:*:*:*:* |
= 0.8.3 | |
| NVD | ubuntu | python-aptcpe:2.3:a:ubuntu:python-apt:0.8.3:ubuntu6:*:*:*:*:*:* |
= 0.8.3 | |
| NVD | ubuntu | python-aptcpe:2.3:a:ubuntu:python-apt:0.8.3:ubuntu7:*:*:*:*:*:* |
= 0.8.3 | |
| NVD | ubuntu | python-aptcpe:2.3:a:ubuntu:python-apt:0.8.3:ubuntu7.1:*:*:*:*:*:* |
= 0.8.3 | |
| NVD | ubuntu | python-aptcpe:2.3:a:ubuntu:python-apt:0.8.3:ubuntu7.2:*:*:*:*:*:* |
= 0.8.3 | |
| NVD | ubuntu | python-aptcpe:2.3:a:ubuntu:python-apt:0.8.3:ubuntu7.3:*:*:*:*:*:* |
= 0.8.3 | |
| NVD | ubuntu | python-aptcpe:2.3:a:ubuntu:python-apt:0.8.9.1:*:*:*:*:*:*:* |
= 0.8.9.1 | |
| NVD | ubuntu | python-aptcpe:2.3:a:ubuntu:python-apt:0.8.9.1:ubuntu1:*:*:*:*:*:* |
= 0.8.9.1 | |
| NVD | ubuntu | python-aptcpe:2.3:a:ubuntu:python-apt:0.9.0:*:*:*:*:*:*:* |
= 0.9.0 | |
| NVD | ubuntu | python-aptcpe:2.3:a:ubuntu:python-apt:0.9.1:*:*:*:*:*:*:* |
= 0.9.1 | |
| NVD | ubuntu | python-aptcpe:2.3:a:ubuntu:python-apt:0.9.1:build1:*:*:*:*:*:* |
= 0.9.1 | |
| NVD | ubuntu | python-aptcpe:2.3:a:ubuntu:python-apt:0.9.1:build2:*:*:*:*:*:* |
= 0.9.1 | |
| NVD | ubuntu | python-aptcpe:2.3:a:ubuntu:python-apt:0.9.1:ubuntu1:*:*:*:*:*:* |
= 0.9.1 | |
| NVD | ubuntu | python-aptcpe:2.3:a:ubuntu:python-apt:0.9.3.1:*:*:*:*:*:*:* |
= 0.9.3.1 | |
| NVD | ubuntu | python-aptcpe:2.3:a:ubuntu:python-apt:0.9.3.2:*:*:*:*:*:*:* |
= 0.9.3.2 | |
| NVD | ubuntu | python-aptcpe:2.3:a:ubuntu:python-apt:0.9.3.2:ubuntu1:*:*:*:*:*:* |
= 0.9.3.2 | |
| NVD | ubuntu | python-aptcpe:2.3:a:ubuntu:python-apt:0.9.3.2:ubuntu2:*:*:*:*:*:* |
= 0.9.3.2 | |
| NVD | ubuntu | python-aptcpe:2.3:a:ubuntu:python-apt:0.9.3.3:*:*:*:*:*:*:* |
= 0.9.3.3 | |
| NVD | ubuntu | python-aptcpe:2.3:a:ubuntu:python-apt:0.9.3.3:ubuntu1:*:*:*:*:*:* |
= 0.9.3.3 | |
| NVD | ubuntu | python-aptcpe:2.3:a:ubuntu:python-apt:0.9.3.4:*:*:*:*:*:*:* |
= 0.9.3.4 | |
| NVD | ubuntu | python-aptcpe:2.3:a:ubuntu:python-apt:0.9.3.4:build1:*:*:*:*:*:* |
= 0.9.3.4 | |
| NVD | ubuntu | python-aptcpe:2.3:a:ubuntu:python-apt:0.9.3.5:*:*:*:*:*:*:* |
= 0.9.3.5 | |
| NVD | ubuntu | python-aptcpe:2.3:a:ubuntu:python-apt:0.9.3.5:ubuntu1:*:*:*:*:*:* |
= 0.9.3.5 | |
| NVD | ubuntu | python-aptcpe:2.3:a:ubuntu:python-apt:0.9.3.5:ubuntu2:*:*:*:*:*:* |
= 0.9.3.5 | |
| NVD | ubuntu | python-aptcpe:2.3:a:ubuntu:python-apt:0.9.3.5:ubuntu3:*:*:*:*:*:* |
= 0.9.3.5 | |
| NVD | ubuntu | python-aptcpe:2.3:a:ubuntu:python-apt:1.0.1:build1:*:*:*:*:*:* |
= 1.0.1 | |
| NVD | ubuntu | python-aptcpe:2.3:a:ubuntu:python-apt:1.0.1:ubuntu1:*:*:*:*:*:* |
= 1.0.1 | |
| NVD | ubuntu | python-aptcpe:2.3:a:ubuntu:python-apt:1.0.1:ubuntu2:*:*:*:*:*:* |
= 1.0.1 | |
| NVD | ubuntu | python-aptcpe:2.3:a:ubuntu:python-apt:1.1.0:beta1:*:*:*:*:*:* |
= 1.1.0 | |
| NVD | ubuntu | python-aptcpe:2.3:a:ubuntu:python-apt:1.1.0:beta1build1:*:*:*:*:*:* |
= 1.1.0 | |
| NVD | ubuntu | python-aptcpe:2.3:a:ubuntu:python-apt:1.1.0:beta1ubuntu0.16.04.1:*:*:*:*:*:* |
= 1.1.0 | |
| NVD | ubuntu | python-aptcpe:2.3:a:ubuntu:python-apt:1.1.0:beta1ubuntu0.16.04.2:*:*:*:*:*:* |
= 1.1.0 | |
| NVD | ubuntu | python-aptcpe:2.3:a:ubuntu:python-apt:1.1.0:beta1ubuntu0.16.04.3:*:*:*:*:*:* |
= 1.1.0 | |
| NVD | ubuntu | python-aptcpe:2.3:a:ubuntu:python-apt:1.1.0:beta1ubuntu0.16.04.4:*:*:*:*:*:* |
= 1.1.0 | |
| NVD | ubuntu | python-aptcpe:2.3:a:ubuntu:python-apt:1.1.0:beta1ubuntu0.16.04.5:*:*:*:*:*:* |
= 1.1.0 | |
| NVD | debian | python-aptcpe:2.3:a:debian:python-apt:1.8.4:*:*:*:*:*:*:* |
= 1.8.4 | |
| NVD | ubuntu | python-aptcpe:2.3:a:ubuntu:python-apt:1.4.0:*:*:*:*:*:*:* |
= 1.4.0 | |
| NVD | ubuntu | python-aptcpe:2.3:a:ubuntu:python-apt:1.4.0:beta3build2:*:*:*:*:*:* |
= 1.4.0 | |
| NVD | ubuntu | python-aptcpe:2.3:a:ubuntu:python-apt:1.4.0:beta3ubuntu1:*:*:*:*:*:* |
= 1.4.0 | |
| NVD | ubuntu | python-aptcpe:2.3:a:ubuntu:python-apt:1.6.0:*:*:*:*:*:*:* |
= 1.6.0 | |
| NVD | ubuntu | python-aptcpe:2.3:a:ubuntu:python-apt:1.6.0:rc1:*:*:*:*:*:* |
= 1.6.0 | |
| NVD | ubuntu | python-aptcpe:2.3:a:ubuntu:python-apt:1.6.0:rc2ubuntu1:*:*:*:*:*:* |
= 1.6.0 | |
| NVD | ubuntu | python-aptcpe:2.3:a:ubuntu:python-apt:1.6.0:rc2ubuntu2:*:*:*:*:*:* |
= 1.6.0 | |
| NVD | ubuntu | python-aptcpe:2.3:a:ubuntu:python-apt:1.6.0:rc3:*:*:*:*:*:* |
= 1.6.0 | |
| NVD | ubuntu | python-aptcpe:2.3:a:ubuntu:python-apt:1.6.1:*:*:*:*:*:*:* |
= 1.6.1 | |
| NVD | ubuntu | python-aptcpe:2.3:a:ubuntu:python-apt:1.6.2:*:*:*:*:*:*:* |
= 1.6.2 | |
| NVD | ubuntu | python-aptcpe:2.3:a:ubuntu:python-apt:1.6.3:*:*:*:*:*:*:* |
= 1.6.3 | |
| NVD | ubuntu | python-aptcpe:2.3:a:ubuntu:python-apt:1.6.3:ubuntu1:*:*:*:*:*:* |
= 1.6.3 | |
| NVD | ubuntu | python-aptcpe:2.3:a:ubuntu:python-apt:1.6.4:*:*:*:*:*:*:* |
= 1.6.4 | |
| NVD | ubuntu | python-aptcpe:2.3:a:ubuntu:python-apt:1.8.4:*:*:*:*:*:*:* |
= 1.8.4 | |
| NVD | ubuntu | python-aptcpe:2.3:a:ubuntu:python-apt:1.9.0:alpha0\~ubuntu1:*:*:*:*:*:* |
= 1.9.0 | |
| NVD | ubuntu | python-aptcpe:2.3:a:ubuntu:python-apt:1.9.0:alpha0\~ubuntu2:*:*:*:*:*:* |
= 1.9.0 | |
| NVD | ubuntu | python-aptcpe:2.3:a:ubuntu:python-apt:1.9.0:ubuntu1:*:*:*:*:*:* |
= 1.9.0 | |
| NVD | ubuntu | python-aptcpe:2.3:a:ubuntu:python-apt:1.7.0:*:*:*:*:*:*:* |
= 1.7.0 | |
| NVD | ubuntu | python-aptcpe:2.3:a:ubuntu:python-apt:1.8.0:*:*:*:*:*:*:* |
= 1.8.0 | |
| NVD | ubuntu | python-aptcpe:2.3:a:ubuntu:python-apt:1.8.0:alpha0\~ubuntu1:*:*:*:*:*:* |
= 1.8.0 | |
| NVD | ubuntu | python-aptcpe:2.3:a:ubuntu:python-apt:1.8.0:alpha0\~ubuntu2:*:*:*:*:*:* |
= 1.8.0 | |
| NVD | ubuntu | python-aptcpe:2.3:a:ubuntu:python-apt:1.8.1:*:*:*:*:*:*:* |
= 1.8.1 | |
| NVD | ubuntu | python-aptcpe:2.3:a:ubuntu:python-apt:1.8.2:*:*:*:*:*:*:* |
= 1.8.2 | |
| NVD | ubuntu | python-aptcpe:2.3:a:ubuntu:python-apt:1.8.3:*:*:*:*:*:*:* |
= 1.8.3 | |
| OSV | PyPI | python-apt | < 0.8.3ubuntu7.5 | 0.8.3ubuntu7.5 |
| OSV | PyPI | python-apt | >= 0.9.0, < 0.9.3.5ubuntu3 | 0.9.3.5ubuntu3 |
| OSV | PyPI | python-apt | >= 1.2.0, < 1.6.5ubuntu0.1 | 1.6.5ubuntu0.1 |
| OSV | PyPI | python-apt | >= 1.7.0, < 1.9.0ubuntu1.2 | 1.9.0ubuntu1.2 |
| OSV | PyPI | python-apt | >= 1.9.1, < 1.9.5 | 1.9.5 |
References
- https://usn.ubuntu.com/4247-1/ · Patch, Third Party Advisory, WEB
- https://usn.ubuntu.com/4247-3/ · Patch, Third Party Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2019-15796 · ADVISORY
- https://github.com/excid3/python-apt · PACKAGE
History
- 25 Nov 2026 20:31 UTC · NVD: first stored (published 26 Mar 2020)
- 25 Nov 2026 20:12 UTC · OSV: first stored (published 24 May 2022)