GHSA-C9J3-WQPH-5XX9
Vulnerability from github – Published: 2018-09-17 20:43 – Updated: 2023-02-03 20:45
VLAI?
Summary
Command Injection in egg-scripts
Details
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.
Severity ?
9.8 (Critical)
{
"affected": [
{
"package": {
"ecosystem": "npm",
"name": "egg-scripts"
},
"ranges": [
{
"events": [
{
"introduced": "0"
},
{
"fixed": "2.8.1"
}
],
"type": "ECOSYSTEM"
}
]
}
],
"aliases": [
"CVE-2018-3786"
],
"database_specific": {
"cwe_ids": [
"CWE-77",
"CWE-78"
],
"github_reviewed": true,
"github_reviewed_at": "2020-06-16T21:30:55Z",
"nvd_published_at": "2018-08-24T20:29:00Z",
"severity": "CRITICAL"
},
"details": "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.\n\n\nExample:\n`eggctl start --daemon --stderr=\u0027/tmp/eggctl_stderr.log; touch /tmp/malicious\u0027`\n\n\n## Recommendation\n\nUpdate to version 2.8.1 or later.",
"id": "GHSA-c9j3-wqph-5xx9",
"modified": "2023-02-03T20:45:07Z",
"published": "2018-09-17T20:43:34Z",
"references": [
{
"type": "ADVISORY",
"url": "https://nvd.nist.gov/vuln/detail/CVE-2018-3786"
},
{
"type": "WEB",
"url": "https://github.com/eggjs/egg-scripts/pull/26"
},
{
"type": "WEB",
"url": "https://github.com/eggjs/egg-scripts/commit/b98fd03d1e3aaed68004b881f0b3d42fe47341dd"
},
{
"type": "WEB",
"url": "https://hackerone.com/reports/388936"
},
{
"type": "ADVISORY",
"url": "https://github.com/advisories/GHSA-c9j3-wqph-5xx9"
},
{
"type": "WEB",
"url": "https://github.com/eggjs/egg-scripts/blob/2.8.1/History.md"
},
{
"type": "WEB",
"url": "https://www.npmjs.com/advisories/694"
}
],
"schema_version": "1.4.0",
"severity": [
{
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H",
"type": "CVSS_V3"
}
],
"summary": "Command Injection in egg-scripts"
}
Loading…
Loading…
Sightings
| Author | Source | Type | Date |
|---|
Nomenclature
- Seen: The vulnerability was mentioned, discussed, or observed by the user.
- Confirmed: The vulnerability has been validated from an analyst's perspective.
- Published Proof of Concept: A public proof of concept is available for this vulnerability.
- Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
- Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
- Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
- Not confirmed: The user expressed doubt about the validity of the vulnerability.
- Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.
Loading…
Loading…