Unbounded Memory Allocation Vulnerability in Reader.Read

Unbounded Memory Allocation Vulnerability in Reader.Read

CVE-2022-2879 · HIGH Severity

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

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.

Learn more about our Web Application Penetration Testing UK.