Loading HuntDB...

GHSA-5m9c-634g-47vq

GitHub Security Advisory

steroids downloads resources over HTTP

✓ GitHub Reviewed HIGH Has CVE

Advisory Details

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](https://www.npmjs.com/package/steroids) 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.

Affected Packages

npm steroids
Affected versions: 0 (last affected: 4.1.27)

Related CVEs

Key Information

GHSA ID
GHSA-5m9c-634g-47vq
Published
February 18, 2019 11:35 PM
Last Modified
August 3, 2022 9:20 PM
CVSS Score
7.5 /10
Primary Ecosystem
npm
Primary Package
steroids
GitHub Reviewed
✓ Yes

Dataset

Last updated: July 4, 2025 6:27 AM

Data from GitHub Advisory Database. This information is provided for research and educational purposes.