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.
{
"nvd_published_at": "2020-02-24T18:15:00Z",
"severity": "MODERATE",
"cwe_ids": [
"CWE-78"
],
"github_reviewed": true,
"github_reviewed_at": "2021-04-08T20:03:52Z"
}