Skip to content
Fencer Intel
medium 4.7

CVE-2019-15796 json

python-apt downloads from untrusted sources

published 6y ago modified 4mo 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

Is CVE-2019-15796 in your dependencies? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.

Check with Fencer

Exploit prediction

0.51% chance of exploitation in the next 30 days, higher than 43% of all scored CVEs (FIRST EPSS, 2026-11-09).

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

Weakness
  • CWE-287 Improper Authentication
  • CWE-347 Improper Verification of Cryptographic Signature

References

Sources

Fencer Intel 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.