A GnuPG security update has been released for Ubuntu Linux 18.04 LTS, 20.04 LTS, 21.10, and 22.04 LTS.
==========================================================================
Ubuntu Security Notice USN-5503-1
July 05, 2022
gnupg2 vulnerability
==========================================================================
A security issue affects these releases of Ubuntu and its derivatives:
- Ubuntu 22.04 LTS
- Ubuntu 21.10
- Ubuntu 20.04 LTS
- Ubuntu 18.04 LTS
Summary:
GnuPG could allow forged signatures.
Software Description:
- gnupg2: GNU privacy guard - a free PGP replacement
Details:
Demi Marie Obenour discovered that GnuPG incorrectly handled injection in
the status message. A remote attacker could possibly use this issue to
forge signatures.
Update instructions:
The problem can be corrected by updating your system to the following
package versions:
Ubuntu 22.04 LTS:
gnupg 2.2.27-3ubuntu2.1
gnupg2 2.2.27-3ubuntu2.1
gpg 2.2.27-3ubuntu2.1
Ubuntu 21.10:
gnupg 2.2.20-1ubuntu4.1
gnupg2 2.2.20-1ubuntu4.1
gpg 2.2.20-1ubuntu4.1
Ubuntu 20.04 LTS:
gnupg 2.2.19-3ubuntu2.2
gnupg2 2.2.19-3ubuntu2.2
gpg 2.2.19-3ubuntu2.2
Ubuntu 18.04 LTS:
gnupg 2.2.4-1ubuntu1.6
gnupg2 2.2.4-1ubuntu1.6
gpg 2.2.4-1ubuntu1.6
In general, a standard system update will make all the necessary changes.
References:
https://ubuntu.com/security/notices/USN-5503-1
CVE-2022-34903
Package Information:
https://launchpad.net/ubuntu/+source/gnupg2/2.2.27-3ubuntu2.1
https://launchpad.net/ubuntu/+source/gnupg2/2.2.20-1ubuntu4.1
https://launchpad.net/ubuntu/+source/gnupg2/2.2.19-3ubuntu2.2
https://launchpad.net/ubuntu/+source/gnupg2/2.2.4-1ubuntu1.6