Amazon Linux Security Advisory
ALAS2-2026-3383
Amazon Linux 2 2017.12 - ALAS2-2026-3383: medium priority package update for golang
Details
Package updates are available for Amazon Linux 2 that fix the following vulnerabilities: CVE-2026-42507: When returning errors, functions in the net/textproto package would include its input as part of the error. This might allow an attacker to inject misleading content to errors that are printed or logged.
CVE-2026-42504: Decoding a maliciously-crafted MIME header containing many invalid encoded-words can consume excessive CPU.
CVE-2026-27145: (*x509.Certificate).VerifyHostname previously called matchHostnames in a loop over all DNS Subject Alternative Name (SAN) entries. This caused strings.Split(host, ".") to execute repeatedly on the same input hostname. With a large DNS SAN list, verification costs scaled quadratically based on the number of SAN entries multiplied by the hostname's label count. Because x509.Verify validates hostnames before building the certificate chain, this overhead occurred even for untrusted certificates.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| Amazon Linux:2 | golang | All versions before 1.25.11-1.amzn2.0.1 (fixed in 1.25.11-1.amzn2.0.1) |
| Amazon Linux:2 | golang-bin | All versions before 1.25.11-1.amzn2.0.1 (fixed in 1.25.11-1.amzn2.0.1) |
| Amazon Linux:2 | golang-docs | All versions before 1.25.11-1.amzn2.0.1 (fixed in 1.25.11-1.amzn2.0.1) |
| Amazon Linux:2 | golang-misc | All versions before 1.25.11-1.amzn2.0.1 (fixed in 1.25.11-1.amzn2.0.1) |
| Amazon Linux:2 | golang-shared | All versions before 1.25.11-1.amzn2.0.1 (fixed in 1.25.11-1.amzn2.0.1) |
| Amazon Linux:2 | golang-src | All versions before 1.25.11-1.amzn2.0.1 (fixed in 1.25.11-1.amzn2.0.1) |
| Amazon Linux:2 | golang-tests | All versions before 1.25.11-1.amzn2.0.1 (fixed in 1.25.11-1.amzn2.0.1) |