Debian DSA-5174-1 : gnupg2 - security update

medium Nessus Plugin ID 162701

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-5174 advisory.

- GnuPG through 2.3.6, in unusual situations where an attacker possesses any secret-key information from a victim's keyring and other constraints (e.g., use of GPGME) are met, allows signature forgery via injection into the status line. (CVE-2022-34903)

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 gnupg2 packages.

For the stable distribution (bullseye), this problem has been fixed in version 2.2.27-2+deb11u2.

See Also

https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1014157

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

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

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

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

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

Plugin Details

Severity: Medium

ID: 162701

File Name: debian_DSA-5174.nasl

Version: 1.5

Type: local

Agent: unix

Published: 7/4/2022

Updated: 10/19/2023

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

Risk Information

VPR

Risk Factor: Medium

Score: 5.0

CVSS v2

Risk Factor: Medium

Base Score: 5.8

Temporal Score: 4.5

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

CVSS Score Source: CVE-2022-34903

CVSS v3

Risk Factor: Medium

Base Score: 6.5

Temporal Score: 5.9

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

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

Vulnerability Information

CPE: p-cpe:/a:debian:debian_linux:dirmngr, p-cpe:/a:debian:debian_linux:gnupg, p-cpe:/a:debian:debian_linux:gnupg-agent, p-cpe:/a:debian:debian_linux:gnupg-l10n, p-cpe:/a:debian:debian_linux:gnupg-utils, p-cpe:/a:debian:debian_linux:gnupg2, p-cpe:/a:debian:debian_linux:gpg, p-cpe:/a:debian:debian_linux:gpg-agent, p-cpe:/a:debian:debian_linux:gpg-wks-client, p-cpe:/a:debian:debian_linux:gpg-wks-server, p-cpe:/a:debian:debian_linux:gpgconf, p-cpe:/a:debian:debian_linux:gpgsm, p-cpe:/a:debian:debian_linux:gpgv, p-cpe:/a:debian:debian_linux:gpgv-static, p-cpe:/a:debian:debian_linux:gpgv-udeb, p-cpe:/a:debian:debian_linux:gpgv-win32, p-cpe:/a:debian:debian_linux:gpgv2, p-cpe:/a:debian:debian_linux:scdaemon, cpe:/o:debian:debian_linux:10.0, cpe:/o:debian:debian_linux:11.0

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

Exploit Available: true

Exploit Ease: Exploits are available

Patch Publication Date: 7/3/2022

Vulnerability Publication Date: 7/1/2022

Reference Information

CVE: CVE-2022-34903