Home › News › Vulnerabilities
Ubuntu Patches Excon Ruby Flaw That Could Expose Sensitive Data Through Interrupted Connections
According to Ubuntu USN, a flaw in the Excon Ruby library could let an attacker over a network intercept responses meant for earlier requests and reach sensitive information. Ubuntu has released a security update for the affected ruby-excon package.
VulnerabilitiesKey points
- Excon Ruby library flaw can expose sensitive data by letting responses for earlier requests reach the wrong party
- Root cause is improper handling of interrupted persistent connections, such as after timeouts
- Ubuntu has released a security update for the ruby-excon package
- No confirmed exploitation or proof-of-concept code was reported at the time
According to the Ubuntu Security Notice (USN) advisory reported by Ubuntu USN, a vulnerability in the Excon Ruby library could expose sensitive data over a network. The flaw comes from improper handling of interrupted persistent connections, such as those affected by timeouts. The advisory says an attacker could intercept responses intended for earlier requests, which could lead to unauthorized access to sensitive information.
Affected software and fix
The issue affects the ruby-excon package, which is used to create HTTP(S) connections. Ubuntu has released a security update that changes how persistent connections are managed, so interrupted connections are handled correctly and responses are not delivered to the wrong request. The update is distributed through standard system update procedures.
Exploitation status
The source describes the flaw as not requiring user interaction to exploit. It states that no confirmed exploitation cases, known attack campaigns, threat actors or proof-of-concept code had been reported at the time of the advisory. The source does not state the affected Ubuntu releases in detail, and it gives no workaround beyond applying the update. It also does not provide guidance on monitoring or detecting exploitation attempts.
The security researchers who found the flaw reported it to Ubuntu as part of its vulnerability management process. Ubuntu Pro, according to the same source, extends security support to more than 25,000 packages across the Main and Universe repositories and is available at no cost for up to five devices. Readers should consult the original Ubuntu USN advisory for full details.
What to do
- Apply the ruby-excon security update through standard system update procedures
- Prioritise updating systems that use ruby-excon, since the advisory does not require user interaction to exploit the flaw
- Review the original Ubuntu USN advisory to confirm which Ubuntu releases are covered
Original report
“USN-9336-1: Excon vulnerability”
It was discovered that Excon did not properly handle persistent connections that were interrupted, such as by a timeout, which could cause later requests to receive the response to an earlier request. An attacker could possibly use this issue to obtain sensitive information.