All reports
Medium

python-apt Does Not Check Hash Signature

Affected versions

Affected versions
< 0.8.3ubuntu7.5
Fixed version
0.8.3ubuntu7.5
Affected versions
>= 1.9.1, < 1.9.5
Fixed version
1.9.5
Affected versions
>= 1.2.0, < 1.6.5ubuntu0.1
Fixed version
1.6.5ubuntu0.1
Affected versions
>= 0.9.0, < 0.9.3.5ubuntu3
Fixed version
0.9.3.5ubuntu3
Affected versions
>= 1.7.0, < 1.9.0ubuntu1.2
Fixed version
1.9.0ubuntu1.2

Exploitation

CVE-2019-15796

Probability of exploitation in the next 30 days: 0.51%

FIRST EPSS · 2026-11-23

Description

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.

Links