GO-2022-1037

vendorUSosv

Unbounded memory consumption when reading headers in archive/tar

view advisory published 2022-10-06Licence: per source

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.

01

describes (1)

Related CVEs.

IDseverity exploitable
CVE-2022-2879UShigh7.5—
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 re…
02

references

External citations — patches, advisories, analysis.

scry

Advisories like this name the exposed products attackers go after on your perimeter. See what is exposed on your perimeter with a free passive scan.

Free scan