Man-in-the-Middle (MitM) Affecting nio4r package, versions <0.4.4


0.0
medium

Snyk CVSS

    Attack Complexity High
    User Interaction Required
    Confidentiality High
    Integrity High

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

Introduced: 21 Apr 2013

CVE NOT AVAILABLE CWE-300 Open this link in a new tab

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.