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

GSD-2022-30631

Vulnerability from gsd - Updated: 2023-12-13 01:19
Details
Uncontrolled recursion in Reader.Read in compress/gzip before Go 1.17.12 and Go 1.18.4 allows an attacker to cause a panic due to stack exhaustion via an archive containing a large number of concatenated 0-length compressed files.
Aliases
Aliases

{
  "GSD": {
    "alias": "CVE-2022-30631",
    "description": "Uncontrolled recursion in Reader.Read in compress/gzip before Go 1.17.12 and Go 1.18.4 allows an attacker to cause a panic due to stack exhaustion via an archive containing a large number of concatenated 0-length compressed files.",
    "id": "GSD-2022-30631",
    "references": [
      "https://www.suse.com/security/cve/CVE-2022-30631.html",
      "https://advisories.mageia.org/CVE-2022-30631.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:5875",
      "https://access.redhat.com/errata/RHSA-2022:5923",
      "https://access.redhat.com/errata/RHSA-2022:5924",
      "https://access.redhat.com/errata/RHSA-2022:6040",
      "https://access.redhat.com/errata/RHSA-2022:6042",
      "https://access.redhat.com/errata/RHSA-2022:6051",
      "https://access.redhat.com/errata/RHSA-2022:6061",
      "https://access.redhat.com/errata/RHSA-2022:6062",
      "https://access.redhat.com/errata/RHSA-2022:6065",
      "https://access.redhat.com/errata/RHSA-2022:6066",
      "https://access.redhat.com/errata/RHSA-2022:6113",
      "https://access.redhat.com/errata/RHSA-2022:5879",
      "https://access.redhat.com/errata/RHSA-2022:6053",
      "https://access.redhat.com/errata/RHSA-2022:6103",
      "https://access.redhat.com/errata/RHSA-2022:6184",
      "https://access.redhat.com/errata/RHSA-2022:6187",
      "https://access.redhat.com/errata/RHSA-2022:6188",
      "https://access.redhat.com/errata/RHSA-2022:6152",
      "https://access.redhat.com/errata/RHSA-2022:6290",
      "https://alas.aws.amazon.com/cve/html/CVE-2022-30631.html",
      "https://access.redhat.com/errata/RHSA-2022:6182",
      "https://access.redhat.com/errata/RHSA-2022:6183",
      "https://access.redhat.com/errata/RHSA-2022:6262",
      "https://access.redhat.com/errata/RHSA-2022:6308",
      "https://access.redhat.com/errata/RHSA-2022:6344",
      "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:6429",
      "https://access.redhat.com/errata/RHSA-2022:6430",
      "https://access.redhat.com/errata/RHSA-2022:6517",
      "https://access.redhat.com/errata/RHSA-2022:6560",
      "https://access.redhat.com/errata/RHSA-2022:6714",
      "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:7398",
      "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-30631"
      ],
      "details": "Uncontrolled recursion in Reader.Read in compress/gzip before Go 1.17.12 and Go 1.18.4 allows an attacker to cause a panic due to stack exhaustion via an archive containing a large number of concatenated 0-length compressed files.",
      "id": "GSD-2022-30631",
      "modified": "2023-12-13T01:19:37.520605Z",
      "schema_version": "1.4.0"
    }
  },
  "namespaces": {
    "cve.org": {
      "CVE_data_meta": {
        "ASSIGNER": "security@golang.org",
        "ID": "CVE-2022-30631",
        "STATE": "PUBLIC"
      },
      "affects": {
        "vendor": {
          "vendor_data": [
            {
              "product": {
                "product_data": [
                  {
                    "product_name": "compress/gzip",
                    "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"
            }
          ]
        }
      },
      "data_format": "MITRE",
      "data_type": "CVE",
      "data_version": "4.0",
      "description": {
        "description_data": [
          {
            "lang": "eng",
            "value": "Uncontrolled recursion in Reader.Read in compress/gzip before Go 1.17.12 and Go 1.18.4 allows an attacker to cause a panic due to stack exhaustion via an archive containing a large number of concatenated 0-length compressed files."
          }
        ]
      },
      "problemtype": {
        "problemtype_data": [
          {
            "description": [
              {
                "lang": "eng",
                "value": "CWE-674: Uncontrolled Recursion"
              }
            ]
          }
        ]
      },
      "references": {
        "reference_data": [
          {
            "name": "https://go.dev/cl/417067",
            "refsource": "MISC",
            "url": "https://go.dev/cl/417067"
          },
          {
            "name": "https://go.googlesource.com/go/+/b2b8872c876201eac2d0707276c6999ff3eb185e",
            "refsource": "MISC",
            "url": "https://go.googlesource.com/go/+/b2b8872c876201eac2d0707276c6999ff3eb185e"
          },
          {
            "name": "https://go.dev/issue/53168",
            "refsource": "MISC",
            "url": "https://go.dev/issue/53168"
          },
          {
            "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-0524",
            "refsource": "MISC",
            "url": "https://pkg.go.dev/vuln/GO-2022-0524"
          }
        ]
      }
    },
    "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-30631"
        },
        "data_format": "MITRE",
        "data_type": "CVE",
        "data_version": "4.0",
        "description": {
          "description_data": [
            {
              "lang": "en",
              "value": "Uncontrolled recursion in Reader.Read in compress/gzip before Go 1.17.12 and Go 1.18.4 allows an attacker to cause a panic due to stack exhaustion via an archive containing a large number of concatenated 0-length compressed files."
            }
          ]
        },
        "problemtype": {
          "problemtype_data": [
            {
              "description": [
                {
                  "lang": "en",
                  "value": "CWE-674"
                }
              ]
            }
          ]
        },
        "references": {
          "reference_data": [
            {
              "name": "https://pkg.go.dev/vuln/GO-2022-0524",
              "refsource": "MISC",
              "tags": [
                "Vendor Advisory"
              ],
              "url": "https://pkg.go.dev/vuln/GO-2022-0524"
            },
            {
              "name": "https://go.googlesource.com/go/+/b2b8872c876201eac2d0707276c6999ff3eb185e",
              "refsource": "MISC",
              "tags": [
                "Mailing List",
                "Patch",
                "Vendor Advisory"
              ],
              "url": "https://go.googlesource.com/go/+/b2b8872c876201eac2d0707276c6999ff3eb185e"
            },
            {
              "name": "https://go.dev/cl/417067",
              "refsource": "MISC",
              "tags": [
                "Patch",
                "Vendor Advisory"
              ],
              "url": "https://go.dev/cl/417067"
            },
            {
              "name": "https://go.dev/issue/53168",
              "refsource": "MISC",
              "tags": [
                "Issue Tracking",
                "Vendor Advisory"
              ],
              "url": "https://go.dev/issue/53168"
            },
            {
              "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"
            }
          ]
        }
      },
      "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:40Z",
      "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…