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.
The product constructs all or part of an OS command using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the intended OS command when it is sent to a downstream component.
Link | Tags |
---|---|
https://github.com/xseignard/rpi/blob/master/src/lib/gpio.js#L47 | third party advisory exploit |
https://snyk.io/vuln/SNYK-JS-RPI-548942 | third party advisory |