9.8crit
CVE-2018-3785
Command Injection in git-dummy-commit
Also known as GHSA-h3c2-x77c-7pvr
Published 8 y ago · modified 4 mo ago · JSON
CVSS
9.8
v3.1 · NVD
CISA KEV
No
not known exploited
EPSS
4.0%
percentile 91%
Public exploits
0
none known
Summary
A command injection in git-dummy-commit v1.3.0 allows os level commands to be executed due to an unescaped parameter.
Exploit prediction (EPSS)
4.00% probability of exploitation in the next 30 days, higher than 91% of all scored CVEs.
CVSS scores
| Assigned by | Version | Score | Vector |
|---|---|---|---|
| NVD | 3.1 | 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| NVD | 2.0 | 10.0 | AV:N/AC:L/Au:N/C:C/I:C/A:C |
| GitHub | 3.1 | 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
Affected packages
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| npm | git-dummy-commit | <=1.3.0 | no fix listed |
Affected products
- https://github.com/stevemao git-dummy-commit
Classification
- Weakness
- CWE-78 Improper Neutralization of Special Elements used in an OS Command
References
- hackerone.com /reports/341710 · x_refsource_MISC, x_transferred
- nvd.nist.gov /vuln/detail/CVE-2018-3785 · advisory
- github.com /advisories/GHSA-h3c2-x77c-7pvr · advisory
Sources
- CVE List: CVE-2018-3785
- GitHub Advisory: GHSA-h3c2-x77c-7pvr
- NVD: CVE-2018-3785
vulnwire keeps one entry per vulnerability: the CVE id wins, then GHSA; records that alias each other are merged. Machine-readable: JSON.