{"id":"CVE-2021-34083","aliases":["EUVD-2022-5987","GHSA-7xhv-mpjw-422f"],"status":"published","title":"Command injection in google-it","description":"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.","severity":{"version":"3.1","score":8.1,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"high","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-09","score":0.0211,"percentile":0.81925,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":false},"cwes":["CWE-74","CWE-78"],"published":"2022-06-01T14:31:52Z","modified":"2026-10-20T10:54:45Z","affected":[{"source":"ghsa","ecosystem":"npm","package":"google-it","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"last_affected":"1.6.2"}]}]},{"source":"osv","ecosystem":"npm","package":"google-it","ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"last_affected":"1.6.2"}]}]}],"products":[{"vendor":"google-it_project","product":"google-it"}],"references":[{"url":"https://advisory.checkmarx.net/advisory/CX-2021-4777","tags":["x_refsource_MISC","x_transferred","Exploit","Third Party Advisory","evidence","web"]},{"url":"https://github.com/PatNeedham/google-it/blob/v1.6.2/lib/googleIt.js#L59","tags":["x_refsource_MISC","x_transferred","Exploit","Third Party Advisory","evidence","web"]},{"url":"https://github.com/PatNeedham/google-it/blob/v1.6.2/src/googleIt.js#L34","tags":["x_refsource_MISC","x_transferred","Exploit","Third Party Advisory","evidence","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2021-34083","tags":["advisory"]},{"url":"https://github.com/advisories/GHSA-7xhv-mpjw-422f"},{"url":"https://github.com/PatNeedham/google-it","tags":["package"]}],"sources":{"cve":[{"id":"CVE-2021-34083","description":"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.","status":"published","published":"2022-06-01T14:31:52Z","modified":"2024-08-04T00:05:52.447Z","updated_at":"2026-11-02T14:33:11.244759Z"}],"euvd":[{"id":"EUVD-2022-5987","description":"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.","status":"published","published":"2022-06-01T14:31:52Z","modified":"2024-08-04T00:05:52Z","updated_at":"2026-11-03T03:24:32.445199Z"}],"ghsa":[{"id":"GHSA-7xhv-mpjw-422f","title":"Command injection in google-it","description":"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.","status":"published","published":"2022-06-03T00:00:59Z","modified":"2023-01-27T05:03:25Z","cvss":[{"version":"3.1","score":8.1,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"high"}],"cwes":["CWE-74","CWE-78"],"updated_at":"2026-11-02T14:36:20.144464Z"}],"nvd":[{"id":"CVE-2021-34083","description":"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.","status":"published","published":"2022-06-02T14:15:28.97Z","modified":"2026-06-17T03:55:28.41Z","cvss":[{"version":"3.1","score":8.1,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"high","assessor":"primary"},{"version":"2.0","score":9.3,"vector":"AV:N/AC:M/Au:N/C:C/I:C/A:C","level":"high","assessor":"primary"}],"cwes":["CWE-78"],"updated_at":"2026-11-02T14:07:06.501652Z"}],"osv":[{"id":"CVE-2021-34083","description":"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.","status":"published","published":"2022-06-02T14:15:28.97Z","modified":"2026-10-20T10:54:45.200045756Z","cvss":[{"version":"3.1","score":8.1,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"high"}],"updated_at":"2026-11-02T15:44:20.13324Z"},{"id":"GHSA-7xhv-mpjw-422f","title":"Command injection in google-it","description":"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.","status":"published","published":"2022-06-03T00:00:59Z","modified":"2023-11-08T04:06:07.2047Z","cvss":[{"version":"3.1","score":8.1,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"high"}],"cwes":["CWE-74","CWE-78"],"updated_at":"2026-11-02T15:46:41.732368Z"}]}}
