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 Information

Status: PUBLISHED

Assigner: Go

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

Updated: 2023-06-12T19:05:28.975Z

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


Link: CVE-2022-2879

JSON object: View

cve-icon NVD Information

Status : Modified

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

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


Link: CVE-2022-2879

JSON object: View

cve-icon Redhat Information

No data.

CWE