CVE-2019-16779 — Vulnerability in excon — CVE Details
In RubyGem excon, interrupted Persistent Connections May Leak Response Data
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.
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:
- Open an issue in excon/issues
- Email us at geemus+github@gmail.com
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.
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).
| Package | Fixed 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.
- CWE-362
- CWE-664
CVSS Score Breakdown
What the CVSS (Common Vulnerability Scoring System) 5.8 score means for each attack dimension.
CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:H/I:N/A:N
References
- https://github.com/excon/excon/security/advisories/GHSA-q58g-455p-8vw9WEB
- https://nvd.nist.gov/vuln/detail/CVE-2019-16779ADVISORY
- https://github.com/excon/excon/commit/ccb57d7a422f020dc74f1de4e8fb505ab46d8a29WEB
- https://github.com/excon/exconPACKAGE
- https://github.com/rubysec/ruby-advisory-db/blob/master/gems/excon/CVE-2019-16779.ymlWEB
- https://lists.debian.org/debian-lts-announce/2020/01/msg00015.htmlWEB
- https://lists.opensuse.org/opensuse-security-announce/2020-01/msg00021.htmlWEB
- https://lists.opensuse.org/opensuse-security-announce/2020-01/msg00062.htmlWEB
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
Exploitation requires specific conditions, or the impact is limited.
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
Related CVEs
- CVE-2026-54171MEDIUM
Excon does not redact additional sensitive/risky headers when following redirects
- CVE-2026-128084MEDIUM
sqlite3-ruby: Possible SQL query truncation when a string is 4 GiB or larger
- CVE-2026-115472MEDIUM
Doorkeeper: When using public clients, any client can revoke any access token