cve.bz

CVE-2019-13050 Improper Certificate Validation

7.5 highExploit referenceEPSS 2.4%

High (7.5). EPSS 2.4% estimated probability of exploitation activity in the next 30 days.

On this page
Interaction between the sks-keyserver code through 1.2.0 of the SKS keyserver network, and GnuPG through 2.2.16, makes it risky to have a GnuPG keyserver configuration line referring to a host on the SKS keyserver network. Retrieving data from this network may cause a persistent denial of service, because of a Certificate Spamming Attack.

Severity

CVSS 3.1

7.5 high
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
EPSS
2.4% (unchanged from 2.4% a week ago; 2.5% 30 days ago) estimated probability of exploitation activity in the next 30 days; 85th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CWE
CWE-295 Improper Certificate Validation
OWASP Top 10
A07:2025 Authentication Failures
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2019-13050 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2019-13050?via=ask-ai-copy and https://cve.bz/cve/CVE-2019-13050?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2019-13050 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
gnupg:gnupgthrough 2.2.16
sks_keyserver_project:sks_keyserverthrough 1.2.0
fedoraproject:fedora29
fedoraproject:fedora30
opensuse:leap15.0
opensuse:leap15.1
f5:traffix_signaling_delivery_controllerfrom 5.0.0 through 5.1.0

Linux distributions

DistributionReleasePackageFixed inAdvisory
Ubuntu16.04:LTS, 18.04:LTS, 20.04:LTSsksno fix listedUBUNTU-CVE-2019-13050
Ubuntu18.04:LTSgnupg22.2.4-1ubuntu1.5UBUNTU-CVE-2019-13050 USN-5431-1
UbuntuPro:14.04:LTSgnupgno fix listedUBUNTU-CVE-2019-13050
UbuntuPro:16.04:LTSgnupg, gnupg2no fix listedUBUNTU-CVE-2019-13050
Red Hatenterprise_linux:8::baseosgnupg2, gnupg2-smime, gnupg2-debuginfo and 2 more0:2.2.20-2.el8RHSA-2020:4490
SUSELinux Enterprise Desktop 12 SP4, Linux Enterprise Server 12 SP4, Linux Enterprise Server for SAP Applications 12 SP4gpg22.0.24-9.8.1SUSE-SU-2019:2480-1
SUSELinux Enterprise Module for Basesystem 15, Linux Enterprise Module for Basesystem 15 SP1gpg22.2.5-4.11.1SUSE-SU-2019:2006-1
openSUSELeap 15.0, Leap 15.1gpg22.2.5-lp151.6.3.1openSUSE-SU-2019:1917-1
AlmaLinux8gnupg2, gnupg2-smime2.2.20-2.el8ALSA-2020:4490
Rocky Linux8gnupg20:2.2.20-2.el8RLSA-2020:4490

From the distributions' data via OSV.dev: Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; SUSE security data, CC BY 4.0; AlmaLinux's OSV database, MIT; Rocky Linux's errata, BSD-3-Clause. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Ubuntu · Red Hat · SUSE · openSUSE.

Red Hat

Red Hat rates this Moderate.

Red Hat's statement

This is a certificate spamming attack, against key servers which use the sks-keyserver software. Attackers were able to poison some certificates in the SKS keyserver network. When GnuPG users import these certificate their installations will break. Currently there is no patch available for GnuPG. Users are encouraged to apply the mitigation mentioned on this page. Lastly there is no way to currently detect which certificates have been poisoned.

Users of GnuPG who import only locally created certificates or those created within their infrastructure and later use them for verification etc are not affected by this flaw.

Red Hat's mitigation

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.

ProductPackageStateAdvisory
Red Hat Enterprise Linux 8gnupg2-0:2.2.20-2.el8Fixed 2020-11-04RHSA-2020:4490
Red Hat Enterprise Linux 5gnupgOut of support scope
Red Hat Enterprise Linux 5gnupg2Out of support scope
Red Hat Enterprise Linux 6gnupg2Out of support scope
Red Hat Enterprise Linux 7gnupg2Will not fix

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2019-13050.

Attack patterns (CAPEC)

  • CAPEC-459 Creating a Rogue Certification Authority Certificate Likelihood: Medium · Severity: Very High
  • CAPEC-475 Signature Spoofing by Improper Validation Likelihood: Low · Severity: High

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON