Breaking News: Thousands Of GitHub Accounts Hijacked With wfx-loot CI Secret
Read the Report
Learn How MCP Is Bypassing a Decade of Cloud Security Best Practices
Read the Report
Are you exposed? Connect a repo in minutes.
Scan your repos free

CVE-2022-2879

golang: archive/tar: github.com/vbatts/tar-split: unbounded memory consumption when reading headers

Overview

Published
14 Oct 2022
Modified
17 Jun 2026
High CVE
2 Registry packages
287 OS packages
17 Linux distributions
Yes Fix available

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.

Source: OX vulnerability database

Severity

7.5 · HIGH

CVSS 3.1 base score, scored by NVD.

Attack vector
Network
Attack complexity
Low
Privileges required
None
User interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
None
Availability
High

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Weakness: CWE-770

Affected packages · 2

Packages affected by CVE-2022-2879
EcosystemPackageVulnerableFixed in
Bitnami golang <1.18.7>=1.19.0, <1.19.2 1.18.71.19.2
Go stdlib <1.18.7>=1.19.0-0, <1.19.2 1.18.71.19.2

Open a package to see all its vulnerabilities.

Operating systems · 400 fixes

Azure Linux 1 release · 7 packages

fixed 7
ig skopeo buildah containerized-data-importer libcontainers-common moby-engine +1
Azure Linux fixes for CVE-2022-2879
ReleasePackageFixed in
3.0 ig 0:0.29.0-1.azl3
3.0 skopeo 0:1.14.4-1.azl3
3.0 buildah 0:1.41.4-2.azl3
3.0 containerized-data-importer 0:1.57.0-3.azl3
3.0 libcontainers-common 0:20240213-2.azl3
3.0 moby-engine 0:25.0.3-3.azl3

1 more row

Oracle Linux 2 releases · 26 packages

fixed 31
udica fuse-overlayfs crun go-toolset golang oci-seccomp-bpf-hook +20
Oracle Linux fixes for CVE-2022-2879
ReleasePackageFixed in
8 udica 0.2.6-20.module+el8.9.0+90147+a4870853
8 fuse-overlayfs 1.13-1.module+el8.10.0+90298+77a9814d
8 crun 1.14.3-2.module+el8.10.0+90298+77a9814d
8 go-toolset 1.19.4-1.module+el8.7.0+20922+47ac84ba
8 golang +6 1.19.4-2.0.1.module+el8.7.0+20922+47ac84ba
8 oci-seccomp-bpf-hook 1.2.10-1.module+el8.10.0+90298+77a9814d

25 more rows

Photon OS 2 releases · 3 packages

fixed 4
go kubernetes-dashboard falco
Photon OS fixes for CVE-2022-2879
ReleasePackageFixed in
4.0 go 1.19.2-1.ph4
4.0 kubernetes-dashboard 2.7.0-1.ph4
5.0 falco 0.32.2-6.0601037001.ph5
5.0 go 1.26.3-1.ph5

Red Hat 8 releases · 101 packages

eol 2 affected 1 fixed 189 wont fix 2
go-toolset-7-golang buildah golang go-toolset-1-18 toolbox python3-iso8601 +95
Red Hat fixes for CVE-2022-2879
ReleasePackageFixed inAdvisory
go-toolset-7-golang +3 eol —
7 buildah +3 affected —
7 golang +2 eol —
7 go-toolset-1-18 +10 0:1.18.9-1.el7_9 RHSA-2023:0445
8 toolbox 0:0.1.0-1.rhaos4.12.el8 RHSA-2022:7398
8 toolbox 0:0.1.1-3.rhaos4.12.el8 RHSA-2023:0727

188 more rows

SUSE Linux Enterprise 1 release · 3 packages

fixed 3
go1-18-openssl go1-18 go1-19
SUSE Linux Enterprise fixes for CVE-2022-2879
ReleasePackageFixed inAdvisory
15.4 go1-18-openssl +2 1.18.10.1-150000.1.9.1 SUSE-SU-2023:2312-1
15.4 go1-18 +2 1.18.7-150000.1.34.1 SUSE-SU-2022:3668-1
15.4 go1-19 +2 1.19.2-150000.1.12.1 SUSE-SU-2022:3669-1

alma 4 releases · 23 packages

