Azure Linux Advisory
AZL-37526
CVE-2022-2879 affecting package golang for versions less than 1.21.6-1
Details
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.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| Azure Linux:2 | golang | All versions before 1.21.6-1 (fixed in 1.21.6-1) |