Back to search
CVE-2022-2879
Published: Oct 14, 2022
Modified: Feb 13, 2025
PUBLISHED
Description
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.
| Vendor | Product | Versions |
|---|---|---|
Go standard library | archive/tar | affected 0 - < 1.18.7affected 1.19.0-0 - < 1.19.2 |
Security Training
Train your team to recognize and prevent security threats with our comprehensive security awareness program.
Start TrainingVulnerability Scanning
Discover vulnerabilities in your applications and infrastructure before attackers do.
Scan Now