CVE-2022-30631

Source
https://cve.org/CVERecord?id=CVE-2022-30631
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2022-30631.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2022-30631
Aliases
Downstream
Related
Published
2022-08-09T20:16:32Z
Modified
2026-05-15T04:04:46.855545532Z
Severity
  • 7.5 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H CVSS Calculator
Summary
Stack exhaustion when reading certain archives in compress/gzip
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.

Database specific
{
    "unresolved_ranges": [
        {
            "source": "AFFECTED_FIELD",
            "extracted_events": [
                {
                    "fixed": "1.17.12"
                },
                {
                    "introduced": "1.18.0-0"
                },
                {
                    "fixed": "1.18.4"
                }
            ]
        }
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/30xxx/CVE-2022-30631.json",
    "cna_assigner": "Go"
}
References

Affected packages