CVE-2022-2879

Public on 2022-10-14
Modified on 2024-01-11
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.

Severity
Medium
See what this means
CVSS v3 Base Score
7.5
See breakdown

Affected Packages

Platform Package Release Date Advisory
Amazon Linux 2 - Core golang 2022-12-01 20:31 ALAS2-2022-1887
Amazon Linux 2 - Golang1.19 Extra golang 2023-08-07 05:59 ALAS2GOLANG1.19-2023-002
Amazon Linux 2023 golang 2023-02-17 20:45 ALAS2023-2023-048
Amazon Linux 2 - Core golist 2023-01-18 00:17 ALAS2-2023-1913
Amazon Linux 2023 golist 2023-02-17 20:45 ALAS2023-2023-046

CVSS Scores

Score Type Score Vector
Amazon Linux CVSSv3 7.5 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
NVD CVSSv3 7.5 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H