Cloudanix VulnDB

CVE-2019-13050

High · 7.5

CVSS

7.5

EPSS

2.5%

Published

Jun 29, 2019

CISA due date

—

Cloudanix analysis

Schedule a fix SSVC: Track

A configuration that lets email-encryption tools pull keys from a public network can be flooded with junk data, causing those tools to stop working until the configuration is changed.

Exploit Available
Exploitation
Remote Unauthenticated
Attacker needs
None
Complexity
Low
Impact
Denial Of Service
Component
Application
Class
Denial of service
Remediation
Upgrade
Effort
Medium
Patch risk
Low

What it actually does

The interaction allows an attacker-controlled flood of certificates from the SKS network to be retrieved by GnuPG clients, resulting in persistent resource exhaustion and denial of service on key operations.

Why it matters to the business

Systems that rely on GPG for signature verification or encryption may experience prolonged outages or degraded performance when key retrieval is triggered, affecting secure communications and software distribution pipelines.

How an attack unfolds

An attacker spams the SKS keyserver network with a large volume of certificates; any GnuPG instance configured to query the network then pulls the malicious data during normal key refresh or import operations, causing the client to become unresponsive.

How to fix it

Remove or replace any keyserver configuration lines that reference the SKS network; migrate to alternative keyservers such as keys.openpgp.org; upgrade GnuPG beyond 2.2.16 and SKS beyond 1.2.0 where possible; avoid automated key fetches from untrusted sources.

How to confirm the fix worked

Inspect gpg.conf and dirmngr.conf files for references to sks-keyservers.net or similar hosts; attempt key retrieval from a test system and monitor for resource spikes; verify that key operations complete without exhaustion after configuration changes.

Typical attack path

  1. Identify GnuPG deployments with keyserver lines pointing to sks-keyservers.net or equivalent SKS hosts
  2. Inject or amplify a large number of certificates into the SKS network
  3. Trigger key retrieval or synchronization from affected GnuPG clients
  4. Observe persistent high CPU, memory, or disk usage leading to denial of service

How to detect it

Search system and application logs for repeated or large-volume key import operations; monitor process resource usage during gpg or dirmngr activity; review historical configuration files for legacy SKS references.

  • sks-keyservers.net
  • hkp://pool.sks-keyservers.net
  • gpg: keyserver receive failed
  • excessive keyring growth during --recv-keys

What your security team should do

  • Immediately audit all GnuPG configurations across the environment for SKS keyserver references
  • Replace SKS keyserver entries with hardened alternatives and disable automatic key retrieval where feasible
  • Monitor for high resource consumption during GPG key operations as an interim detection measure
  • Prioritize upgrades of GnuPG and related packages on internet-facing or critical systems

The record

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.

Affected packages

Ecosystem Package Introduced Fixed
AlmaLinux:8 gnupg2 0 2.2.20-2.el8
AlmaLinux:8 gnupg2-smime 0 2.2.20-2.el8
Red Hat:enterprise_linux:8::baseos gnupg2 0 0:2.2.20-2.el8
Red Hat:enterprise_linux:8::baseos gnupg2-debuginfo 0 0:2.2.20-2.el8
Red Hat:enterprise_linux:8::baseos gnupg2-debugsource 0 0:2.2.20-2.el8
Red Hat:enterprise_linux:8::baseos gnupg2-smime 0 0:2.2.20-2.el8
Red Hat:enterprise_linux:8::baseos gnupg2-smime-debuginfo 0 0:2.2.20-2.el8
Rocky Linux:8 gnupg2 0 0:2.2.20-2.el8
SUSE:Linux Enterprise Desktop 12 SP4 gpg2 0 2.0.24-9.8.1
SUSE:Linux Enterprise Module for Basesystem 15 gpg2 0 2.2.5-4.11.1
SUSE:Linux Enterprise Module for Basesystem 15 SP1 gpg2 0 2.2.5-4.11.1
SUSE:Linux Enterprise Server 12 SP4 gpg2 0 2.0.24-9.8.1
SUSE:Linux Enterprise Server for SAP Applications 12 SP4 gpg2 0 2.0.24-9.8.1
Ubuntu:16.04:LTS sks 0 No fix
Ubuntu:18.04:LTS gnupg2 0 2.2.4-1ubuntu1.5
Ubuntu:18.04:LTS sks 0 No fix
Ubuntu:20.04:LTS sks 0 No fix
Ubuntu:Pro:14.04:LTS gnupg 0 No fix
Ubuntu:Pro:16.04:LTS gnupg 0 No fix
Ubuntu:Pro:16.04:LTS gnupg2 0 No fix
Ubuntu:Pro:16.04:LTS sks 0 No fix
Ubuntu:Pro:18.04:LTS sks 0 No fix
Ubuntu:Pro:20.04:LTS sks 0 No fix
openSUSE:Leap 15.0 gpg2 0 2.2.5-lp151.6.3.1
openSUSE:Leap 15.1 gpg2 0 2.2.5-lp151.6.3.1

Related vulnerabilities