CVE-2021-34083: Google-it - Command Injection
- Cve: CVE-2021-34083
- Name: Google-it - Command Injection
- 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.
- Impact: Attackers can execute arbitrary commands on the server remotely, potentially leading to full system compromise.
- Remediation: Update to version 1.6.3 or later.
- Vulnerability type: command_injection
- Vulnerability impact: remote_code_execution
- Requirement type: user_interaction
- Requirements: Attacker needs to send malicious search results
- Labels source: projectdiscovery
- Severity: high
- Cvss score: 8.1
- Cvss vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
- Epss score: 0.0211
- Epss percentile: 0.82271
- Assignee: [email protected]
- Published at: 2022-06-02T14:15:28Z
- Age in days: 1636
- Modified at: 2026-06-17T03:55:28Z
- Public exploits total: 3
- References total: 3
- Products total: 1
- Oss: yes
- Projects total: 1
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2021-34083
- Nvd status: modified
- Checked, none or zero: patch available, known exploited entries, nuclei templates, public exploits capped, rejected by nvd
- Not known: hackerone
Cwe
| Id | Name |
|---|---|
| CWE-78 | Improper Neutralization of Special Elements used in an OS Command |
Public exploits
Same in every row:
- Source: nvd
- Added date: 2022-06-02
| Url |
|---|
| https://advisory.checkmarx.net/advisory/CX-2021-4777 |
| https://github.com/PatNeedham/google-it/blob/v1.6.2/lib/googleIt.js#L59 |
| https://github.com/PatNeedham/google-it/blob/v1.6.2/src/googleIt.js#L34 |
References
Same in every row:
- Source: nvd
- Tags: Exploit, Third Party Advisory
| Url |
|---|
| https://advisory.checkmarx.net/advisory/CX-2021-4777 |
| https://github.com/PatNeedham/google-it/blob/v1.6.2/lib/googleIt.js#L59 |
| https://github.com/PatNeedham/google-it/blob/v1.6.2/src/googleIt.js#L34 |
Products
| Product | Affected | Platform bound | Sources | Url |
|---|---|---|---|---|
| google-it_project:google-it | <= 1.6.2 | no | nvd | /v1/products/google-it_project/google-it |
Projects
| Repository | Link kinds | Indexed | Url |
|---|---|---|---|
| PatNeedham/google-it | package | yes | /v1/repositories/PatNeedham/google-it |
Index
- Checked, none or zero: repositories, repositories high signal, packages
Exploitation
- Public exploit: yes
- Public exploit count: 3
- Public exploit first date: 2022-06-02
- Remote: yes
- Checked, none or zero: known exploited, known exploited by, exploitation seen, initial access, authentication required
- Not known: known exploited since, vulncheck known exploited since, nuclei template, initial access since, hackerone reports, exposed hosts