Amazon Linux Security Advisory
ALAS2023-2025-977
Amazon Linux 2023 - ALAS2023-2025-977: Medium priority package update for golang
Details
Package updates are available for Amazon Linux 2023 that fix the following vulnerabilities: CVE-2025-22873: A directory traversal vulnerability was discovered in the Go programming language's os package in versions prior to 1.24.3. The vulnerability allows improper access to the parent directory of an os.Root by opening a filename ending in "../". When exploited, this vulnerability permits an attacker to open the parent directory of the Root, though it does not allow access to ancestors of the parent or files contained within the parent directory. This issue has been fixed in Go 1.24.3, where Root now correctly returns an error when such access is attempted.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| Amazon Linux:2023 | golang | All versions before 1.24.3-1.amzn2023.0.1 (fixed in 1.24.3-1.amzn2023.0.1) |
| Amazon Linux:2023 | golang-bin | All versions before 1.24.3-1.amzn2023.0.1 (fixed in 1.24.3-1.amzn2023.0.1) |
| Amazon Linux:2023 | golang-docs | All versions before 1.24.3-1.amzn2023.0.1 (fixed in 1.24.3-1.amzn2023.0.1) |
| Amazon Linux:2023 | golang-misc | All versions before 1.24.3-1.amzn2023.0.1 (fixed in 1.24.3-1.amzn2023.0.1) |
| Amazon Linux:2023 | golang-shared | All versions before 1.24.3-1.amzn2023.0.1 (fixed in 1.24.3-1.amzn2023.0.1) |
| Amazon Linux:2023 | golang-src | All versions before 1.24.3-1.amzn2023.0.1 (fixed in 1.24.3-1.amzn2023.0.1) |
| Amazon Linux:2023 | golang-tests | All versions before 1.24.3-1.amzn2023.0.1 (fixed in 1.24.3-1.amzn2023.0.1) |