fkie_cve-2022-32190
Vulnerability from fkie_nvd
Published
2022-09-13 18:15
Modified
2024-11-21 07:05
Summary
JoinPath and URL.JoinPath do not remove ../ path elements appended to a relative path. For example, JoinPath("https://go.dev", "../go") returns the URL "https://go.dev/../go", despite the JoinPath documentation stating that ../ path elements are removed from the result.
Impacted products
Vendor Product Version
golang go 1.19.0
golang go 1.19.0
golang go 1.19.0
golang go 1.19.0



{
  "configurations": [
    {
      "nodes": [
        {
          "cpeMatch": [
            {
              "criteria": "cpe:2.3:a:golang:go:1.19.0:-:*:*:*:*:*:*",
              "matchCriteriaId": "897B57CA-3B3C-4481-AB48-0DC0F9F7E88D",
              "vulnerable": true
            },
            {
              "criteria": "cpe:2.3:a:golang:go:1.19.0:beta1:*:*:*:*:*:*",
              "matchCriteriaId": "B24A1D2C-FF92-4C87-8377-41386988C5B4",
              "vulnerable": true
            },
            {
              "criteria": "cpe:2.3:a:golang:go:1.19.0:rc1:*:*:*:*:*:*",
              "matchCriteriaId": "724EF8B4-9AA2-45CB-B55B-4697CC6D8353",
              "vulnerable": true
            },
            {
              "criteria": "cpe:2.3:a:golang:go:1.19.0:rc2:*:*:*:*:*:*",
              "matchCriteriaId": "438A873A-3DAC-47BD-9919-2DFAC5C1F767",
              "vulnerable": true
            }
          ],
          "negate": false,
          "operator": "OR"
        }
      ]
    }
  ],
  "cveTags": [],
  "descriptions": [
    {
      "lang": "en",
      "value": "JoinPath and URL.JoinPath do not remove ../ path elements appended to a relative path. For example, JoinPath(\"https://go.dev\", \"../go\") returns the URL \"https://go.dev/../go\", despite the JoinPath documentation stating that ../ path elements are removed from the result."
    },
    {
      "lang": "es",
      "value": "JoinPath y URL.JoinPath no eliminan los elementos de ruta ../ anexados a una ruta relativa. Por ejemplo, JoinPath(\"https://go.dev\", \"../go\") devuelve la URL \"https://go.dev/../go\", a pesar de que la documentaci\u00f3n de JoinPath indica que los elementos de ruta ../ son eliminados del resultado"
    }
  ],
  "id": "CVE-2022-32190",
  "lastModified": "2024-11-21T07:05:53.640",
  "metrics": {
    "cvssMetricV31": [
      {
        "cvssData": {
          "attackComplexity": "LOW",
          "attackVector": "NETWORK",
          "availabilityImpact": "NONE",
          "baseScore": 7.5,
          "baseSeverity": "HIGH",
          "confidentialityImpact": "HIGH",
          "integrityImpact": "NONE",
          "privilegesRequired": "NONE",
          "scope": "UNCHANGED",
          "userInteraction": "NONE",
          "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N",
          "version": "3.1"
        },
        "exploitabilityScore": 3.9,
        "impactScore": 3.6,
        "source": "nvd@nist.gov",
        "type": "Primary"
      }
    ]
  },
  "published": "2022-09-13T18:15:14.507",
  "references": [
    {
      "source": "security@golang.org",
      "tags": [
        "Patch",
        "Release Notes"
      ],
      "url": "https://go.dev/cl/423514"
    },
    {
      "source": "security@golang.org",
      "tags": [
        "Issue Tracking",
        "Patch",
        "Vendor Advisory"
      ],
      "url": "https://go.dev/issue/54385"
    },
    {
      "source": "security@golang.org",
      "tags": [
        "Mailing List",
        "Third Party Advisory"
      ],
      "url": "https://groups.google.com/g/golang-announce/c/x49AQzIVX-s"
    },
    {
      "source": "security@golang.org",
      "tags": [
        "Issue Tracking",
        "Patch",
        "Vendor Advisory"
      ],
      "url": "https://pkg.go.dev/vuln/GO-2022-0988"
    },
    {
      "source": "af854a3a-2127-422b-91ae-364da2661108",
      "tags": [
        "Patch",
        "Release Notes"
      ],
      "url": "https://go.dev/cl/423514"
    },
    {
      "source": "af854a3a-2127-422b-91ae-364da2661108",
      "tags": [
        "Issue Tracking",
        "Patch",
        "Vendor Advisory"
      ],
      "url": "https://go.dev/issue/54385"
    },
    {
      "source": "af854a3a-2127-422b-91ae-364da2661108",
      "tags": [
        "Mailing List",
        "Third Party Advisory"
      ],
      "url": "https://groups.google.com/g/golang-announce/c/x49AQzIVX-s"
    },
    {
      "source": "af854a3a-2127-422b-91ae-364da2661108",
      "tags": [
        "Issue Tracking",
        "Patch",
        "Vendor Advisory"
      ],
      "url": "https://pkg.go.dev/vuln/GO-2022-0988"
    }
  ],
  "sourceIdentifier": "security@golang.org",
  "vulnStatus": "Modified",
  "weaknesses": [
    {
      "description": [
        {
          "lang": "en",
          "value": "CWE-22"
        }
      ],
      "source": "nvd@nist.gov",
      "type": "Primary"
    }
  ]
}


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.