GitHub Advisoryadvisory · npm

GHSA-7xhv-mpjw-422f Command injection in google-it

HIGH Published 2022-06-03 Modified 2022-06-15 Official page ↗
Aliases
CVE-2021-34083
Ecosystem
npm
Packages
google-it
Severity
High
CVSS vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
Weaknesses
CWE-74, CWE-78
Reviewed
2022-06-03

Affected packages

• npm google-it: <= 1.6.2 (no fix yet)

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.

Related

Alias · CVE (1)

  • CVE-2021-34083 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. vulnerability

Weakness · CWE (2)

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

References