steroids downloads resources over HTTP
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.
Affected software
Click a technology to see all vulnerabilities affecting it.
| Platform | Package | Vulnerable versions | Fixed in |
|---|---|---|---|
| npm package | steroids | <= 4.1.27 | no fix |
References
- https://nvd.nist.gov/vuln/detail/CVE-2016-10581
- https://github.com/AppGyver/steroids
- https://github.com/AppGyver/steroids/blob/master/package.json#L101
- https://github.com/AppGyver/steroids/blob/master/package.json#L103-L104
- https://github.com/AppGyver/steroids/blob/master/package.json#L74
- https://www.npmjs.com/advisories/168
- CVSS vector
CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H- Weakness (CWE)
CWE-311- Platform
- npm
- Package
steroids- Disclosed
- 18.02.2019
- Updated
- 11.10.2026 10:22
Sources and licenses
OSV / GitHub Advisory Database - GHSA-5m9c-634g-47vq - CC BY 4.0
Vulnerability history: steroids
All published vulnerabilities of this package (npm package), newest first. Shows whether this is a one-off slip or a package that needs watching.
This is the only known vulnerability of this package.
Know which vulnerabilities affect your application
With the DockRay integration and software inventory enabled, DockRay checks reported component versions against known vulnerabilities and notifies you about confirmed matches. Coverage depends on the supported technology and available advisory data.