{"id":"GHSA-vf26-7gjf-f92r","summary":"OS Command Injection in rpi","details":"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.","aliases":["CVE-2019-10796"],"modified":"2026-03-13T22:11:43.826067Z","published":"2021-04-13T15:23:29Z","database_specific":{"severity":"MODERATE","github_reviewed":true,"github_reviewed_at":"2021-04-08T20:03:52Z","nvd_published_at":"2020-02-24T18:15:00Z","cwe_ids":["CWE-78"]},"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2019-10796"},{"type":"WEB","url":"https://github.com/xseignard/rpi/blob/master/src/lib/gpio.js#L47"},{"type":"WEB","url":"https://snyk.io/vuln/SNYK-JS-RPI-548942"}],"affected":[{"package":{"name":"rpi","ecosystem":"npm","purl":"pkg:npm/rpi"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"last_affected":"0.0.3"}]}],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2021/04/GHSA-vf26-7gjf-f92r/GHSA-vf26-7gjf-f92r.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"}]}