RHSA-2020:4490MediumCVSS 6.5

Red Hat Security Advisory: gnupg2 security, bug fix, and enhancement update

Published
November 4, 2020
Last Modified
November 7, 2026

🔗 CVE IDs covered (2)

📋 Description

CVE-2018-1000858 — gnupg2: Cross site request forgery in dirmngr resulting in an information disclosure or denial of service CVE-2019-13050 — GnuPG: interaction between the sks-keyserver code and GnuPG allows for a Certificate Spamming Attack which leads to persistent DoS

🎯 Affected products22

  • Red Hat Enterprise Linux BaseOS (v. 8)
  • gnupg2-0:2.2.20-2.el8.aarch64 as a component of Red Hat Enterprise Linux BaseOS (v. 8)
  • gnupg2-0:2.2.20-2.el8.ppc64le as a component of Red Hat Enterprise Linux BaseOS (v. 8)
  • gnupg2-0:2.2.20-2.el8.s390x as a component of Red Hat Enterprise Linux BaseOS (v. 8)
  • gnupg2-0:2.2.20-2.el8.src as a component of Red Hat Enterprise Linux BaseOS (v. 8)
  • gnupg2-0:2.2.20-2.el8.x86_64 as a component of Red Hat Enterprise Linux BaseOS (v. 8)
  • gnupg2-debuginfo-0:2.2.20-2.el8.aarch64 as a component of Red Hat Enterprise Linux BaseOS (v. 8)
  • gnupg2-debuginfo-0:2.2.20-2.el8.ppc64le as a component of Red Hat Enterprise Linux BaseOS (v. 8)
  • gnupg2-debuginfo-0:2.2.20-2.el8.s390x as a component of Red Hat Enterprise Linux BaseOS (v. 8)
  • gnupg2-debuginfo-0:2.2.20-2.el8.x86_64 as a component of Red Hat Enterprise Linux BaseOS (v. 8)
  • gnupg2-debugsource-0:2.2.20-2.el8.aarch64 as a component of Red Hat Enterprise Linux BaseOS (v. 8)
  • gnupg2-debugsource-0:2.2.20-2.el8.ppc64le as a component of Red Hat Enterprise Linux BaseOS (v. 8)
  • gnupg2-debugsource-0:2.2.20-2.el8.s390x as a component of Red Hat Enterprise Linux BaseOS (v. 8)
  • gnupg2-debugsource-0:2.2.20-2.el8.x86_64 as a component of Red Hat Enterprise Linux BaseOS (v. 8)
  • gnupg2-smime-0:2.2.20-2.el8.aarch64 as a component of Red Hat Enterprise Linux BaseOS (v. 8)
  • gnupg2-smime-0:2.2.20-2.el8.ppc64le as a component of Red Hat Enterprise Linux BaseOS (v. 8)
  • gnupg2-smime-0:2.2.20-2.el8.s390x as a component of Red Hat Enterprise Linux BaseOS (v. 8)
  • gnupg2-smime-0:2.2.20-2.el8.x86_64 as a component of Red Hat Enterprise Linux BaseOS (v. 8)
  • gnupg2-smime-debuginfo-0:2.2.20-2.el8.aarch64 as a component of Red Hat Enterprise Linux BaseOS (v. 8)
  • gnupg2-smime-debuginfo-0:2.2.20-2.el8.ppc64le as a component of Red Hat Enterprise Linux BaseOS (v. 8)
  • gnupg2-smime-debuginfo-0:2.2.20-2.el8.s390x as a component of Red Hat Enterprise Linux BaseOS (v. 8)
  • gnupg2-smime-debuginfo-0:2.2.20-2.el8.x86_64 as a component of Red Hat Enterprise Linux BaseOS (v. 8)

✅ Remediation

For details on how to apply this update, which includes the changes described in this advisory, refer to: https://access.redhat.com/articles/11258 Workaround: As per upstream: High-risk users should stop using the keyserver network immediately. 1. Open ~/.gnupg/gpg.conf in a text editor. Ensure there is no line starting with keyserver. If there is, remove it. 2. Open ~/.gnupg/dirmngr.conf in a text editor. Add the line "keyserver hkps://keys.openpgp.org" to the end of it. keys.openpgp.org is a new experimental keyserver which is not part of the keyserver network and has some features which make it resistant to this attack. It is not a drop-in replacement: it has some limitations (for instance, its search functionality is sharply constrained). However, once you make this change you will be able to run gpg --refresh-keys with confidence. For installations which are currently rendered unusable by this attack, the following repair method is advised: 1. If you know which certificate is likely poisoned, try deleting it. Once the installation becomes usable again, you can acquire a new unpoisoned copy of the certificate and re-import it. 2. If you do not know which certificate is poisoned, best option is to get a list of all your certificate IDs, delete your keyrings completely, and rebuild from scratch using known-good copies of the public certificates.

🔗 References (5)