Debian DLA-2074-1 : python-apt security update

medium Nessus Plugin ID 133219

Synopsis

The remote Debian host is missing a security update.

Description

Several issues have been found in python-apt, a python interface to libapt-pkg.

CVE-2019-15795

It was discovered that python-apt would still use MD5 hashes to validate certain downloaded packages. If a remote attacker were able to perform a man-in-the-middle attack, this flaw could potentially be used to install altered packages.

CVE-2019-15796

It was discovered that python-apt could install packages from untrusted repositories, contrary to expectations.

For Debian 8 'Jessie', these problems have been fixed in version 0.9.3.13.

We recommend that you upgrade your python-apt packages.

NOTE: Tenable Network Security has extracted the preceding description block directly from the DLA security advisory. Tenable has attempted to automatically clean and format it as much as possible without introducing additional issues.

Solution

Upgrade the affected packages.

See Also

https://lists.debian.org/debian-lts-announce/2020/01/msg00020.html

https://packages.debian.org/source/jessie/python-apt

Plugin Details

Severity: Medium

ID: 133219

File Name: debian_DLA-2074.nasl

Version: 1.7

Type: local

Agent: unix

Published: 1/24/2020

Updated: 3/29/2024

Supported Sensors: Frictionless Assessment Agent, Nessus Agent, Agentless Assessment, Nessus

Risk Information

VPR

Risk Factor: Low

Score: 3.0

CVSS v2

Risk Factor: Low

Base Score: 2.6

Temporal Score: 1.9

Vector: CVSS2#AV:N/AC:H/Au:N/C:N/I:P/A:N

CVSS Score Source: CVE-2019-15796

CVSS v3

Risk Factor: Medium

Base Score: 4.7

Temporal Score: 4.1

Vector: CVSS:3.0/AV:N/AC:H/PR:N/UI:R/S:C/C:L/I:L/A:N

Temporal Vector: CVSS:3.0/E:U/RL:O/RC:C

Vulnerability Information

CPE: p-cpe:/a:debian:debian_linux:python-apt, p-cpe:/a:debian:debian_linux:python-apt-common, p-cpe:/a:debian:debian_linux:python-apt-dbg, p-cpe:/a:debian:debian_linux:python-apt-dev, p-cpe:/a:debian:debian_linux:python-apt-doc, p-cpe:/a:debian:debian_linux:python3-apt, p-cpe:/a:debian:debian_linux:python3-apt-dbg, cpe:/o:debian:debian_linux:8.0

Required KB Items: Host/local_checks_enabled, Host/Debian/release, Host/Debian/dpkg-l

Exploit Ease: No known exploits are available

Patch Publication Date: 1/23/2020

Vulnerability Publication Date: 3/26/2020

Reference Information

CVE: CVE-2019-15795, CVE-2019-15796