{"id":"GHSA-rhwp-9vm9-547q","summary":"Command Injection in onion-oled-js","details":"This affects all versions up to and including version 0.0.2 of package onion-oled-js. If attacker-controlled user input is given to the scroll function, it is possible for an attacker to execute arbitrary commands. This is due to use of the child_process exec function without input sanitization.","aliases":["CVE-2021-23377"],"modified":"2023-11-08T04:05:06.044676Z","published":"2021-05-07T16:06:16Z","database_specific":{"nvd_published_at":"2021-04-18T19:15:00Z","cwe_ids":["CWE-77"],"severity":"CRITICAL","github_reviewed":true,"github_reviewed_at":"2021-05-06T22:33:55Z"},"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-23377"},{"type":"PACKAGE","url":"https://github.com/naddeoa/onion-oled-js"},{"type":"WEB","url":"https://github.com/naddeoa/onion-oled-js/blob/8a523645d2cc29130f98de661b742893773d760d/src/oled-exp.js#23L91"},{"type":"WEB","url":"https://snyk.io/vuln/SNYK-JS-ONIONOLEDJS-1078808"}],"affected":[{"package":{"name":"onion-oled-js","ecosystem":"npm","purl":"pkg:npm/onion-oled-js"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"last_affected":"0.0.2"}]}],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2021/05/GHSA-rhwp-9vm9-547q/GHSA-rhwp-9vm9-547q.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"}]}