8.1high
Command injection in google-it
- Severity
- 8.1high CVSS:3.1 by NVD
- Exploit likelihood
- 2.11% (higher than 82% of CVEs)
- Published
- Last changed
- Assigned by
- mitre
- Also known as
- GHSA-7xhv-mpjw-422f
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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| Unspecified product | n/a | CVE List |
| google-it (npm) | up to 1.6.2 | GitHub Advisory Database |
| google-it_project google-it | up to 1.6.2 | NVD |
All scores
| GitHub | 8.1high CVSS:3.1 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H |
| NVD | 8.1high CVSS:3.1 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H |
| NVD | 9.3high CVSS:2.0 | AV:N/AC:M/Au:N/C:C/I:C/A:C |
Classification
What each source says
CVE List
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.
NVD (es)
Google-it es un paquete Node.js que permite a sus usuarios enviar consultas de búsqueda a Google y recibir los resultados en formato JSON. Cuando es usada la opción "Open in browser" en las versiones hasta la 1.6.2, google-it con catará de forma insegura el enlace del resultado recuperado de google con un comando de shell, exponiendo potencialmente el servidor a RCE
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 | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2021-34083 changed 2024-08-04 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-7xhv-mpjw-422f changed 2023-11-08 | CC-BY-4.0 |
| NVD | CVE-2021-34083 changed 2026-06-17 | Public domain |