Resources Downloaded over Insecure Protocol Affecting ec2-price package, versions <0.5.0



    Attack Complexity High
    User Interaction Required
    Confidentiality High
    Integrity High
    Availability High

    Threat Intelligence

    Exploit Maturity Mature

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 npm:ec2-price:20170418
  • published 1 May 2017
  • disclosed 24 Apr 2017
  • credit Liang Gong

Introduced: 24 Apr 2017

CVE NOT AVAILABLE CWE-494 Open this link in a new tab
First added by Snyk

How to fix?

Upgrade ec2-price to version 0.5.0 or higher.


ec2-price retrieves the latest EC2 prices via command line.

Affected versions of the package are vulnerable to Man in the Middle (MitM) attacks due to downloading resources 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.

Many thanks to Liang Gong for disclosing this vulnerability.

Disclosure Timeline

  • April 24th, 2017 - Disclosed to package owner
  • April 24th, 2017 - Issue acknowledged by package owner.
  • April 27th, 2017 - Issue fixed and version 0.5.0 released.