Skip to content
Fencer Vulns
high 8.1

CVE-2021-34083 json

Command injection in google-it

published 2022-06-01 4 y ago modified 2026-06-17 4 mo ago also GHSA-7xhv-mpjw-422f , EUVD-2022-5987

cvss
8.1
version 3.1, NVD
cisa kev
Not listed
not in CISA's catalog
epss
2.1%
EPSS 2.1% chance of exploitation in 30 days, percentile 81%
public exploits
0
none known

Summary

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.

Exploit prediction

2.11% chance of exploitation in the next 30 days, higher than 81% of all scored CVEs (FIRST EPSS, 2026-11-08).

Exploits and checks

  • advisory.checkmarx.net https://advisory.checkmarx.net/advisory/CX-2021-4777 referenced PoC, tagged "exploit" by a source, unverified
  • github.com https://github.com/PatNeedham/google-it/blob/v1.6.2/lib/googleIt.js#L59 referenced PoC, tagged "exploit" by a source, unverified
  • github.com https://github.com/PatNeedham/google-it/blob/v1.6.2/src/googleIt.js#L34 referenced PoC, tagged "exploit" by a source, unverified

CVSS scores

assigned by version score vector
NVD 3.1 8.1 CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
NVD 2.0 9.3 AV:N/AC:M/Au:N/C:C/I:C/A:C
GitHub 3.1 8.1 CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H

Affected packages

ecosystem package affected fixed in
npm google-it
<=1.6.2
no fix listed

Classification

Weakness
  • CWE-78 Improper Neutralization of Special Elements used in an OS Command
  • CWE-74 Improper Neutralization of Special Elements in Output Used by a Downstream Component

References

Sources

Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.