CVE-2022-2879

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.
ProviderTypeBase ScoreAtk. VectorAtk. ComplexityPriv. RequiredVector
NISTPrimary
7.5 HIGH
NETWORK
LOW
NONE
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Base Score
CVSS 3.x
EPSS Score
Percentile: 72%
Affected Products (NVD)
VendorProductVersion
golanggo
𝑥
< 1.18.7
golanggo
1.19.0 ≤
𝑥
< 1.19.2
𝑥
= Vulnerable software versions
Debian logo
Debian Releases
Debian Product
Codename
golang-1.15
bullseye
vulnerable
buster
postponed
golang-1.19
bookworm
1.19.8-2
fixed
bullseye
no-dsa
buster
postponed
Ubuntu logo
Ubuntu Releases
Ubuntu Product
Codename
golang-1.10
bionic
needed
focal
dne
jammy
dne
lunar
dne
mantic
dne
noble
dne
trusty
needed
xenial
needed
golang-1.13
bionic
Fixed 1.13.8-1ubuntu1~18.04.4+esm1
released
focal
Fixed 1.13.8-1ubuntu1.2
released
jammy
Fixed 1.13.8-1ubuntu2.22.04.2
released
lunar
dne
mantic
dne
noble
dne
trusty
ignored
xenial
Fixed 1.13.8-1ubuntu1~16.04.3+esm3
released
golang-1.14
bionic
dne
focal
needed
jammy
dne
lunar
dne
mantic
dne
noble
dne
trusty
dne
xenial
dne
golang-1.16
bionic
Fixed 1.16.2-0ubuntu1~18.04.2+esm1
released
focal
Fixed 1.16.2-0ubuntu1~20.04.1
released
jammy
dne
lunar
dne
mantic
dne
noble
dne
trusty
ignored
xenial
ignored
golang-1.17
bionic
dne
focal
dne
jammy
needed
trusty
ignored
xenial
ignored
golang-1.18
bionic
Fixed 1.18.1-1ubuntu1~18.04.4
released
focal
Fixed 1.18.1-1ubuntu1~20.04.2
released
jammy
Fixed 1.18.1-1ubuntu1.1
released
lunar
dne
mantic
dne
noble
dne
trusty
ignored
xenial
Fixed 1.18.1-1ubuntu1~16.04.6
released
golang-1.19
bionic
dne
focal
dne
jammy
dne
kinetic
not-affected
lunar
not-affected
mantic
dne
noble
dne
trusty
ignored
xenial
ignored
golang-1.6
bionic
dne
focal
dne
jammy
dne
lunar
dne
mantic
dne
noble
dne
trusty
ignored
xenial
needed
golang-1.8
bionic
needed
focal
dne
jammy
dne
lunar
dne
mantic
dne
noble
dne
trusty
dne
xenial
dne
golang-1.9
bionic
needed
focal
dne
jammy
dne
lunar
dne
mantic
dne
noble
dne
trusty
dne
xenial
dne
Red Hat logo
Red Hat Enterprise Linux Releases
Red Hat Product
Release
golang
RHEL 9
0:1.18.9-1.el9_1
fixed
golang-bin
RHEL 9
0:1.18.9-1.el9_1
fixed
golang-docs
RHEL 9
0:1.18.9-1.el9_1
fixed
golang-misc
RHEL 9
0:1.18.9-1.el9_1
fixed
golang-race
RHEL 9
0:1.18.9-1.el9_1
fixed
golang-src
RHEL 9
0:1.18.9-1.el9_1
fixed
golang-tests
RHEL 9
0:1.18.9-1.el9_1
fixed
osbuild-composer
RHEL 8
0:75-1.el8
fixed
RHEL 9
0:76-2.el9_2
fixed
osbuild-composer-core
RHEL 8
0:75-1.el8
fixed
RHEL 9
0:76-2.el9_2
fixed
osbuild-composer-dnf-json
RHEL 8
0:75-1.el8
fixed
RHEL 9
0:76-2.el9_2
fixed
osbuild-composer-worker
RHEL 8
0:75-1.el8
fixed
RHEL 9
0:76-2.el9_2
fixed
weldr-client
RHEL 8
0:35.9-2.el8
fixed
RHEL 9
0:35.9-1.el9
fixed
Amazon Linux logo
Amazon Linux Releases
Amazon Package
Release
golang
Amazon Linux 2
0:1.18.8-1.amzn2.0.1
fixed
Amazon Linux 2023
0:1.19.3-2.amzn2023.0.2
fixed
golang-bin
Amazon Linux 2
0:1.18.8-1.amzn2.0.1
fixed
Amazon Linux 2023
0:1.19.3-2.amzn2023.0.2
fixed
golang-docs
Amazon Linux 2
0:1.18.8-1.amzn2.0.1
fixed
Amazon Linux 2023
0:1.19.3-2.amzn2023.0.2
fixed
golang-misc
Amazon Linux 2
0:1.18.8-1.amzn2.0.1
fixed
Amazon Linux 2023
0:1.19.3-2.amzn2023.0.2
fixed
golang-race
Amazon Linux 2
0:1.18.8-1.amzn2.0.1
fixed
Amazon Linux 2023
0:1.19.3-2.amzn2023.0.2
fixed
golang-shared
Amazon Linux 2
0:1.18.8-1.amzn2.0.1
fixed
Amazon Linux 2023
0:1.19.3-2.amzn2023.0.2
fixed
golang-src
Amazon Linux 2
0:1.18.8-1.amzn2.0.1
fixed
Amazon Linux 2023
0:1.19.3-2.amzn2023.0.2
fixed
golang-tests
Amazon Linux 2
0:1.18.8-1.amzn2.0.1
fixed
Amazon Linux 2023
0:1.19.3-2.amzn2023.0.2
fixed
golist
Amazon Linux 2
0:0.10.1-10.amzn2.0.2
fixed
Amazon Linux 2023
0:0.10.1-11.amzn2023.0.3
fixed
golist-debuginfo
Amazon Linux 2
0:0.10.1-10.amzn2.0.2
fixed
Amazon Linux 2023
0:0.10.1-11.amzn2023.0.3
fixed
golist-debugsource
Amazon Linux 2023
0:0.10.1-11.amzn2023.0.3
fixed
Azure Linux logo
Azure Linux Releases
Azure Package
Release
buildah
Azure Linux 3.0
0:1.41.4-2.azl3
fixed
containerized-data-importer
Azure Linux 3.0
0:1.57.0-3.azl3
fixed
golang
CBL-Mariner 2.0
0:1.19.10-1.cm2
fixed
ig
Azure Linux 3.0
0:0.29.0-1.azl3
fixed
libcontainers-common
Azure Linux 3.0
0:20240213-2.azl3
fixed
moby-engine
Azure Linux 3.0
0:25.0.3-3.azl3
fixed
podman
Azure Linux 3.0
0:5.6.1-2.azl3
fixed
skopeo
Azure Linux 3.0
0:1.14.4-1.azl3
fixed