CVE-2019-16779
In RubyGem excon, interrupted Persistent Connections May Leak Response Data
- Published
- Updated
- Reserved
- Assigned by
- GitHub_M
Description
In RubyGem excon before 0.71.0, 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.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| GitHub_MCNA (assigner) | 3.1 | Medium5.8 | CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:H/I:N/A:N |
| NVDNVD · Analyzed | 3.1 | Medium5.9 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N |
- EPSS (exploitation in 30 days)
- 1.7% · top 23% of all CVEs (6 Nov 2026)
The list uses the assigner's score when there is one, then CISA's, then NVD's: Medium 5.8.
Weakness
Affected products
Affected packages
From reviewed advisories of the GitHub Advisory Database.
- RubyGemsexconGHSA-q58g-455p-8vw9 (opens in a new tab)
What to do
Workaround: Users can workaround the problem by disabling persistent connections, though this may cause performance implications.
References (5)
- https://github.com/excon/excon/security/advisories/GHSA-q58g-455p-8vw9 (opens in a new tab)x_refsource_CONFIRMx_transferred
- https://github.com/excon/excon/commit/ccb57d7a422f020dc74f1de4e8fb505ab46d8a29 (opens in a new tab)x_refsource_MISCx_transferred
- openSUSE-SU-2020:0036 (opens in a new tab)vendor-advisoryx_refsource_SUSEx_transferred
- [debian-lts-announce] 20200119 [SECURITY] [DLA 2070-1] ruby-excon security update (opens in a new tab)mailing-listx_refsource_MLISTx_transferred
- openSUSE-SU-2020:0139 (opens in a new tab)vendor-advisoryx_refsource_SUSEx_transferred
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisory GHSA-q58g-455p-8vw9 (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://trackcve.app/cve/CVE-2019-16779)Record last updated .