Skip to main content

CVE-2019-16779 — Vulnerability in excon — CVE Details

MEDIUM

In RubyGem excon, interrupted Persistent Connections May Leak Response Data

Published December 16, 2019Updated September 10, 2026Source: OSV

What Should I Do?

Address in Next Maintenance Window

Low exploitation probability (1.66%). Schedule for your next planned update.

Does your project use an affected excon version?

Paste your Gemfile.lock to check it for CVE-2019-16779 and every other known vulnerability, with CISA KEV and EPSS on each finding. Free with no signup for up to 10 packages, or up to 500 per scan with a free account, which also keeps up to 200 packages in saved projects.

Check my Gemfile.lock

Summary

Impact

There was a race condition around persistent connections, where a connection which is interrupted (such as by a timeout) would leave data on the socket. Subsequent requests would then read this data, returning content from the previous response. The race condition window appears to be short, and it would be difficult to purposefully exploit this.

Patches

The problem has been patched in 0.71.0, users should upgrade to this or a newer version (if one exists).

Workarounds

Users can workaround the problem by disabling persistent connections, though this may cause performance implications.

References

See the patch for further details.

For more information

If you have any questions or comments about this advisory:

Advisory Timeline

  • First published December 16, 2019 (2537 days ago).
  • Last revised September 10, 2026 — 2459 days after initial publication.

Remediation

Upgrade to the fixed version using your package manager.

Bundler
Update excon to 0.71.0 or later
gem install excon -v 0.71.0

After upgrading, scan your dependencies again to confirm the vulnerability is resolved.

Affected Packages (1)

Affects 1 ecosystem: RubyGems (1).

PackageFixed In
excon RubyGems · Affected: 0.0.1, 0.0.10, 0.0.11, 0.0.12 (+203 more)0.71.0

Vulnerability Classification

Common Weakness Enumeration (CWE) identifiers for this vulnerability type.

CVSS Score Breakdown

What the CVSS (Common Vulnerability Scoring System) 5.8 score means for each attack dimension.

Attack Vector
Network
Attack Complexity
High
Privileges Required
Low
User Interaction
Required
Scope
Changed
Confidentiality
High
Integrity
None
Availability
None

CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:H/I:N/A:N

Frequently Asked Questions

What is CVE-2019-16779?
In RubyGem excon, interrupted Persistent Connections May Leak Response Data. This vulnerability has been assigned a severity rating of MEDIUM (CVSS score: 5.8/10).
How do I check if my project is affected by CVE-2019-16779?
CVE-2019-16779 affects excon. It has a 1.7% probability of exploitation within 30 days (EPSS score). Use GeekWala's free vulnerability scanner to check your dependencies against CVE-2019-16779 and 200,000+ other known vulnerabilities.

Severity & Exploitability

CVSS Score
5.8

Exploitation requires specific conditions, or the impact is limited.

EPSS Score (30-day exploit probability)
1.66%
EPSS percentile: 77.1

This places it in the top quartile of EPSS-scored vulnerabilities — 77.1% of tracked vulnerabilities score at or below it, so it is more likely to be exploited than most of the tracked corpus.

Also Known As

GHSA-q58g-455p-8vw9

Related CVEs

Check your own dependencies

Free, with no signup for up to 10 packages.

Check my Gemfile.lock