Advisory Database
  • Advisories
  • Dependency Scanning
  1. npm
  2. ›
  3. google-it
  4. ›
  5. CVE-2021-34083

CVE-2021-34083: Command injection in google-it

June 3, 2022

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.

References

  • advisory.checkmarx.net/advisory/CX-2021-4777
  • github.com/PatNeedham/google-it/blob/v1.6.2/lib/googleIt.js
  • github.com/PatNeedham/google-it/blob/v1.6.2/src/googleIt.js
  • github.com/advisories/GHSA-7xhv-mpjw-422f
  • nvd.nist.gov/vuln/detail/CVE-2021-34083

Code Behaviors & Features

Detect and mitigate CVE-2021-34083 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions up to 1.6.2

Solution

Unfortunately, there is no solution available yet.

Impact 8.1 HIGH

CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H

Learn more about CVSS

Source file

npm/google-it/CVE-2021-34083.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:15:16 +0000.