9.8crit

CVE-2018-3786in critical feed

Command Injection in egg-scripts

Also known as GHSA-c9j3-wqph-5xx9

Published 8 y ago · modified 4 mo ago · JSON

CVSS
9.8
v3.1 · NVD
CISA KEV
No
not known exploited
EPSS
12.3%
percentile 96%
Public exploits
0
none known

Summary

A command injection vulnerability in egg-scripts <v2.8.1 allows arbitrary shell command execution through a maliciously crafted command line argument.

Exploit prediction (EPSS)

12.28% probability of exploitation in the next 30 days, higher than 96% of all scored CVEs.

CVSS scores

Assigned byVersionScoreVector
NVD3.19.8CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
NVD2.010.0AV:N/AC:L/Au:N/C:C/I:C/A:C
GitHub3.19.8CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Affected packages

EcosystemPackageAffectedFixed in
npmegg-scripts
<2.8.1
2.8.1

Affected products

  • Egg egg-scripts

Classification

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

References

  • github.com /eggjs/egg-scripts/pull/26 · x_refsource_CONFIRM, x_transferred
  • hackerone.com /reports/388936 · x_refsource_MISC, x_transferred
  • github.com /eggjs/egg-scripts/blob/2.8.1/History.md · x_refsource_CONFIRM, x_transferred
  • nvd.nist.gov /vuln/detail/CVE-2018-3786 · advisory
  • github.com /eggjs/egg-scripts/commit/b98fd03d1e3aaed68004b881f0b3d42fe47341dd · web
  • github.com /advisories/GHSA-c9j3-wqph-5xx9 · advisory
  • npmjs.com /advisories/694 · web

Sources

vulnwire keeps one entry per vulnerability: the CVE id wins, then GHSA; records that alias each other are merged. Machine-readable: JSON.