Resources Downloaded over Insecure Protocol
Affecting ec2-price package, versions <0.5.0
Do your applications use this vulnerable package?
Test your applications
Overview
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.
Remediation
Upgrade ec2-price
to version 0.5.0 or higher.
References
CVSS Score
7.1
high severity
-
Attack VectorNetwork
-
Attack ComplexityHigh
-
Privileges RequiredLow
-
User InteractionRequired
-
ScopeUnchanged
-
ConfidentialityHigh
-
IntegrityHigh
-
AvailabilityHigh
- Credit
- Liang Gong
- CWE
- CWE-494
- Snyk ID
- npm:ec2-price:20170418
- Disclosed
- 24 Apr, 2017
- Published
- 01 May, 2017