Amazon Linux Security Advisory
ALAS2023-2025-1161
Amazon Linux 2023 - ALAS2023-2025-1161: Important priority package update for golang
Details
Package updates are available for Amazon Linux 2023 that fix the following vulnerabilities: CVE-2025-47907: Cancelling a query (e.g. by cancelling the context passed to one of the query methods) during a call to the Scan method of the returned Rows can result in unexpected results if other queries are being made in parallel. This can result in a race condition that may overwrite the expected results with those of another query, causing the call to Scan to return either unexpected results from the other query or an error.
CVE-2025-47906: os/exec: LookPath may return unexpected paths. If the PATH environment variable contains paths which are executables (rather than just directories), passing certain strings to LookPath ("", ".", and ".."), can result in the binaries listed in the PATH being unexpectedly returned.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| Amazon Linux:2023 | golang | All versions before 1.24.6-1.amzn2023.0.1 (fixed in 1.24.6-1.amzn2023.0.1) |
| Amazon Linux:2023 | golang-bin | All versions before 1.24.6-1.amzn2023.0.1 (fixed in 1.24.6-1.amzn2023.0.1) |
| Amazon Linux:2023 | golang-docs | All versions before 1.24.6-1.amzn2023.0.1 (fixed in 1.24.6-1.amzn2023.0.1) |
| Amazon Linux:2023 | golang-misc | All versions before 1.24.6-1.amzn2023.0.1 (fixed in 1.24.6-1.amzn2023.0.1) |
| Amazon Linux:2023 | golang-shared | All versions before 1.24.6-1.amzn2023.0.1 (fixed in 1.24.6-1.amzn2023.0.1) |
| Amazon Linux:2023 | golang-src | All versions before 1.24.6-1.amzn2023.0.1 (fixed in 1.24.6-1.amzn2023.0.1) |
| Amazon Linux:2023 | golang-tests | All versions before 1.24.6-1.amzn2023.0.1 (fixed in 1.24.6-1.amzn2023.0.1) |