GitHub Advisoryadvisory · npm

GHSA-c9j3-wqph-5xx9 Command Injection in egg-scripts

CRITICAL Published 2018-09-17 Modified 2023-02-03 Official page ↗
Aliases
CVE-2018-3786
Ecosystem
npm
Packages
egg-scripts
Severity
Critical
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Weaknesses
CWE-77, CWE-78
Reviewed
2020-06-16

Affected packages

• npm egg-scripts: < 2.8.1 → fixed in 2.8.1

Description

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.

Related

Alias · CVE (1)

  • CVE-2018-3786 A command injection vulnerability in egg-scripts <v2.8.1 allows arbitrary shell command execution through a maliciously crafted command… vulnerability

Weakness · CWE (2)

  • CWE-77 Improper Neutralization of Special Elements used in a Command weakness
  • CWE-78 Improper Neutralization of Special Elements used in an OS Command weakness

References