Reader.Read does not set a limit on the maximum size of file headers. A maliciously crafted archive could cause Read to allocate unbounded amounts of memory, potentially causing resource exhaustion or panics. After fix, Reader.Read limits the maximum size of header blocks to 1 MiB.
History

No history.

cve-icon MITRE

Status: PUBLISHED

Assigner: Go

Published: 2022-10-14T00:00:00

Updated: 2024-08-03T00:52:59.498Z

Reserved: 2022-08-17T00:00:00

Link: CVE-2022-2879

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Modified

Published: 2022-10-14T15:15:17.647

Modified: 2023-11-25T11:15:09.553

Link: CVE-2022-2879

cve-icon Redhat

Severity : Moderate

Publid Date: 2022-10-04T00:00:00Z

Links: CVE-2022-2879 - Bugzilla