CVE Vulnerabilities

CVE-2022-34903

Improper Neutralization of Special Elements in Output Used by a Downstream Component ('Injection')

Published: Jul 01, 2022 | Modified: Nov 21, 2024
CVSS 3.x
6.5
MEDIUM
Source:
NVD
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:L/A:N
CVSS 2.x
5.8 MEDIUM
AV:N/AC:M/Au:N/C:P/I:P/A:N
RedHat/V2
RedHat/V3
5.9 MODERATE
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N
Ubuntu
MEDIUM
root.io logo minimus.io logo echo.ai logo

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

Weakness

The product constructs all or part of a command, data structure, or record using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify how it is parsed or interpreted when it is sent to a downstream component.

Affected Software

NameVendorStart VersionEnd Version
GnupgGnupg*2.3.6 (including)
Red Hat Enterprise Linux 8RedHatgnupg2-0:2.2.20-3.el8_6*
Red Hat Enterprise Linux 9RedHatgnupg2-0:2.3.3-2.el9_0*
Red Hat Enterprise Linux 9RedHatgnupg2-0:2.3.3-2.el9_0*
GnupgUbuntuesm-infra-legacy/trusty*
GnupgUbuntuesm-infra/xenial*
GnupgUbuntutrusty/esm*
GnupgUbuntuupstream*
Gnupg2Ubuntubionic*
Gnupg2Ubuntudevel*
Gnupg2Ubuntuesm-infra/bionic*
Gnupg2Ubuntuesm-infra/focal*
Gnupg2Ubuntuesm-infra/xenial*
Gnupg2Ubuntufocal*
Gnupg2Ubuntuimpish*
Gnupg2Ubuntujammy*
Gnupg2Ubuntuupstream*

Potential Mitigations

References