CVE-2019-10796 json
OS Command Injection in rpi
published 6y ago modified 4mo ago also GHSA-vf26-7gjf-f92r , EUVD-2021-0878
- cvss
- 9.8
- version 3.1, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 2.8%
- EPSS 2.8% chance of exploitation in 30 days, percentile 86%
- public exploits
- 0
- none known
Summary
rpi through 0.0.3 allows execution of arbritary commands. The variable pinNumbver in function GPIO within src/lib/gpio.js is used as part of the arguement of exec function without any sanitization.
Is CVE-2019-10796 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
2.76% chance of exploitation in the next 30 days, higher than 86% of all scored CVEs (FIRST EPSS, 2026-11-09).
Exploits and checks
- github.com https://github.com/xseignard/rpi/blob/master/src/lib/gpio.js#L47 referenced PoC, tagged "exploit" by a source, unverified
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 | 6.8 | AV:N/AC:M/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 | rpi | <=0.0.3 |
no fix listed |
Affected products
- n/a rpi
Classification
- Weakness
-
- CWE-78 Improper Neutralization of Special Elements used in an OS Command
References
-
github.com
/xseignard/rpi/blob/master/src/lib/gpio.js#L47
web, exploit, third-party-advisory
-
snyk.io
/vuln/SNYK-JS-RPI-548942
web, third-party-advisory
-
nvd.nist.gov
/vuln/detail/CVE-2019-10796
advisory
Sources
- CVE List CVE-2019-10796
- GitHub Advisory GHSA-vf26-7gjf-f92r
- NVD CVE-2019-10796
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.