fixed 26
weldr-client osbuild-composer toolbox udica slirp4netns oci-seccomp-bpf-hook +17
alma fixes for CVE-2022-2879
ReleasePackageFixed in
8 weldr-client 35.9-2.el8
8 osbuild-composer +3 75-1.el8.alma
8 (container-tools:4.0) toolbox +1 0.0.99.4-5.module_el8.9.0+3627+db8ec155
8 (container-tools:4.0) udica 0.2.6-4.module_el8.9.0+3627+db8ec155
8 (container-tools:4.0) slirp4netns 1.1.8-3.module_el8.9.0+3627+db8ec155
8 (container-tools:4.0) oci-seccomp-bpf-hook 1.2.5-2.module_el8.8.0+3468+16b86c82

20 more rows

alpine 4 releases · 1 package

fixed 4
go
alpine fixes for CVE-2022-2879
ReleasePackageFixed in
3.22 go 1.19.2-r0
3.23 go 1.19.2-r0
3.24 go 1.19.2-r0
edge go 1.19.2-r0

amazon linux 1 release · 2 packages

fixed 2
golist golang
amazon linux fixes for CVE-2022-2879
ReleasePackageFixed in
2023 golist +2 0.10.1-11.amzn2023.0.3
2023 golang +7 1.19.3-2.amzn2023.0.2

chainguard 1 release · 1 package

fixed 1
kubeflow-katib
chainguard fixes for CVE-2022-2879
ReleasePackageFixed in
kubeflow-katib 0.19.0-r40

debian 3 releases · 3 packages

affected 2 fixed 1
golang-1-11 golang-1-15 golang-1-19
debian fixes for CVE-2022-2879
ReleasePackageFixed in
10 golang-1-11 affected
11 golang-1-15 affected
12 golang-1-19 1.19.2-1

echo 1 release · 1 package

fixed 1
golang-1-19
echo fixes for CVE-2022-2879
ReleasePackageFixed in
golang-1-19 1.19.2-1

openSUSE 1 release · 3 packages

fixed 3
go1-18 go1-19 docker-compose
openSUSE fixes for CVE-2022-2879
ReleasePackageFixed inAdvisory
Tumbleweed go1-18 +2 1.18.7-1.1 openSUSE-SU-2024:12391-1
Tumbleweed go1-19 +2 1.19.2-1.1 openSUSE-SU-2024:12392-1
Tumbleweed docker-compose 2.12.0-1.1 openSUSE-SU-2024:12421-1

rocky 4 releases · 21 packages

fixed 103
udica slirp4netns oci-seccomp-bpf-hook fuse-overlayfs runc buildah +15
rocky fixes for CVE-2022-2879
ReleasePackageFixed in
8 (container-tools:4.0) udica 0.2.6-4.module+el8.9.0+1445+07728297
8 (container-tools:4.0) slirp4netns 1.1.8-3.module+el8.9.0+1445+07728297
8 (container-tools:4.0) oci-seccomp-bpf-hook 1.2.5-2.module+el8.9.0+1445+07728297
8 (container-tools:4.0) fuse-overlayfs 1.9-2.module+el8.9.0+1445+07728297
8 (container-tools:4.0) runc 1:1.1.5-2.module+el8.9.0+1445+07728297
8 (container-tools:4.0) buildah +1 1:1.24.6-7.module+el8.9.0+1445+07728297

97 more rows

root.io debian 1 release · 1 package

fixed 1
rootio-golang-1-19
root.io debian fixes for CVE-2022-2879
ReleasePackageFixed in
12 rootio-golang-1-19 1.19.2-1

seal Red Hat 1 release · 1 package

fixed 1
python-jinja2
seal Red Hat fixes for CVE-2022-2879
ReleasePackageFixed in
7 python-jinja2 +1 2.7.2-4.el7+sp999

ubuntu 5 releases · 6 packages

fixed 12 affected 3
golang-1-18 golang-1-10 golang-1-13 golang-1-16 golang-1-14 golang-1-17
ubuntu fixes for CVE-2022-2879
ReleasePackageFixed in
18.04 golang-1-18 1.18.1-1ubuntu1~18.04.4
18.04-ESM golang-1-10 +2 affected
18.04-ESM golang-1-13 1.13.8-1ubuntu1~18.04.4+esm1
18.04-ESM golang-1-16 1.16.2-0ubuntu1~18.04.2+esm1
18.04-ESM golang-1-18 1.18.1-1ubuntu1~18.04.4
20.04 golang-1-13 1.13.8-1ubuntu1.2

9 more rows

wolfi 1 release · 1 package

fixed 1
kubeflow-katib
wolfi fixes for CVE-2022-2879
ReleasePackageFixed in
kubeflow-katib 0.19.0-r40

References

Show all 33 references

OX Radar and Response Center

Find threats in your stack.

OX Radar can check high-priority threats, like critical package CVEs, against your context.

Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.