Debian DLA-3022-1 : dpkg - LTS security update

critical Nessus Plugin ID 161514

Synopsis

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

Description

The remote Debian 9 host has packages installed that are affected by a vulnerability as referenced in the dla-3022 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 Debian 9 stretch, this problem has been fixed in version 1.18.26.

See Also

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

https://www.debian.org/lts/security/2022/dla-3022

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

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

Plugin Details

Severity: Critical

ID: 161514

File Name: debian_DLA-3022.nasl

Version: 1.4

Type: local

Agent: unix

Published: 5/26/2022

Updated: 6/8/2022

Supported Sensors: Frictionless Assessment Agent, Nessus Agent, Agentless Assessment, 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: p-cpe:/a:debian:debian_linux:dpkg, p-cpe:/a:debian:debian_linux:dpkg-dev, p-cpe:/a:debian:debian_linux:dselect, p-cpe:/a:debian:debian_linux:libdpkg-dev, p-cpe:/a:debian:debian_linux:libdpkg-perl, cpe:/o:debian:debian_linux:9.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: 5/25/2022

Vulnerability Publication Date: 5/25/2022

Reference Information

CVE: CVE-2022-1664