CVE-2019-15796

python-apt downloads from untrusted sources

State
Published
Severity
4.7 Medium
Published
Mar 26, 2020
Updated
Sep 16, 2024
Reserved
Aug 29, 2019

Read the record on cve.org

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.

Scores

CVSSScoreVectorSource
3.14.7 MediumCVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:L/I:L/A:Ncanonical

Weaknesses

Affected Products

ProductVersions
Python-aptCanonical
  • 0.8.3 to before 0.8.3ubuntu7.5Affected
  • 0.9.3.5 to before 0.9.3.5ubuntu3+esm2Affected
  • 1.1.0 to before 1.1.0~beta1ubuntu0.16.04.7Affected
  • 1.6.5 to before 1.6.5ubuntu0.1Affected
  • 1.9.0 to before 1.9.0ubuntu1.2Affected
  • 1.9.5 to before 1.9.5Affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.