gsd-2022-1962
Vulnerability from gsd
Modified
2023-12-13 01:19
Details
Uncontrolled recursion in the Parse functions in go/parser before Go 1.17.12 and Go 1.18.4 allow an attacker to cause a panic due to stack exhaustion via deeply nested types or declarations.
Aliases
Aliases



{
  "GSD": {
    "alias": "CVE-2022-1962",
    "description": "Uncontrolled recursion in the Parse functions in go/parser before Go 1.17.12 and Go 1.18.4 allow an attacker to cause a panic due to stack exhaustion via deeply nested types or declarations.",
    "id": "GSD-2022-1962",
    "references": [
      "https://www.suse.com/security/cve/CVE-2022-1962.html",
      "https://advisories.mageia.org/CVE-2022-1962.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-1962.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:6430",
      "https://access.redhat.com/errata/RHSA-2022:7519",
      "https://access.redhat.com/errata/RHSA-2022:7529",
      "https://access.redhat.com/errata/RHSA-2022:8057",
      "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-1962"
      ],
      "details": "Uncontrolled recursion in the Parse functions in go/parser before Go 1.17.12 and Go 1.18.4 allow an attacker to cause a panic due to stack exhaustion via deeply nested types or declarations.",
      "id": "GSD-2022-1962",
      "modified": "2023-12-13T01:19:28.044318Z",
      "schema_version": "1.4.0"
    }
  },
  "namespaces": {
    "cve.org": {
      "CVE_data_meta": {
        "ASSIGNER": "security@golang.org",
        "ID": "CVE-2022-1962",
        "STATE": "PUBLIC"
      },
      "affects": {
        "vendor": {
          "vendor_data": [
            {
              "product": {
                "product_data": [
                  {
                    "product_name": "go/parser",
                    "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 the Parse functions in go/parser before Go 1.17.12 and Go 1.18.4 allow an attacker to cause a panic due to stack exhaustion via deeply nested types or declarations."
          }
        ]
      },
      "problemtype": {
        "problemtype_data": [
          {
            "description": [
              {
                "lang": "eng",
                "value": "CWE-674: Uncontrolled Recursion"
              }
            ]
          }
        ]
      },
      "references": {
        "reference_data": [
          {
            "name": "https://go.dev/cl/417063",
            "refsource": "MISC",
            "url": "https://go.dev/cl/417063"
          },
          {
            "name": "https://go.googlesource.com/go/+/695be961d57508da5a82217f7415200a11845879",
            "refsource": "MISC",
            "url": "https://go.googlesource.com/go/+/695be961d57508da5a82217f7415200a11845879"
          },
          {
            "name": "https://go.dev/issue/53616",
            "refsource": "MISC",
            "url": "https://go.dev/issue/53616"
          },
          {
            "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-0515",
            "refsource": "MISC",
            "url": "https://pkg.go.dev/vuln/GO-2022-0515"
          }
        ]
      }
    },
    "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-1962"
        },
        "data_format": "MITRE",
        "data_type": "CVE",
        "data_version": "4.0",
        "description": {
          "description_data": [
            {
              "lang": "en",
              "value": "Uncontrolled recursion in the Parse functions in go/parser before Go 1.17.12 and Go 1.18.4 allow an attacker to cause a panic due to stack exhaustion via deeply nested types or declarations."
            }
          ]
        },
        "problemtype": {
          "problemtype_data": [
            {
              "description": [
                {
                  "lang": "en",
                  "value": "CWE-674"
                }
              ]
            }
          ]
        },
        "references": {
          "reference_data": [
            {
              "name": "https://go.dev/cl/417063",
              "refsource": "MISC",
              "tags": [
                "Patch",
                "Vendor Advisory"
              ],
              "url": "https://go.dev/cl/417063"
            },
            {
              "name": "https://go.googlesource.com/go/+/695be961d57508da5a82217f7415200a11845879",
              "refsource": "MISC",
              "tags": [
                "Patch",
                "Vendor Advisory"
              ],
              "url": "https://go.googlesource.com/go/+/695be961d57508da5a82217f7415200a11845879"
            },
            {
              "name": "https://pkg.go.dev/vuln/GO-2022-0515",
              "refsource": "MISC",
              "tags": [
                "Vendor Advisory"
              ],
              "url": "https://pkg.go.dev/vuln/GO-2022-0515"
            },
            {
              "name": "https://go.dev/issue/53616",
              "refsource": "MISC",
              "tags": [
                "Exploit",
                "Issue Tracking",
                "Patch",
                "Vendor Advisory"
              ],
              "url": "https://go.dev/issue/53616"
            },
            {
              "name": "https://groups.google.com/g/golang-announce/c/nqrv9fbR0zE",
              "refsource": "MISC",
              "tags": [
                "Release Notes",
                "Vendor Advisory"
              ],
              "url": "https://groups.google.com/g/golang-announce/c/nqrv9fbR0zE"
            }
          ]
        }
      },
      "impact": {
        "baseMetricV3": {
          "cvssV3": {
            "attackComplexity": "LOW",
            "attackVector": "LOCAL",
            "availabilityImpact": "HIGH",
            "baseScore": 5.5,
            "baseSeverity": "MEDIUM",
            "confidentialityImpact": "NONE",
            "integrityImpact": "NONE",
            "privilegesRequired": "LOW",
            "scope": "UNCHANGED",
            "userInteraction": "NONE",
            "vectorString": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H",
            "version": "3.1"
          },
          "exploitabilityScore": 1.8,
          "impactScore": 3.6
        }
      },
      "lastModifiedDate": "2023-03-01T18:39Z",
      "publishedDate": "2022-08-10T20:15Z"
    }
  }
}


Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading...

Loading...

Loading...
  • 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.