NIST deprecates RSA-2048 from 2030. Find every one of them before attackers do.
🐍
🐍 PyPI
Not in CISA KEV
MEDIUM severity

CVE-2019-15796 — python-apt

MEDIUM

CVE-2019-15796 is a medium-severity (CVSS 4.7) Improper Authentication vulnerability in python-apt. A fix is available for python-apt — see the affected versions and patch details below.

python-apt Does Not Check Hash Signature

Also known asGHSA-pj65-3pf6-c5q4
Published
Updated
Affected
5 pkgs
Patched
5 / 5
Exploits
None indexed
Exploitation data as of Oct 30, 2026 · OSV.dev, NVD, FIRST.org (EPSS)

EPSS Exploitation Probability

via FIRST.org ↗
0.5%probability of exploitation in next 30 days
Lower Risk0.00%
Lower risk than most CVEs43th percentile — riskier than 43% of all scored CVEsHighest risk
0.00%0.34%0.67%1.01%0.2%0.5%Apr 26Aug 26Oct 26

Probability of exploitation in the next 30 days, from FIRST.org EPSS.

How urgent is this, really

Where this sits among everything scored

Real-World Exposure

5 pkgs affected
🐍python-apt🐍python-apt🐍python-apt🐍python-apt🐍python-apt

Real-time download stats are indexed for npm and PyPI packages. This vulnerability affects PyPI packages — download data is not available via public APIs for these ecosystems.

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.

Affected Packages

5 total 5 fixed
EcosystemPackageVulnerable rangeFix
🐍PyPIpython-aptall versions0.8.3ubuntu7.5pip install --upgrade 'python-apt==0.8.3ubuntu7.5'
🐍PyPIpython-apt≥ 0.9.0&&< 0.9.3.5ubuntu30.9.3.5ubuntu3pip install --upgrade 'python-apt==0.9.3.5ubuntu3'
🐍PyPIpython-apt≥ 1.2.0&&< 1.6.5ubuntu0.11.6.5ubuntu0.1pip install --upgrade 'python-apt==1.6.5ubuntu0.1'
🐍PyPIpython-apt≥ 1.7.0&&< 1.9.0ubuntu1.21.9.0ubuntu1.2pip install --upgrade 'python-apt==1.9.0ubuntu1.2'
🐍PyPIpython-apt≥ 1.9.1&&< 1.9.51.9.5pip install --upgrade 'python-apt==1.9.5'

Affected Products

2 products · 68 configurations
Application
python-aptdebian
1 version
1.8.4
Application
python-aptubuntu
26 versions
0.8.00.8.10.8.30.8.9.10.9.00.9.10.9.3.10.9.3.20.9.3.30.9.3.40.9.3.51.0.1

Detection & mitigation playbook

Open-source dependency
  1. Detect

    Scan your dependency tree (package-lock.json, pnpm-lock.yaml, requirements.txt, go.sum, etc.) for python-apt, including transitive dependencies — a direct dependency you never call can still pull in a vulnerable version.

  2. Fix

    Update python-apt to 0.8.3ubuntu7.5 or later, then make sure no transitive (indirect) dependency still pins the vulnerable range — O3 confirms CVE-2019-15796 is resolved across your whole dependency graph.

  3. Workarounds

    Put an independent control in front of the weakness: restrict the affected endpoint or interface to trusted networks, require an additional authentication factor or proxy-level check, and invalidate existing sessions and credentials in case the flaw has already been used.

Fixing This On Your OS

If you run this on a Linux distribution, patch through your package manager against the distro's own security advisory below — it tracks the exact backported fix for your release, which can ship on a different timeline (and sometimes a different severity) than the upstream project.

Frequently Asked Questions

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.
O3 Security · Impact-Aware SCA

Is CVE-2019-15796 in your dependencies?

Find it across PyPI, including transitive dependencies.

CVE-2019-15796: python-apt — Fix Available