GitHub Advisoryadvisory · RubyGems
GHSA-q58g-455p-8vw9 In RubyGem excon, interrupted Persistent Connections May Leak Response Data
MEDIUM
Official page ↗
- Aliases
- CVE-2019-16779
- Ecosystem
- RubyGems
- Packages
- excon
- Severity
- Moderate
- CVSS vector
- CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:H/I:N/A:N
- Weaknesses
- CWE-362, CWE-664
- Reviewed
- 2019-12-16
Affected packages
• RubyGems excon: < 0.71.0 → fixed in 0.71.0
Description
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 [email protected]
Related
Alias · CVE (1)
- CVE-2019-16779 In RubyGem excon before 0.71.0, there was a race condition around persistent connections, where a connection which is interrupted (such as… vulnerability
References
- https://github.com/excon/excon/security/advisories/GHSA-q58g-455p-8vw9 web
- https://nvd.nist.gov/vuln/detail/CVE-2019-16779 advisory
- https://github.com/excon/excon/commit/ccb57d7a422f020dc74f1de4e8fb505ab46d8a29 web
- https://github.com/excon/excon package
- https://github.com/rubysec/ruby-advisory-db/blob/master/gems/excon/CVE-2019-16779.yml web
- https://lists.debian.org/debian-lts-announce/2020/01/msg00015.html web
- http://lists.opensuse.org/opensuse-security-announce/2020-01/msg00021.html web
- http://lists.opensuse.org/opensuse-security-announce/2020-01/msg00062.html web