Race Condition Affecting ruby-excon package, versions <0.60.0-2


Severity

Recommended
0.0
medium
0
10

Snyk's Security Team recommends NVD's CVSS assessment. Learn more

Threat Intelligence

EPSS
1.66% (76th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-ECHOLATEST-RUBYEXCON-18011656
  • published18 Jul 2026
  • disclosed16 Dec 2019

Introduced: 16 Dec 2019

CVE-2019-16779  (opens in a new tab)
CWE-362  (opens in a new tab)

How to fix?

Upgrade Echo:latest ruby-excon to version 0.60.0-2 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream ruby-excon package and not the ruby-excon package as distributed by Echo. See How to fix? for Echo:latest relevant fixed versions and status.

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.

CVSS Base Scores

version 3.1