GHSA-vf26-7gjf-f92r
Dashboard / Vulnerabilities / 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.
References: https://nvd.nist.gov/vuln/detail/CVE-2019-10796, https://github.com/xseignard/rpi/blob/master/src/lib/gpio.js#L47, https://snyk.io/vuln/SNYK-JS-RPI-548942
Affected packages
Package
Name: rpi
Purl: pkg:npm/rpi
Affected ranges
Type: SEMVER
Events:
Introduced- 0
Fixed -None
Affected versions
Common Vulnerability Scoring System
Attack Vector
Network
Adjacent
Local
Physical
Privileges Required
None
Low
High
User Interaction
None
Required
Scope
Unchanged
Changed
Confidentiality
None
Low
High
Integrity
None
Low
High
Availability
None
Low
High
