Lucene search

K
cvelistGoCVELIST:CVE-2022-30631
HistoryAug 09, 2022 - 8:16 p.m.

CVE-2022-30631 Stack exhaustion when reading certain archives in compress/gzip

2022-08-0920:16:32
Go
www.cve.org

7.8 High

AI Score

Confidence

High

0.002 Low

EPSS

Percentile

55.9%

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.

CNA Affected

[
  {
    "vendor": "Go standard library",
    "product": "compress/gzip",
    "collectionURL": "https://pkg.go.dev",
    "packageName": "compress/gzip",
    "versions": [
      {
        "version": "0",
        "lessThan": "1.17.12",
        "status": "affected",
        "versionType": "semver"
      },
      {
        "version": "1.18.0-0",
        "lessThan": "1.18.4",
        "status": "affected",
        "versionType": "semver"
      }
    ],
    "programRoutines": [
      {
        "name": "Reader.Read"
      }
    ],
    "defaultStatus": "unaffected"
  }
]