Description (CNA)
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.
Affected (CNA)
| Vendor / product | Versions |
|---|---|
| n/a / rpi | affected All versions including 0.0.3 |
CWE
No CWE identifiers supplied.
References
- https://github.com/xseignard/rpi/blob/master/src/lib/gpio.js#L47
- https://snyk.io/vuln/SNYK-JS-RPI-548942
ADP enrichment
No English description supplied.