Vulnerability
CVE-2022-2879
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.
80 advisories report this vulnerability, across 15 ecosystems.
Advisories in Chainguard
- CGA-3228-f4r3-f32m
- CGA-38cv-v4x4-pf26
- CGA-6q32-7jm9-8vrq
- CGA-6rh5-63qc-82c8
- CGA-6wfm-pxj4-m2jh
- CGA-867g-rwrm-78q2
- CGA-98h6-5vg6-7m23
- CGA-9qmw-pxff-4246
- CGA-cg75-7369-5w8r
- CGA-fw68-x73p-42gq
- CGA-fwg6-4w6r-rj2v
- CGA-gph4-74wc-x887
- CGA-gqfh-7rg5-7hp3
- CGA-hh6g-5g42-79f4
- CGA-m39q-83h4-q7pc
- CGA-m45c-9rpr-wcwg
- CGA-p44c-mcph-86mc
- CGA-pj2p-xvq8-7m5v
- CGA-r6f2-6822-23rv
- CGA-v494-jmfm-mxp2