CVE-2022-2879
Docker vulnerability analysis and mitigation

Overview

CVE-2022-2879 is a vulnerability in Go's archive/tar package discovered in 2022. The issue stems from Reader.Read not setting a limit on the maximum size of file headers. This vulnerability was reported by Adam Korczynski from ADA Logics and OSS-Fuzz (Golang Announce).

Technical details

The vulnerability exists in the archive/tar package where Reader.Read did not implement size limitations for file headers. This could allow a maliciously crafted archive to cause unbounded memory allocation. The issue has a CVSS 3.1 base score of 7.5 (High), with attack vector being Network, attack complexity Low, and requiring no privileges or user interaction (Ubuntu CVE). After the fix, Reader.Read now limits the maximum size of header blocks to 1 MiB (Go Issue).

Impact

The vulnerability could lead to resource exhaustion or system panics when processing maliciously crafted archive files. The impact primarily affects availability with no direct impact on confidentiality or integrity of the system (NVD).

Mitigation and workarounds

The vulnerability has been fixed in Go versions 1.19.2 and 1.18.7. Users are advised to upgrade to these or later versions. The fix implements a 1 MiB limit on the maximum size of header blocks in Reader.Read (Golang Announce).

Additional resources


SourceThis report was generated using AI

Related Docker vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2025-61729HIGH7.5
  • cAdvisorcAdvisor
  • crane-fips
NoYesDec 02, 2025
CVE-2025-52881HIGH7.3
  • cAdvisorcAdvisor
  • kubernetes-fips-1.34
NoYesNov 06, 2025
CVE-2025-61727MEDIUM6.5
  • cAdvisorcAdvisor
  • prometheus-redis-exporter-fips
NoYesDec 03, 2025
CVE-2025-58181MEDIUM5.3
  • cAdvisorcAdvisor
  • actions-runner-controller
NoYesNov 19, 2025
CVE-2025-47914MEDIUM5.3
  • cAdvisorcAdvisor
  • falcosidekick-fips
NoYesNov 19, 2025

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management