Out-of-bounds write in GnuPG - CVE-2022-3219

 

Out-of-bounds write in GnuPG - CVE-2022-3219

Published: August 9, 2023


Vulnerability identifier: #VU79272
CSH Severity: Low
CVSS v4.0: CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N/E:U/U:Clear
CVE-ID: CVE-2022-3219
CWE-ID: CWE-787
Exploitation vector: Local access
Exploit availability: No public exploit available
Vendor: GNU
Affected software:
GnuPG

Detailed vulnerability description

The vulnerability allows a local user to compromise vulnerable system.

The vulnerability exists due to GnuPG can be made to spin on a relatively small input by (for example) crafting a public key with thousands of signatures attached, compressed down to just a few KB. A remote attacker can send a specially crafted file, trigger an out-of-bounds write and execute arbitrary code on the target system.


How to mitigate CVE-2022-3219

Install updates from vendor's website.

Sources