cve-2022-32190
Vulnerability from cvelistv5
Published
2022-09-13 17:08
Modified
2024-08-03 07:32
Severity ?
Summary
Failure to strip relative path components in net/url
References
security@golang.orghttps://go.dev/cl/423514Patch, Release Notes
security@golang.orghttps://go.dev/issue/54385Issue Tracking, Patch, Vendor Advisory
security@golang.orghttps://groups.google.com/g/golang-announce/c/x49AQzIVX-sMailing List, Third Party Advisory
security@golang.orghttps://pkg.go.dev/vuln/GO-2022-0988Issue Tracking, Patch, Vendor Advisory
Impacted products
Go standard librarynet/url
Show details on NVD website


{
  "containers": {
    "adp": [
      {
        "providerMetadata": {
          "dateUpdated": "2024-08-03T07:32:56.001Z",
          "orgId": "af854a3a-2127-422b-91ae-364da2661108",
          "shortName": "CVE"
        },
        "references": [
          {
            "tags": [
              "x_transferred"
            ],
            "url": "https://groups.google.com/g/golang-announce/c/x49AQzIVX-s"
          },
          {
            "tags": [
              "x_transferred"
            ],
            "url": "https://go.dev/issue/54385"
          },
          {
            "tags": [
              "x_transferred"
            ],
            "url": "https://go.dev/cl/423514"
          },
          {
            "tags": [
              "x_transferred"
            ],
            "url": "https://pkg.go.dev/vuln/GO-2022-0988"
          }
        ],
        "title": "CVE Program Container"
      }
    ],
    "cna": {
      "affected": [
        {
          "collectionURL": "https://pkg.go.dev",
          "defaultStatus": "unaffected",
          "packageName": "net/url",
          "product": "net/url",
          "programRoutines": [
            {
              "name": "URL.JoinPath"
            },
            {
              "name": "JoinPath"
            }
          ],
          "vendor": "Go standard library",
          "versions": [
            {
              "lessThan": "1.19.1",
              "status": "affected",
              "version": "1.19.0-0",
              "versionType": "semver"
            }
          ]
        }
      ],
      "credits": [
        {
          "lang": "en",
          "value": "@q0jt"
        }
      ],
      "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."
        }
      ],
      "problemTypes": [
        {
          "descriptions": [
            {
              "description": "CWE-22: Improper Limitation of a Pathname to a Restricted Directory (\u0027Path Traversal\u0027)",
              "lang": "en"
            }
          ]
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2023-06-12T19:05:24.713Z",
        "orgId": "1bb62c36-49e3-4200-9d77-64a1400537cc",
        "shortName": "Go"
      },
      "references": [
        {
          "url": "https://groups.google.com/g/golang-announce/c/x49AQzIVX-s"
        },
        {
          "url": "https://go.dev/issue/54385"
        },
        {
          "url": "https://go.dev/cl/423514"
        },
        {
          "url": "https://pkg.go.dev/vuln/GO-2022-0988"
        }
      ],
      "title": "Failure to strip relative path components in net/url"
    }
  },
  "cveMetadata": {
    "assignerOrgId": "1bb62c36-49e3-4200-9d77-64a1400537cc",
    "assignerShortName": "Go",
    "cveId": "CVE-2022-32190",
    "datePublished": "2022-09-13T17:08:57",
    "dateReserved": "2022-05-31T00:00:00",
    "dateUpdated": "2024-08-03T07:32:56.001Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.1",
  "meta": {
    "nvd": "{\"cve\":{\"id\":\"CVE-2022-32190\",\"sourceIdentifier\":\"security@golang.org\",\"published\":\"2022-09-13T18:15:14.507\",\"lastModified\":\"2023-11-07T03:47:45.847\",\"vulnStatus\":\"Modified\",\"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\"}],\"metrics\":{\"cvssMetricV31\":[{\"source\":\"nvd@nist.gov\",\"type\":\"Primary\",\"cvssData\":{\"version\":\"3.1\",\"vectorString\":\"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N\",\"attackVector\":\"NETWORK\",\"attackComplexity\":\"LOW\",\"privilegesRequired\":\"NONE\",\"userInteraction\":\"NONE\",\"scope\":\"UNCHANGED\",\"confidentialityImpact\":\"HIGH\",\"integrityImpact\":\"NONE\",\"availabilityImpact\":\"NONE\",\"baseScore\":7.5,\"baseSeverity\":\"HIGH\"},\"exploitabilityScore\":3.9,\"impactScore\":3.6}]},\"weaknesses\":[{\"source\":\"nvd@nist.gov\",\"type\":\"Primary\",\"description\":[{\"lang\":\"en\",\"value\":\"CWE-22\"}]}],\"configurations\":[{\"nodes\":[{\"operator\":\"OR\",\"negate\":false,\"cpeMatch\":[{\"vulnerable\":true,\"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\"}]}]}],\"references\":[{\"url\":\"https://go.dev/cl/423514\",\"source\":\"security@golang.org\",\"tags\":[\"Patch\",\"Release Notes\"]},{\"url\":\"https://go.dev/issue/54385\",\"source\":\"security@golang.org\",\"tags\":[\"Issue Tracking\",\"Patch\",\"Vendor Advisory\"]},{\"url\":\"https://groups.google.com/g/golang-announce/c/x49AQzIVX-s\",\"source\":\"security@golang.org\",\"tags\":[\"Mailing List\",\"Third Party Advisory\"]},{\"url\":\"https://pkg.go.dev/vuln/GO-2022-0988\",\"source\":\"security@golang.org\",\"tags\":[\"Issue Tracking\",\"Patch\",\"Vendor Advisory\"]}]}}"
  }
}


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.