Vulnerability in ruby-eventmachine package
Summary
DLA-549-1: ruby-eventmachine - security update. Affects ruby-eventmachine versions < 0.12.10-3+deb7u1. Fixed in 0.12.10-3+deb7u1. How to fix ↓
Check if this vulnerability affects your application
Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.
No signup required · Results in about 60 seconds
Background
The ruby-eventmachine package is a Ruby network engine that provides event-driven I/O for building scalable network applications. It allows developers to create high-performance servers and clients using a simple and intuitive API. However, a vulnerability has been discovered in versions prior to 0.12.10-3+deb7u1 that can lead to a crash when a high number of parallel connections (>= 1024) are opened towards a server using the EventMachine engine. This crash occurs due to file descriptors overwriting the stack.
Vulnerability Detail
The vulnerability in the ruby-eventmachine package allows an attacker to crash the application by exploiting the issue with file descriptors overwriting the stack. By opening a large number of parallel connections, the attacker can overwhelm the system and cause it to crash. This can lead to denial of service and disrupt the normal functioning of the application. It is important to note that this vulnerability only affects versions prior to 0.12.10-3+deb7u1.
How To Fix
Minimum fixed version
0.12.10-3+deb7u1
This is the first release that contains the fix.
sudo apt-get install --only-upgrade ruby-eventmachine
Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →
Workaround
There is no known workaround for this vulnerability. It is recommended to apply the fix by upgrading the ruby-eventmachine package to the latest version.
Conclusion
The vulnerability in the ruby-eventmachine package can be fixed by upgrading to version 0.12.10-3+deb7u1 or later. It is important to apply the fix to prevent potential denial of service attacks. For further support on vulnerability remediation, you can contact DevNack.com.
See every vulnerability recorded for ruby-eventmachine →
FAQ
The vulnerability can lead to a denial of service, causing the application to crash and become unresponsive.
Versions prior to 0.12.10-3+deb7u1 are affected by this vulnerability.
No, authentication is not required to exploit this vulnerability. An attacker can exploit it by opening a high number of parallel connections.
There are no known exploits for this vulnerability at the moment.
Yes, this vulnerability can be exploited remotely by sending a high number of parallel connections to a server using the EventMachine engine.