GSD-2021-34083

Vulnerability from gsd - Updated: 2023-12-13 01:23
Details
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.
Aliases
Aliases

{
  "GSD": {
    "alias": "CVE-2021-34083",
    "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 \u0027Open in browser\u0027 option in versions up to 1.6.2, google-it will unsafely concat the result\u0027s link retrieved from google to a shell command, potentially exposing the server to RCE.",
    "id": "GSD-2021-34083"
  },
  "gsd": {
    "metadata": {
      "exploitCode": "unknown",
      "remediation": "unknown",
      "reportConfidence": "confirmed",
      "type": "vulnerability"
    },
    "osvSchema": {
      "aliases": [
        "CVE-2021-34083"
      ],
      "details": "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 \u0027Open in browser\u0027 option in versions up to 1.6.2, google-it will unsafely concat the result\u0027s link retrieved from google to a shell command, potentially exposing the server to RCE.",
      "id": "GSD-2021-34083",
      "modified": "2023-12-13T01:23:14.177962Z",
      "schema_version": "1.4.0"
    }
  },
  "namespaces": {
    "cve.org": {
      "CVE_data_meta": {
        "ASSIGNER": "cve@mitre.org",
        "ID": "CVE-2021-34083",
        "STATE": "PUBLIC"
      },
      "affects": {
        "vendor": {
          "vendor_data": [
            {
              "product": {
                "product_data": [
                  {
                    "product_name": "n/a",
                    "version": {
                      "version_data": [
                        {
                          "version_value": "n/a"
                        }
                      ]
                    }
                  }
                ]
              },
              "vendor_name": "n/a"
            }
          ]
        }
      },
      "data_format": "MITRE",
      "data_type": "CVE",
      "data_version": "4.0",
      "description": {
        "description_data": [
          {
            "lang": "eng",
            "value": "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 \u0027Open in browser\u0027 option in versions up to 1.6.2, google-it will unsafely concat the result\u0027s link retrieved from google to a shell command, potentially exposing the server to RCE."
          }
        ]
      },
      "problemtype": {
        "problemtype_data": [
          {
            "description": [
              {
                "lang": "eng",
                "value": "n/a"
              }
            ]
          }
        ]
      },
      "references": {
        "reference_data": [
          {
            "name": "https://advisory.checkmarx.net/advisory/CX-2021-4777",
            "refsource": "MISC",
            "url": "https://advisory.checkmarx.net/advisory/CX-2021-4777"
          },
          {
            "name": "https://github.com/PatNeedham/google-it/blob/v1.6.2/lib/googleIt.js#L59",
            "refsource": "MISC",
            "url": "https://github.com/PatNeedham/google-it/blob/v1.6.2/lib/googleIt.js#L59"
          },
          {
            "name": "https://github.com/PatNeedham/google-it/blob/v1.6.2/src/googleIt.js#L34",
            "refsource": "MISC",
            "url": "https://github.com/PatNeedham/google-it/blob/v1.6.2/src/googleIt.js#L34"
          }
        ]
      }
    },
    "gitlab.com": {
      "advisories": [
        {
          "affected_range": "\u003c=1.6.2",
          "affected_versions": "All versions up to 1.6.2",
          "cwe_ids": [
            "CWE-1035",
            "CWE-937"
          ],
          "date": "2022-06-03",
          "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 \u0027Open in browser\u0027 option in versions up to 1.6.2, google-it will unsafely concat the result\u0027s link retrieved from google to a shell command, potentially exposing the server to RCE.",
          "fixed_versions": [],
          "identifier": "CVE-2021-34083",
          "identifiers": [
            "GHSA-7xhv-mpjw-422f",
            "CVE-2021-34083"
          ],
          "not_impacted": "",
          "package_slug": "npm/google-it",
          "pubdate": "2022-06-03",
          "solution": "Unfortunately, there is no solution available yet.",
          "title": "Command injection in google-it",
          "urls": [
            "https://nvd.nist.gov/vuln/detail/CVE-2021-34083",
            "https://advisory.checkmarx.net/advisory/CX-2021-4777",
            "https://github.com/PatNeedham/google-it/blob/v1.6.2/lib/googleIt.js#L59",
            "https://github.com/PatNeedham/google-it/blob/v1.6.2/src/googleIt.js#L34",
            "https://github.com/advisories/GHSA-7xhv-mpjw-422f"
          ],
          "uuid": "81a2f1e0-b46f-4395-b95f-93848113c7d1"
        }
      ]
    },
    "nvd.nist.gov": {
      "configurations": {
        "CVE_data_version": "4.0",
        "nodes": [
          {
            "children": [],
            "cpe_match": [
              {
                "cpe23Uri": "cpe:2.3:a:google-it_project:google-it:*:*:*:*:*:node.js:*:*",
                "cpe_name": [],
                "versionEndIncluding": "1.6.2",
                "vulnerable": true
              }
            ],
            "operator": "OR"
          }
        ]
      },
      "cve": {
        "CVE_data_meta": {
          "ASSIGNER": "cve@mitre.org",
          "ID": "CVE-2021-34083"
        },
        "data_format": "MITRE",
        "data_type": "CVE",
        "data_version": "4.0",
        "description": {
          "description_data": [
            {
              "lang": "en",
              "value": "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 \u0027Open in browser\u0027 option in versions up to 1.6.2, google-it will unsafely concat the result\u0027s link retrieved from google to a shell command, potentially exposing the server to RCE."
            }
          ]
        },
        "problemtype": {
          "problemtype_data": [
            {
              "description": [
                {
                  "lang": "en",
                  "value": "CWE-78"
                }
              ]
            }
          ]
        },
        "references": {
          "reference_data": [
            {
              "name": "https://github.com/PatNeedham/google-it/blob/v1.6.2/src/googleIt.js#L34",
              "refsource": "MISC",
              "tags": [
                "Exploit",
                "Third Party Advisory"
              ],
              "url": "https://github.com/PatNeedham/google-it/blob/v1.6.2/src/googleIt.js#L34"
            },
            {
              "name": "https://github.com/PatNeedham/google-it/blob/v1.6.2/lib/googleIt.js#L59",
              "refsource": "MISC",
              "tags": [
                "Exploit",
                "Third Party Advisory"
              ],
              "url": "https://github.com/PatNeedham/google-it/blob/v1.6.2/lib/googleIt.js#L59"
            },
            {
              "name": "https://advisory.checkmarx.net/advisory/CX-2021-4777",
              "refsource": "MISC",
              "tags": [
                "Exploit",
                "Third Party Advisory"
              ],
              "url": "https://advisory.checkmarx.net/advisory/CX-2021-4777"
            }
          ]
        }
      },
      "impact": {
        "baseMetricV2": {
          "acInsufInfo": false,
          "cvssV2": {
            "accessComplexity": "MEDIUM",
            "accessVector": "NETWORK",
            "authentication": "NONE",
            "availabilityImpact": "COMPLETE",
            "baseScore": 9.3,
            "confidentialityImpact": "COMPLETE",
            "integrityImpact": "COMPLETE",
            "vectorString": "AV:N/AC:M/Au:N/C:C/I:C/A:C",
            "version": "2.0"
          },
          "exploitabilityScore": 8.6,
          "impactScore": 10.0,
          "obtainAllPrivilege": false,
          "obtainOtherPrivilege": false,
          "obtainUserPrivilege": false,
          "severity": "HIGH",
          "userInteractionRequired": false
        },
        "baseMetricV3": {
          "cvssV3": {
            "attackComplexity": "HIGH",
            "attackVector": "NETWORK",
            "availabilityImpact": "HIGH",
            "baseScore": 8.1,
            "baseSeverity": "HIGH",
            "confidentialityImpact": "HIGH",
            "integrityImpact": "HIGH",
            "privilegesRequired": "NONE",
            "scope": "UNCHANGED",
            "userInteraction": "NONE",
            "vectorString": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H",
            "version": "3.1"
          },
          "exploitabilityScore": 2.2,
          "impactScore": 5.9
        }
      },
      "lastModifiedDate": "2022-06-09T18:17Z",
      "publishedDate": "2022-06-02T14:15Z"
    }
  }
}



Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Drag nodes to arrange them. Double-click a related vulnerability to open it, or a source to visit its link. The Physics button on the left tunes the layout and the simulation; the legend at the bottom left hides or shows nodes by kind and by sighting type.

Forecast uses a logistic model when the trend is rising, or an exponential decay model when the trend is falling. Fitted via linearized least squares.

Sightings

Author Source Type Date Other

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or observed by the user.
  • Confirmed: The vulnerability has been validated from an analyst's perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
  • Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
  • Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
  • Not confirmed: The user expressed doubt about the validity of the vulnerability.
  • Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.
Vulnerability timeline

Sightings and recorded dates, grouped by day · UTC

JSON
Events included in the timeline

Loading timeline…


    Loading…

    Loading…

    Loading…

    Related by attack behaviour

    Vulnerabilities whose description is nearest to this one in the vector space of the CIRCL/vulnerability-attack-technique-biencoder model. This is a similarity search over the bi-encoder space (plain cosine), not a classification, and it has no measured accuracy.