Amazon Linux Security Advisory
ALAS2-2023-1913
Amazon Linux 2 2017.12 - ALAS2-2023-1913: important priority package update for golist
Details
Package updates are available for Amazon Linux 2 that fix the following vulnerabilities: CVE-2022-41715: Programs which compile regular expressions from untrusted sources may be vulnerable to memory exhaustion or denial of service. The parsed regexp representation is linear in the size of the input, but in some cases the constant factor can be as high as 40,000, making relatively small regexps consume much larger amounts of memory. After fix, each regexp being parsed is limited to a 256 MB memory footprint. Regular expressions whose representation would use more space than that are rejected. Normal use of regular expressions is unaffected.
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.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| Amazon Linux:2 | golist | All versions before 0.10.1-10.amzn2.0.2 (fixed in 0.10.1-10.amzn2.0.2) |
| Amazon Linux:2 | golist-debuginfo | All versions before 0.10.1-10.amzn2.0.2 (fixed in 0.10.1-10.amzn2.0.2) |