Debian DSA-5147-1 : dpkg - security update

critical Nessus Plugin ID 161513

Synopsis

The remote Debian host is missing a security-related update.

Description

The remote Debian 10 / 11 host has packages installed that are affected by a vulnerability as referenced in the dsa-5147 advisory.

- Dpkg::Source::Archive in dpkg, the Debian package management system, before version 1.21.8, 1.20.10, 1.19.8, 1.18.26 is prone to a directory traversal vulnerability. When extracting untrusted source packages in v2 and v3 source package formats that include a debian.tar, the in-place extraction can lead to directory traversal situations on specially crafted orig.tar and debian.tar tarballs. (CVE-2022-1664)

Note that Nessus has not tested for this issue but has instead relied only on the application's self-reported version number.

Solution

Upgrade the dpkg packages.

For the stable distribution (bullseye), this problem has been fixed in version 1.20.10.

See Also

https://security-tracker.debian.org/tracker/source-package/dpkg

https://www.debian.org/security/2022/dsa-5147

https://security-tracker.debian.org/tracker/CVE-2022-1664

https://packages.debian.org/source/buster/dpkg

https://packages.debian.org/source/bullseye/dpkg

Plugin Details

Severity: Critical

ID: 161513

File Name: debian_DSA-5147.nasl

Version: 1.4

Type: local

Agent: unix

Published: 5/26/2022

Updated: 6/8/2022

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

Risk Information

VPR

Risk Factor: Medium

Score: 6.7

CVSS v2

Risk Factor: High

Base Score: 7.5

Temporal Score: 5.5

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

CVSS Score Source: CVE-2022-1664

CVSS v3

Risk Factor: Critical

Base Score: 9.8

Temporal Score: 8.5

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

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

Vulnerability Information

CPE: cpe:/o:debian:debian_linux:11.0, p-cpe:/a:debian:debian_linux:dselect, cpe:/o:debian:debian_linux:10.0, p-cpe:/a:debian:debian_linux:libdpkg-dev, p-cpe:/a:debian:debian_linux:dpkg, p-cpe:/a:debian:debian_linux:dpkg-dev, p-cpe:/a:debian:debian_linux:libdpkg-perl

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

Exploit Ease: No known exploits are available

Patch Publication Date: 5/25/2022

Vulnerability Publication Date: 5/25/2022

Reference Information

CVE: CVE-2022-1664