gsd-2022-30321
Vulnerability from gsd
Modified
2023-12-13 01:19
Details
go-getter up to 1.5.11 and 2.0.2 allowed arbitrary host access via go-getter path traversal, symlink processing, and command injection flaws. Fixed in 1.6.1 and 2.1.0.
Aliases
Aliases



{
  "GSD": {
    "alias": "CVE-2022-30321",
    "description": "HashiCorp go-getter through 2.0.2 does not safely perform downloads (issue 1 of 3).",
    "id": "GSD-2022-30321",
    "references": [
      "https://access.redhat.com/errata/RHSA-2022:5673",
      "https://access.redhat.com/errata/RHSA-2022:5069",
      "https://access.redhat.com/errata/RHSA-2022:6133",
      "https://access.redhat.com/errata/RHSA-2022:6147",
      "https://access.redhat.com/errata/RHSA-2022:6258",
      "https://access.redhat.com/errata/RHSA-2022:6308",
      "https://access.redhat.com/errata/RHSA-2022:6801",
      "https://access.redhat.com/errata/RHSA-2022:6805",
      "https://access.redhat.com/errata/RHSA-2022:6905",
      "https://access.redhat.com/errata/RHSA-2022:7201",
      "https://access.redhat.com/errata/RHSA-2022:7211",
      "https://access.redhat.com/errata/RHSA-2022:7216",
      "https://access.redhat.com/errata/RHSA-2022:7874",
      "https://access.redhat.com/errata/RHSA-2022:9111"
    ]
  },
  "gsd": {
    "metadata": {
      "exploitCode": "unknown",
      "remediation": "unknown",
      "reportConfidence": "confirmed",
      "type": "vulnerability"
    },
    "osvSchema": {
      "aliases": [
        "CVE-2022-30321"
      ],
      "details": "go-getter up to 1.5.11 and 2.0.2 allowed arbitrary host access via go-getter path traversal, symlink processing, and command injection flaws. Fixed in 1.6.1 and 2.1.0.",
      "id": "GSD-2022-30321",
      "modified": "2023-12-13T01:19:37.070225Z",
      "schema_version": "1.4.0"
    }
  },
  "namespaces": {
    "cve.org": {
      "CVE_data_meta": {
        "ASSIGNER": "cve@mitre.org",
        "ID": "CVE-2022-30321",
        "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": "go-getter up to 1.5.11 and 2.0.2 allowed arbitrary host access via go-getter path traversal, symlink processing, and command injection flaws. Fixed in 1.6.1 and 2.1.0."
          }
        ]
      },
      "problemtype": {
        "problemtype_data": [
          {
            "description": [
              {
                "lang": "eng",
                "value": "n/a"
              }
            ]
          }
        ]
      },
      "references": {
        "reference_data": [
          {
            "name": "https://discuss.hashicorp.com",
            "refsource": "MISC",
            "url": "https://discuss.hashicorp.com"
          },
          {
            "name": "https://github.com/hashicorp/go-getter/releases",
            "refsource": "MISC",
            "url": "https://github.com/hashicorp/go-getter/releases"
          },
          {
            "name": "https://discuss.hashicorp.com/t/hcsec-2022-13-multiple-vulnerabilities-in-go-getter-library/39930",
            "refsource": "MISC",
            "url": "https://discuss.hashicorp.com/t/hcsec-2022-13-multiple-vulnerabilities-in-go-getter-library/39930"
          }
        ]
      }
    },
    "gitlab.com": {
      "advisories": [
        {
          "affected_range": "\u003cv1.6.1 || \u003e=v2.0.0 \u003cv2.1.0",
          "affected_versions": "All versions before 1.6.1, all versions starting from 2.0.0 before 2.1.0",
          "cwe_ids": [
            "CWE-1035",
            "CWE-937"
          ],
          "date": "2022-06-01",
          "description": "HashiCorp go-getter through 2.0.2 does not safely perform downloads (issue 1 of 3).",
          "fixed_versions": [
            "v1.6.1",
            "v2.1.0"
          ],
          "identifier": "CVE-2022-30321",
          "identifiers": [
            "GHSA-fcgg-rvwg-jv58",
            "CVE-2022-30321"
          ],
          "not_impacted": "All versions starting from 1.6.1 before 2.0.0, all versions starting from 2.1.0",
          "package_slug": "go/github.com/hashicorp/go-getter",
          "pubdate": "2022-05-26",
          "solution": "Upgrade to versions 1.6.1, 2.1.0 or above.",
          "title": "Unsafe downloads in HashiCorp go-getter",
          "urls": [
            "https://nvd.nist.gov/vuln/detail/CVE-2022-30321",
            "https://discuss.hashicorp.com/t/hcsec-2022-13-multiple-vulnerabilities-in-go-getter-library/39930",
            "https://github.com/advisories/GHSA-fcgg-rvwg-jv58"
          ],
          "uuid": "e176cdfb-72f7-419c-9717-92288cf18a2f",
          "versions": [
            {
              "commit": {
                "sha": "0054847f032d201611cb592762fc6fd4fbfd5e9d",
                "tags": [
                  "v2.0.0"
                ],
                "timestamp": "20210104150104"
              },
              "number": "v2.0.0"
            },
            {
              "commit": {
                "sha": "f710948d90b08a7a6914c9267c8a65f57f361159",
                "tags": [
                  "v1.6.1"
                ],
                "timestamp": "20220519173544"
              },
              "number": "v1.6.1"
            },
            {
              "commit": {
                "sha": "31c3313ffd18b389e238d3edb9a00c951bd829e2",
                "tags": [
                  "v2.1.0"
                ],
                "timestamp": "20220523170440"
              },
              "number": "v2.1.0"
            }
          ]
        },
        {
          "affected_range": "\u003cv2.1.0",
          "affected_versions": "All versions before 2.1.0",
          "cvss_v2": "AV:N/AC:L/Au:N/C:P/I:P/A:P",
          "cvss_v3": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:H",
          "cwe_ids": [
            "CWE-1035",
            "CWE-937"
          ],
          "date": "2023-02-09",
          "description": "go-getter up to 1.5.11 and 2.0.2 allowed arbitrary host access via go-getter path traversal, symlink processing, and command injection flaws. Fixed in 1.6.1 and 2.1.0.",
          "fixed_versions": [
            "v2.1.0"
          ],
          "identifier": "CVE-2022-30321",
          "identifiers": [
            "GHSA-fcgg-rvwg-jv58",
            "CVE-2022-30321"
          ],
          "not_impacted": "All versions starting from 2.1.0",
          "package_slug": "go/github.com/hashicorp/go-getter/gcs/v2",
          "pubdate": "2022-05-26",
          "solution": "Upgrade to version 2.1.0 or above.",
          "title": "HashiCorp go-getter unsafe downloads",
          "urls": [
            "https://nvd.nist.gov/vuln/detail/CVE-2022-30321",
            "https://discuss.hashicorp.com/t/hcsec-2022-13-multiple-vulnerabilities-in-go-getter-library/39930",
            "https://discuss.hashicorp.com",
            "https://github.com/hashicorp/go-getter/releases",
            "https://github.com/hashicorp/go-getter/pull/359",
            "https://github.com/hashicorp/go-getter/pull/361",
            "https://github.com/hashicorp/go-getter/commit/38e97387488f5439616be60874979433a12edb48",
            "https://github.com/hashicorp/go-getter/commit/a2ebce998f8d4105bd4b78d6c99a12803ad97a45",
            "https://pkg.go.dev/vuln/GO-2022-0586",
            "https://github.com/advisories/GHSA-fcgg-rvwg-jv58"
          ],
          "uuid": "a8f464d3-4b70-41b1-9d43-fd7d54b06a3b",
          "versions": [
            {
              "commit": {
                "sha": "31c3313ffd18b389e238d3edb9a00c951bd829e2",
                "tags": [
                  "v2.1.0"
                ],
                "timestamp": "20220523170440"
              },
              "number": "v2.1.0"
            }
          ]
        },
        {
          "affected_range": "\u003cv2.1.0",
          "affected_versions": "All versions before 2.1.0",
          "cvss_v2": "AV:N/AC:L/Au:N/C:P/I:P/A:P",
          "cvss_v3": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:H",
          "cwe_ids": [
            "CWE-1035",
            "CWE-937"
          ],
          "date": "2023-02-09",
          "description": "go-getter up to 1.5.11 and 2.0.2 allowed arbitrary host access via go-getter path traversal, symlink processing, and command injection flaws. Fixed in 1.6.1 and 2.1.0.",
          "fixed_versions": [
            "v2.1.0"
          ],
          "identifier": "CVE-2022-30321",
          "identifiers": [
            "GHSA-fcgg-rvwg-jv58",
            "CVE-2022-30321"
          ],
          "not_impacted": "All versions starting from 2.1.0",
          "package_slug": "go/github.com/hashicorp/go-getter/s3/v2",
          "pubdate": "2022-05-26",
          "solution": "Upgrade to version 2.1.0 or above.",
          "title": "HashiCorp go-getter unsafe downloads",
          "urls": [
            "https://nvd.nist.gov/vuln/detail/CVE-2022-30321",
            "https://discuss.hashicorp.com/t/hcsec-2022-13-multiple-vulnerabilities-in-go-getter-library/39930",
            "https://discuss.hashicorp.com",
            "https://github.com/hashicorp/go-getter/releases",
            "https://github.com/hashicorp/go-getter/pull/359",
            "https://github.com/hashicorp/go-getter/pull/361",
            "https://github.com/hashicorp/go-getter/commit/38e97387488f5439616be60874979433a12edb48",
            "https://github.com/hashicorp/go-getter/commit/a2ebce998f8d4105bd4b78d6c99a12803ad97a45",
            "https://pkg.go.dev/vuln/GO-2022-0586",
            "https://github.com/advisories/GHSA-fcgg-rvwg-jv58"
          ],
          "uuid": "49e3dcc2-39a4-440d-8506-71085bad113e",
          "versions": [
            {
              "commit": {
                "sha": "31c3313ffd18b389e238d3edb9a00c951bd829e2",
                "tags": [
                  "v2.1.0"
                ],
                "timestamp": "20220523170440"
              },
              "number": "v2.1.0"
            }
          ]
        },
        {
          "affected_range": "\u003cv2.1.0",
          "affected_versions": "All versions before 2.1.0",
          "cvss_v2": "AV:N/AC:L/Au:N/C:P/I:P/A:P",
          "cvss_v3": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:H",
          "cwe_ids": [
            "CWE-1035",
            "CWE-937"
          ],
          "date": "2023-02-09",
          "description": "go-getter up to 1.5.11 and 2.0.2 allowed arbitrary host access via go-getter path traversal, symlink processing, and command injection flaws. Fixed in 1.6.1 and 2.1.0.",
          "fixed_versions": [
            "v2.1.0"
          ],
          "identifier": "CVE-2022-30321",
          "identifiers": [
            "GHSA-fcgg-rvwg-jv58",
            "CVE-2022-30321"
          ],
          "not_impacted": "All versions starting from 2.1.0",
          "package_slug": "go/github.com/hashicorp/go-getter/v2",
          "pubdate": "2022-05-26",
          "solution": "Upgrade to version 2.1.0 or above.",
          "title": "HashiCorp go-getter unsafe downloads",
          "urls": [
            "https://nvd.nist.gov/vuln/detail/CVE-2022-30321",
            "https://discuss.hashicorp.com/t/hcsec-2022-13-multiple-vulnerabilities-in-go-getter-library/39930",
            "https://discuss.hashicorp.com",
            "https://github.com/hashicorp/go-getter/releases",
            "https://github.com/hashicorp/go-getter/pull/359",
            "https://github.com/hashicorp/go-getter/pull/361",
            "https://github.com/hashicorp/go-getter/commit/38e97387488f5439616be60874979433a12edb48",
            "https://github.com/hashicorp/go-getter/commit/a2ebce998f8d4105bd4b78d6c99a12803ad97a45",
            "https://pkg.go.dev/vuln/GO-2022-0586",
            "https://github.com/advisories/GHSA-fcgg-rvwg-jv58"
          ],
          "uuid": "d03ad923-24c7-4cfd-941c-90c29e2af378",
          "versions": [
            {
              "commit": {
                "sha": "31c3313ffd18b389e238d3edb9a00c951bd829e2",
                "tags": [
                  "v2.1.0"
                ],
                "timestamp": "20220523170440"
              },
              "number": "v2.1.0"
            }
          ]
        }
      ]
    },
    "nvd.nist.gov": {
      "configurations": {
        "CVE_data_version": "4.0",
        "nodes": [
          {
            "children": [],
            "cpe_match": [
              {
                "cpe23Uri": "cpe:2.3:a:hashicorp:go-getter:2.0.2:*:*:*:*:*:*:*",
                "cpe_name": [],
                "vulnerable": true
              },
              {
                "cpe23Uri": "cpe:2.3:a:hashicorp:go-getter:*:*:*:*:*:*:*:*",
                "cpe_name": [],
                "versionEndIncluding": "1.5.11",
                "vulnerable": true
              }
            ],
            "operator": "OR"
          }
        ]
      },
      "cve": {
        "CVE_data_meta": {
          "ASSIGNER": "cve@mitre.org",
          "ID": "CVE-2022-30321"
        },
        "data_format": "MITRE",
        "data_type": "CVE",
        "data_version": "4.0",
        "description": {
          "description_data": [
            {
              "lang": "en",
              "value": "go-getter up to 1.5.11 and 2.0.2 allowed arbitrary host access via go-getter path traversal, symlink processing, and command injection flaws. Fixed in 1.6.1 and 2.1.0."
            }
          ]
        },
        "problemtype": {
          "problemtype_data": [
            {
              "description": [
                {
                  "lang": "en",
                  "value": "NVD-CWE-noinfo"
                }
              ]
            }
          ]
        },
        "references": {
          "reference_data": [
            {
              "name": "https://discuss.hashicorp.com/t/hcsec-2022-13-multiple-vulnerabilities-in-go-getter-library/39930",
              "refsource": "MISC",
              "tags": [
                "Vendor Advisory"
              ],
              "url": "https://discuss.hashicorp.com/t/hcsec-2022-13-multiple-vulnerabilities-in-go-getter-library/39930"
            },
            {
              "name": "https://discuss.hashicorp.com",
              "refsource": "MISC",
              "tags": [
                "Vendor Advisory"
              ],
              "url": "https://discuss.hashicorp.com"
            },
            {
              "name": "https://github.com/hashicorp/go-getter/releases",
              "refsource": "MISC",
              "tags": [
                "Release Notes",
                "Third Party Advisory"
              ],
              "url": "https://github.com/hashicorp/go-getter/releases"
            }
          ]
        }
      },
      "impact": {
        "baseMetricV2": {
          "acInsufInfo": false,
          "cvssV2": {
            "accessComplexity": "LOW",
            "accessVector": "NETWORK",
            "authentication": "NONE",
            "availabilityImpact": "PARTIAL",
            "baseScore": 7.5,
            "confidentialityImpact": "PARTIAL",
            "integrityImpact": "PARTIAL",
            "vectorString": "AV:N/AC:L/Au:N/C:P/I:P/A:P",
            "version": "2.0"
          },
          "exploitabilityScore": 10.0,
          "impactScore": 6.4,
          "obtainAllPrivilege": false,
          "obtainOtherPrivilege": false,
          "obtainUserPrivilege": false,
          "severity": "HIGH",
          "userInteractionRequired": false
        },
        "baseMetricV3": {
          "cvssV3": {
            "attackComplexity": "LOW",
            "attackVector": "NETWORK",
            "availabilityImpact": "HIGH",
            "baseScore": 8.6,
            "baseSeverity": "HIGH",
            "confidentialityImpact": "LOW",
            "integrityImpact": "LOW",
            "privilegesRequired": "NONE",
            "scope": "UNCHANGED",
            "userInteraction": "NONE",
            "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:H",
            "version": "3.1"
          },
          "exploitabilityScore": 3.9,
          "impactScore": 4.7
        }
      },
      "lastModifiedDate": "2022-11-21T16:33Z",
      "publishedDate": "2022-05-25T12:15Z"
    }
  }
}


Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Sightings

Author Source Type Date

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or seen somewhere by the user.
  • Confirmed: The vulnerability is confirmed from an analyst perspective.
  • Exploited: This vulnerability was exploited and seen by the user reporting the sighting.
  • Patched: This vulnerability was successfully patched by the user reporting the sighting.
  • Not exploited: This vulnerability was not exploited or seen by the user reporting the sighting.
  • Not confirmed: The user expresses doubt about the veracity of the vulnerability.
  • Not patched: This vulnerability was not successfully patched by the user reporting the sighting.