GitHub Advisoryadvisory · npm

GHSA-5m9c-634g-47vq steroids downloads resources over HTTP

HIGH Published 2019-02-18 Modified 2022-08-03 Official page ↗
Aliases
CVE-2016-10581
Ecosystem
npm
Packages
steroids
Severity
High
CVSS vector
CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
Weaknesses
CWE-311
Reviewed
2020-06-16

Affected packages

• npm steroids: <= 4.1.27 (no fix yet)

Description

Affected versions of `steroids` insecurely download an executable over an unencrypted HTTP connection. In scenarios where an attacker has a privileged network position, it is possible to intercept the response and replace the executable with a malicious one, resulting in code execution on the system running `steroids`. Recommendation This vulnerability was discovered and reported in 2016, yet has not seen a patch issued as of 03/2018. As of 08/2022, the package is marked as deprecated and the GitHub repository is no longer publicly available. The best path forward for mitigating this issue is to attempt to use an alternative module that is actively maintained and which provides similar functionality, such as the native PhoneGap API.

Related

Alias · CVE (1)

  • CVE-2016-10581 Steroids is PhoneGap on Steroids, providing native UI elements, multiple WebViews and enhancements for better developer productivity. vulnerability

Weakness · CWE (1)

  • CWE-311 Missing Encryption of Sensitive Data weakness

References