ALAS2023-2025-1161


Amazon Linux 2023 Security Advisory: ALAS2023-2025-1161
Advisory Released Date: 2025-09-08
Advisory Updated Date: 2025-09-08
Severity: Important

Issue Overview:

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. (CVE-2025-47906)

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-47907)


Affected Packages:

golang


Issue Correction:
Run dnf update golang --releasever 2023.8.20250908 or dnf update --advisory ALAS2023-2025-1161 --releasever 2023.8.20250908 to update your system.
More information on how to update your system can be found on this page: Amazon Linux 2023 documentation

New Packages:
aarch64:
    golang-1.24.6-1.amzn2023.0.1.aarch64
    golang-bin-1.24.6-1.amzn2023.0.1.aarch64
    golang-shared-1.24.6-1.amzn2023.0.1.aarch64

noarch:
    golang-docs-1.24.6-1.amzn2023.0.1.noarch
    golang-misc-1.24.6-1.amzn2023.0.1.noarch
    golang-src-1.24.6-1.amzn2023.0.1.noarch
    golang-tests-1.24.6-1.amzn2023.0.1.noarch

src:
    golang-1.24.6-1.amzn2023.0.1.src

x86_64:
    golang-1.24.6-1.amzn2023.0.1.x86_64
    golang-bin-1.24.6-1.amzn2023.0.1.x86_64
    golang-shared-1.24.6-1.amzn2023.0.1.x86_64