Skip to content
OpenAdvisories
High ALAS2023-2025-1161 2 CVEs

Important: golang security update (Amazon Linux 2023)

Published Aug 22, 2025 · Updated Sep 8, 2025

Summary

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.

Fixed packages 7

ReleasePackageFixed in
Amazon Linux · 2023 golang 0:1.24.6-1.amzn2023.0.1
Amazon Linux · 2023 golang-bin 0:1.24.6-1.amzn2023.0.1
Amazon Linux · 2023 golang-docs 0:1.24.6-1.amzn2023.0.1
Amazon Linux · 2023 golang-misc 0:1.24.6-1.amzn2023.0.1
Amazon Linux · 2023 golang-shared 0:1.24.6-1.amzn2023.0.1
Amazon Linux · 2023 golang-src 0:1.24.6-1.amzn2023.0.1
Amazon Linux · 2023 golang-tests 0:1.24.6-1.amzn2023.0.1

Vulnerabilities 2

References

  • web
    https://alas.aws.amazon.com/cve/html/CVE-2025-47906.html
  • web
    https://alas.aws.amazon.com/cve/html/CVE-2025-47907.html