CVE-2022-2879
CVE-2022-2879 — Unbounded memory consumption when reading headers in archive/tar
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.
Published Updated Sources: cvelistV5, Go
Triage
Is it exploited, how likely is exploitation, what does it touch, and how severe do the scoring sources call it.
Exploitation
Unreported
no source claims exploitation
EPSS
2%
chance of exploitation in 30 days
CVSS base
Unscored
no source published a base score
Affected scope
The catalog records vendors and products as separate lists, not pairs, so which product belongs to which vendor is not something this page can say.
Vendors (1)
Products (1)
References
5 on the record
- go.dev/issue/54853
reference
- go.dev/cl/439355
reference
- groups.google.com/g/golang-announce/c/xtuG5faxtaU
reference
- pkg.go.dev/vuln/GO-2022-1037
reference
- security.gentoo.org/glsa/202311-09
reference
Related CVEs
Same product first, then the same weakness or threat actor.
- CVE-2020-28949 PEAR Archive_Tar Deserialization of Untrusted Data VulnerabilityCVSS 7.8 · CISA KEV
- CVE-2020-36193 PEAR Archive_Tar Improper Link Resolution VulnerabilityCVSS 7.5 · CISA KEV
Elsewhere on this site
- Go Standard Libraryevery CVE for this vendor
Not in any source we poll
Listed rather than left blank: an empty field and an unmeasured one look identical on screen, and only one is a reason to look elsewhere.
- No confirmed IOCs, IP addresses, domains, file hashes, or malware artifacts supplied.
- No organization-specific asset inventory, compensating-control status, or patch deployment evidence supplied.
- No exploit packet captures, log samples, or incident case IDs supplied.