CVE-2019-10778 json
OS Command Injection in devcert-sanscache
published 6y ago modified 4mo ago also GHSA-4gp3-p7ph-x2jr , EUVD-2020-0364
- cvss
- 9.8
- version 3.1, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 3.5%
- EPSS 3.5% chance of exploitation in 30 days, percentile 89%
- public exploits
- 0
- none known
Summary
devcert-sanscache before 0.4.7 allows remote attackers to execute arbitrary code or cause a Command Injection via the exec function. The variable `commonName` controlled by user input is used as part of the `exec` function without any sanitization.
Patch / fix
- npm devcert-sanscache 0.4.7
- devcert-sanscache_project devcert-sanscache 0.4.7
Is CVE-2019-10778 in your dependencies? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.
Check with FencerExploit prediction
3.45% chance of exploitation in the next 30 days, higher than 89% of all scored CVEs (FIRST EPSS, 2026-11-09).
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 | 7.5 | AV:N/AC:L/Au:N/C:P/I:P/A:P |
| 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 | devcert-sanscache | <0.4.7 |
0.4.7 |
Affected products
- n/a devcert-sanscache
Classification
- Weakness
-
- CWE-78 Improper Neutralization of Special Elements used in an OS Command
References
-
snyk.io
/vuln/SNYK-JS-DEVCERTSANSCACHE-540926
web, patch, third-party-advisory
-
github.com
/guybedford/devcert/commit/571f4e6d077f7f21c6aed655ae380d85a7a5d3b8
web
-
nvd.nist.gov
/vuln/detail/CVE-2019-10778
advisory
Sources
- CVE List CVE-2019-10778
- GitHub Advisory GHSA-4gp3-p7ph-x2jr
- NVD CVE-2019-10778
Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.