Vulnerability · Published Jun 1, 2022 · Assigned by mitre
CVE-2021-34083
High 8.1
In plain English
A high-severity security flaw in the google-it package (npm). There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 2.1% (higher than 82% of all known vulnerabilities).
Severity (CVSS NVD)8.1High
Exploit odds (30 days)2.1%top 18.1% of all CVEs
Exploited in the wildNo reportsnot in CISA KEV
Attack toolingNoneno public tooling known
Official 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 packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| npm | google-it | no fix listed | GHSA-7xhv-mpjw-422f |
Affected products (as reported)
References
- https://advisory.checkmarx.net/advisory/CX-2021-4777 x_refsource_MISC
- https://github.com/PatNeedham/google-it/blob/v1.6.2/lib/googleIt.js#L59 x_refsource_MISC
- https://github.com/PatNeedham/google-it/blob/v1.6.2/src/googleIt.js#L34 x_refsource_MISC