ADVISORIES

Amazon Linux Security Advisory

ALAS2-2026-3203

Amazon Linux 2 2017.12 - ALAS2-2026-3203: medium priority package update for golang

Details

Package updates are available for Amazon Linux 2 that fix the following vulnerabilities: CVE-2026-27142: Actions which insert URLs into the content attribute of HTML meta tags are not escaped. This can allow XSS if the meta tag also has an http-equiv attribute with the value "refresh". A new GODEBUG setting has been added, htmlmetacontenturlescape, which can be used to disable escaping URLs in actions in the meta content attribute which follow "url=" by setting htmlmetacontenturlescape=0.

CVE-2026-27139: On Unix platforms, when listing the contents of a directory using File.ReadDir or File.Readdir the returned FileInfo could reference a file outside of the Root in which the File was opened. The impact of this escape is limited to reading metadata provided by lstat from arbitrary locations on the filesystem without permitting reading or writing files outside the root.

CVE-2026-25679: url.Parse insufficiently validated the host/authority component and accepted some invalid URLs.

Affected packages

EcosystemPackageAffected versions
Amazon Linux:2golang
All versions before 1.25.8-1.amzn2.0.1 (fixed in 1.25.8-1.amzn2.0.1)
Amazon Linux:2golang-bin
All versions before 1.25.8-1.amzn2.0.1 (fixed in 1.25.8-1.amzn2.0.1)
Amazon Linux:2golang-docs
All versions before 1.25.8-1.amzn2.0.1 (fixed in 1.25.8-1.amzn2.0.1)
Amazon Linux:2golang-misc
All versions before 1.25.8-1.amzn2.0.1 (fixed in 1.25.8-1.amzn2.0.1)
Amazon Linux:2golang-shared
All versions before 1.25.8-1.amzn2.0.1 (fixed in 1.25.8-1.amzn2.0.1)
Amazon Linux:2golang-src
All versions before 1.25.8-1.amzn2.0.1 (fixed in 1.25.8-1.amzn2.0.1)
Amazon Linux:2golang-tests
All versions before 1.25.8-1.amzn2.0.1 (fixed in 1.25.8-1.amzn2.0.1)

References