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
NISTNIST
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
GoCNA
---
---
CVEADP
---
---
Base Score
CVSS 3.x
EPSS Score
Percentile: 1%
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
noble
dne
mantic
dne
lunar
dne
jammy
dne
focal
dne
bionic
needed
xenial
needed
trusty
needed
golang-1.13
noble
dne
mantic
dne
lunar
dne
jammy
Fixed 1.13.8-1ubuntu2.22.04.2
released
focal
Fixed 1.13.8-1ubuntu1.2
released
bionic
Fixed 1.13.8-1ubuntu1~18.04.4+esm1
released
xenial
Fixed 1.13.8-1ubuntu1~16.04.3+esm3
released
trusty
ignored
golang-1.14
noble
dne
mantic
dne
lunar
dne
jammy
dne
focal
needed
bionic
dne
xenial
dne
trusty
dne
golang-1.16
noble
dne
mantic
dne
lunar
dne
jammy
dne
focal
Fixed 1.16.2-0ubuntu1~20.04.1
released
bionic
Fixed 1.16.2-0ubuntu1~18.04.2+esm1
released
xenial
ignored
trusty
ignored
golang-1.17
jammy
needed
focal
dne
bionic
dne
xenial
ignored
trusty
ignored
golang-1.18
noble
dne
mantic
dne
lunar
dne
jammy
Fixed 1.18.1-1ubuntu1.1
released
focal
Fixed 1.18.1-1ubuntu1~20.04.2
released
bionic
Fixed 1.18.1-1ubuntu1~18.04.4
released
xenial
Fixed 1.18.1-1ubuntu1~16.04.6
released
trusty
ignored
golang-1.19
noble
dne
mantic
dne
lunar
not-affected
kinetic
not-affected
jammy
dne
focal
dne
bionic
dne
xenial
ignored
trusty
ignored
golang-1.6
noble
dne
mantic
dne
lunar
dne
jammy
dne
focal
dne
bionic
dne
xenial
needed
trusty
ignored
golang-1.8
noble
dne
mantic
dne
lunar
dne
jammy
dne
focal
dne
bionic
needed
xenial
dne
trusty
dne
golang-1.9
noble
dne
mantic
dne
lunar
dne
jammy
dne
focal
dne
bionic
needed
xenial
dne
trusty
dne