Man-in-the-Middle (MitM) Affecting nio4r package, versions <0.4.4
Snyk CVSS
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 ID SNYK-RUBY-NIO4R-20409
- published 1 Aug 2017
- disclosed 21 Apr 2013
- credit Tim Carey-Smith
How to fix?
Upgrade nio4r
to version 0.4.4 or higher.
Overview
nio4r
is Cross-platform asynchronous I/O primitives for scalable network clients and servers. Inspired by the Java NIO API, but simplified for ease-of-use.
Affected versions of the package are vulnerable to Man-in-the-middle (MitM) attacks due to attacks due to downloading gems over an insecure protocol. Without a secure connection, it is possible for an attacker to intercept this connection and alter the packages received. In serious cases, this may even lead to Remote Code Execution (RCE) on your host server.
You can read more about Man-in-the-Middle (MitM)
on our blog.