GCVE Workshop - 22 September 2026 (14:00-18:00), Luxembourg Before The Vulnopticon Conference - Registration

GSD-2022-30632

Vulnerability from gsd - Updated: 2023-12-13 01:19
Details
Uncontrolled recursion in Glob in path/filepath before Go 1.17.12 and Go 1.18.4 allows an attacker to cause a panic due to stack exhaustion via a path containing a large number of path separators.
Aliases
Aliases

{
  "GSD": {
    "alias": "CVE-2022-30632",
    "description": "Uncontrolled recursion in Glob in path/filepath before Go 1.17.12 and Go 1.18.4 allows an attacker to cause a panic due to stack exhaustion via a path containing a large number of path separators.",
    "id": "GSD-2022-30632",
    "references": [
      "https://www.suse.com/security/cve/CVE-2022-30632.html",
      "https://advisories.mageia.org/CVE-2022-30632.html",
      "https://access.redhat.com/errata/RHSA-2022:5775",
      "https://access.redhat.com/errata/RHSA-2022:5799",
      "https://access.redhat.com/errata/RHSA-2022:5866",
      "https://access.redhat.com/errata/RHSA-2022:6040",
      "https://access.redhat.com/errata/RHSA-2022:6042",
      "https://access.redhat.com/errata/RHSA-2022:6113",
      "https://access.redhat.com/errata/RHSA-2022:6188",
      "https://access.redhat.com/errata/RHSA-2022:6283",
      "https://access.redhat.com/errata/RHSA-2022:6152",
      "https://alas.aws.amazon.com/cve/html/CVE-2022-30632.html",
      "https://access.redhat.com/errata/RHSA-2022:6345",
      "https://access.redhat.com/errata/RHSA-2022:6346",
      "https://access.redhat.com/errata/RHSA-2022:6347",
      "https://access.redhat.com/errata/RHSA-2022:6348",
      "https://access.redhat.com/errata/RHSA-2022:6370",
      "https://access.redhat.com/errata/RHSA-2022:7058",
      "https://access.redhat.com/errata/RHSA-2022:7129",
      "https://access.redhat.com/errata/RHSA-2022:7519",
      "https://access.redhat.com/errata/RHSA-2022:7529",
      "https://access.redhat.com/errata/RHSA-2022:7648",
      "https://access.redhat.com/errata/RHSA-2022:8057",
      "https://access.redhat.com/errata/RHSA-2022:8098",
      "https://access.redhat.com/errata/RHSA-2022:8250",
      "https://access.redhat.com/errata/RHSA-2022:8634",
      "https://access.redhat.com/errata/RHSA-2022:9047",
      "https://access.redhat.com/errata/RHSA-2023:0407",
      "https://access.redhat.com/errata/RHSA-2023:0408",
      "https://access.redhat.com/errata/RHSA-2023:1042"
    ]
  },
  "gsd": {
    "metadata": {
      "exploitCode": "unknown",
      "remediation": "unknown",
      "reportConfidence": "confirmed",
      "type": "vulnerability"
    },
    "osvSchema": {
      "aliases": [
        "CVE-2022-30632"
      ],
      "details": "Uncontrolled recursion in Glob in path/filepath before Go 1.17.12 and Go 1.18.4 allows an attacker to cause a panic due to stack exhaustion via a path containing a large number of path separators.",
      "id": "GSD-2022-30632",
      "modified": "2023-12-13T01:19:37.032907Z",
      "schema_version": "1.4.0"
    }
  },
  "namespaces": {
    "cve.org": {
      "CVE_data_meta": {
        "ASSIGNER": "security@golang.org",
        "ID": "CVE-2022-30632",
        "STATE": "PUBLIC"
      },
      "affects": {
        "vendor": {
          "vendor_data": [
            {
              "product": {
                "product_data": [
                  {
                    "product_name": "path/filepath",
                    "version": {
                      "version_data": [
                        {
                          "version_affected": "\u003c",
                          "version_name": "0",
                          "version_value": "1.17.12"
                        },
                        {
                          "version_affected": "\u003c",
                          "version_name": "1.18.0-0",
                          "version_value": "1.18.4"
                        }
                      ]
                    }
                  }
                ]
              },
              "vendor_name": "Go standard library"
            }
          ]
        }
      },
      "credits": [
        {
          "lang": "en",
          "value": "Juho Nurminen of Mattermost"
        }
      ],
      "data_format": "MITRE",
      "data_type": "CVE",
      "data_version": "4.0",
      "description": {
        "description_data": [
          {
            "lang": "eng",
            "value": "Uncontrolled recursion in Glob in path/filepath before Go 1.17.12 and Go 1.18.4 allows an attacker to cause a panic due to stack exhaustion via a path containing a large number of path separators."
          }
        ]
      },
      "problemtype": {
        "problemtype_data": [
          {
            "description": [
              {
                "lang": "eng",
                "value": "CWE-674: Uncontrolled Recursion"
              }
            ]
          }
        ]
      },
      "references": {
        "reference_data": [
          {
            "name": "https://go.dev/cl/417066",
            "refsource": "MISC",
            "url": "https://go.dev/cl/417066"
          },
          {
            "name": "https://go.googlesource.com/go/+/ac68c6c683409f98250d34ad282b9e1b0c9095ef",
            "refsource": "MISC",
            "url": "https://go.googlesource.com/go/+/ac68c6c683409f98250d34ad282b9e1b0c9095ef"
          },
          {
            "name": "https://go.dev/issue/53416",
            "refsource": "MISC",
            "url": "https://go.dev/issue/53416"
          },
          {
            "name": "https://groups.google.com/g/golang-announce/c/nqrv9fbR0zE",
            "refsource": "MISC",
            "url": "https://groups.google.com/g/golang-announce/c/nqrv9fbR0zE"
          },
          {
            "name": "https://pkg.go.dev/vuln/GO-2022-0522",
            "refsource": "MISC",
            "url": "https://pkg.go.dev/vuln/GO-2022-0522"
          }
        ]
      }
    },
    "nvd.nist.gov": {
      "configurations": {
        "CVE_data_version": "4.0",
        "nodes": [
          {
            "children": [],
            "cpe_match": [
              {
                "cpe23Uri": "cpe:2.3:a:golang:go:*:*:*:*:*:*:*:*",
                "cpe_name": [],
                "versionEndExcluding": "1.17.12",
                "vulnerable": true
              },
              {
                "cpe23Uri": "cpe:2.3:a:golang:go:*:*:*:*:*:*:*:*",
                "cpe_name": [],
                "versionEndExcluding": "1.18.4",
                "versionStartIncluding": "1.18.0",
                "vulnerable": true
              }
            ],
            "operator": "OR"
          }
        ]
      },
      "cve": {
        "CVE_data_meta": {
          "ASSIGNER": "security@golang.org",
          "ID": "CVE-2022-30632"
        },
        "data_format": "MITRE",
        "data_type": "CVE",
        "data_version": "4.0",
        "description": {
          "description_data": [
            {
              "lang": "en",
              "value": "Uncontrolled recursion in Glob in path/filepath before Go 1.17.12 and Go 1.18.4 allows an attacker to cause a panic due to stack exhaustion via a path containing a large number of path separators."
            }
          ]
        },
        "problemtype": {
          "problemtype_data": [
            {
              "description": [
                {
                  "lang": "en",
                  "value": "CWE-674"
                }
              ]
            }
          ]
        },
        "references": {
          "reference_data": [
            {
              "name": "https://go.dev/issue/53416",
              "refsource": "MISC",
              "tags": [
                "Issue Tracking",
                "Vendor Advisory"
              ],
              "url": "https://go.dev/issue/53416"
            },
            {
              "name": "https://groups.google.com/g/golang-announce/c/nqrv9fbR0zE",
              "refsource": "MISC",
              "tags": [
                "Mailing List",
                "Vendor Advisory"
              ],
              "url": "https://groups.google.com/g/golang-announce/c/nqrv9fbR0zE"
            },
            {
              "name": "https://pkg.go.dev/vuln/GO-2022-0522",
              "refsource": "MISC",
              "tags": [
                "Vendor Advisory"
              ],
              "url": "https://pkg.go.dev/vuln/GO-2022-0522"
            },
            {
              "name": "https://go.dev/cl/417066",
              "refsource": "MISC",
              "tags": [
                "Patch",
                "Vendor Advisory"
              ],
              "url": "https://go.dev/cl/417066"
            },
            {
              "name": "https://go.googlesource.com/go/+/ac68c6c683409f98250d34ad282b9e1b0c9095ef",
              "refsource": "MISC",
              "tags": [
                "Mailing List",
                "Patch",
                "Vendor Advisory"
              ],
              "url": "https://go.googlesource.com/go/+/ac68c6c683409f98250d34ad282b9e1b0c9095ef"
            }
          ]
        }
      },
      "impact": {
        "baseMetricV3": {
          "cvssV3": {
            "attackComplexity": "LOW",
            "attackVector": "NETWORK",
            "availabilityImpact": "HIGH",
            "baseScore": 7.5,
            "baseSeverity": "HIGH",
            "confidentialityImpact": "NONE",
            "integrityImpact": "NONE",
            "privilegesRequired": "NONE",
            "scope": "UNCHANGED",
            "userInteraction": "NONE",
            "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H",
            "version": "3.1"
          },
          "exploitabilityScore": 3.9,
          "impactScore": 3.6
        }
      },
      "lastModifiedDate": "2023-03-01T18:41Z",
      "publishedDate": "2022-08-10T20:15Z"
    }
  }
}



Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

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.

Loading…

Detection rules are retrieved from Rulezet.

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.


Loading…