CVE-2021-34083
HIGH 8.1CVSS 3.1Command injection in google-it
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.
- Published
- 2 Jun 2022
- Last modified
- 17 Jun 2026
- Assigned by
- cve@mitre.org
- NVD status
- Modified
- Weakness
- CWE-74CWE-78
- Also known as
- GHSA-7xhv-mpjw-422f
- Sources
- NVDJSONOSV GHSA-7xhv-mpjw-422fJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | HIGH 8.1 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H |
| OSV | GitHub | CVSS 3.1 | HIGH 8.1 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H |
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | HIGH 9.3 | AV:N/AC:M/Au:N/C:C/I:C/A:C |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | google-it_project | google-itcpe:2.3:a:google-it_project:google-it:*:*:*:*:*:node.js:*:* |
<= 1.6.2 | |
| OSV | npm | google-it | <= 1.6.2 |
References
- https://advisory.checkmarx.net/advisory/CX-2021-4777 · Exploit, Third Party Advisory, WEB
- https://github.com/PatNeedham/google-it/blob/v1.6.2/lib/googleIt.js#L59 · Exploit, Third Party Advisory, WEB
- https://github.com/PatNeedham/google-it/blob/v1.6.2/src/googleIt.js#L34 · Exploit, Third Party Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2021-34083 · ADVISORY
- https://github.com/PatNeedham/google-it · PACKAGE
History
- 25 Nov 2026 20:34 UTC · NVD: first stored (published 2 Jun 2022)
- 25 Nov 2026 20:10 UTC · OSV: first stored (published 3 Jun 2022)