Ecosyste.ms: Advisories
An open API service providing security vulnerability metadata for many open source software ecosystems.
Security Advisories: MDE2OlNlY3VyaXR5QWR2aXNvcnlHSFNBLWM5ajMtd3FwaC01eHg5
Command Injection in egg-scripts
Versions of egg-scripts
before 2.8.1 are vulnerable to command injection. This is only exploitable if a malicious argument is provided on the command line.
Example:
eggctl start --daemon --stderr='/tmp/eggctl_stderr.log; touch /tmp/malicious'
Recommendation
Update to version 2.8.1 or later.
Permalink: https://github.com/advisories/GHSA-c9j3-wqph-5xx9JSON: https://advisories.ecosyste.ms/api/v1/advisories/MDE2OlNlY3VyaXR5QWR2aXNvcnlHSFNBLWM5ajMtd3FwaC01eHg5
Source: GitHub Advisory Database
Origin: Unspecified
Severity: Critical
Classification: General
Published: about 6 years ago
Updated: about 1 year ago
CVSS Score: 9.8
CVSS vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Identifiers: GHSA-c9j3-wqph-5xx9, CVE-2018-3786
References:
- https://nvd.nist.gov/vuln/detail/CVE-2018-3786
- https://github.com/eggjs/egg-scripts/pull/26
- https://hackerone.com/reports/388936
- https://github.com/advisories/GHSA-c9j3-wqph-5xx9
- https://www.npmjs.com/advisories/694
- https://github.com/eggjs/egg-scripts/blob/2.8.1/History.md
- https://github.com/eggjs/egg-scripts/commit/b98fd03d1e3aaed68004b881f0b3d42fe47341dd
Blast Radius: 32.3
Affected Packages
npm:egg-scripts
Dependent packages: 182Dependent repositories: 1,966
Downloads: 91,127 last month
Affected Version Ranges: < 2.8.1
Fixed in: 2.8.1
All affected versions: 1.0.0, 1.1.0, 1.1.1, 1.1.2, 1.2.0, 2.0.0, 2.1.0, 2.1.1, 2.2.0, 2.3.0, 2.4.0, 2.5.0, 2.5.1, 2.6.0, 2.7.0, 2.8.0
All unaffected versions: 2.8.1, 2.9.0, 2.9.1, 2.10.0, 2.11.0, 2.11.1, 2.12.0, 2.13.0, 2.14.0, 2.15.0, 2.15.1, 2.15.2, 2.15.3, 2.16.0, 2.17.0, 3.0.0, 3.0.1