{"id":"GHSA-7xhv-mpjw-422f","summary":"Command injection in google-it","details":"Google-it is a Node.js package which allows its users to send search queries to Google and receive the results in a JSON format. When using the 'Open in browser' option in versions up to 1.6.2, google-it will unsafely concat the result's link retrieved from google to a shell command, potentially exposing the server to RCE.","aliases":["CVE-2021-34083"],"modified":"2023-11-08T04:06:07.204700Z","published":"2022-06-03T00:00:59Z","database_specific":{"nvd_published_at":"2022-06-02T14:15:00Z","cwe_ids":["CWE-74","CWE-78"],"severity":"HIGH","github_reviewed":true,"github_reviewed_at":"2022-06-03T22:23:45Z"},"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-34083"},{"type":"WEB","url":"https://advisory.checkmarx.net/advisory/CX-2021-4777"},{"type":"PACKAGE","url":"https://github.com/PatNeedham/google-it"},{"type":"WEB","url":"https://github.com/PatNeedham/google-it/blob/v1.6.2/lib/googleIt.js#L59"},{"type":"WEB","url":"https://github.com/PatNeedham/google-it/blob/v1.6.2/src/googleIt.js#L34"}],"affected":[{"package":{"name":"google-it","ecosystem":"npm","purl":"pkg:npm/google-it"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"last_affected":"1.6.2"}]}],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/06/GHSA-7xhv-mpjw-422f/GHSA-7xhv-mpjw-422f.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H"}]}