Advisory Published

USN-3964-1: python-gnupg vulnerabilities

First published: Thu May 02 2019(Updated: )

Marcus Brinkmann discovered that GnuPG before 2.2.8 improperly handled certain command line parameters. A remote attacker could use this to spoof the output of GnuPG and cause unsigned e-mail to appear signed. (CVE-2018-12020) It was discovered that python-gnupg incorrectly handled the GPG passphrase. A remote attacker could send a specially crafted passphrase that would allow them to control the output of encryption and decryption operations. (CVE-2019-6690)

Affected SoftwareAffected VersionHow to fix
All of
ubuntu/python-gnupg<0.4.3-1ubuntu1.19.04.1
0.4.3-1ubuntu1.19.04.1
Ubuntu OpenSSH Client=19.04
All of
ubuntu/python3-gnupg<0.4.3-1ubuntu1.19.04.1
0.4.3-1ubuntu1.19.04.1
Ubuntu OpenSSH Client=19.04
All of
ubuntu/python-gnupg<0.4.1-1ubuntu1.18.10.1
0.4.1-1ubuntu1.18.10.1
Ubuntu OpenSSH Client=18.10
All of
ubuntu/python3-gnupg<0.4.1-1ubuntu1.18.10.1
0.4.1-1ubuntu1.18.10.1
Ubuntu OpenSSH Client=18.10
All of
ubuntu/python-gnupg<0.4.1-1ubuntu1.18.04.1
0.4.1-1ubuntu1.18.04.1
Ubuntu OpenSSH Client=18.04
All of
ubuntu/python3-gnupg<0.4.1-1ubuntu1.18.04.1
0.4.1-1ubuntu1.18.04.1
Ubuntu OpenSSH Client=18.04

Never miss a vulnerability like this again

Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.

Child vulnerabilities

(Contains the following vulnerabilities)

Frequently Asked Questions

  • What is the vulnerability ID of this advisory?

    The vulnerability ID of this advisory is CVE-2018-12020.

  • What is the affected software?

    The affected software is python-gnupg and python3-gnupg.

  • What is the severity of CVE-2018-12020?

    The severity of CVE-2018-12020 is not specified in the advisory.

  • How can a remote attacker exploit CVE-2018-12020?

    A remote attacker could use CVE-2018-12020 to spoof the output of GnuPG and cause unsigned e-mail to appear signed.

  • How can I fix this vulnerability?

    To fix this vulnerability, update python-gnupg and python3-gnupg to version 0.4.3-1ubuntu1.19.04.1 (for Ubuntu 19.04), 0.4.1-1ubuntu1.18.10.1 (for Ubuntu 18.10), or 0.4.1-1ubuntu1.18.04.1 (for Ubuntu 18.04).

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2025 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203