Race Condition Affecting golang-src package, versions <0:1.24.6-1.amzn2023.0.1


Severity

Recommended
0.0
high
0
10

Based on Amazon Linux security rating.

Threat Intelligence

EPSS
0.02% (4th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Race Condition vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-AMZN2023-GOLANGSRC-12561709
  • published9 Sept 2025
  • disclosed7 Aug 2025

Introduced: 7 Aug 2025

CVE-2025-47907  (opens in a new tab)
CWE-362  (opens in a new tab)

How to fix?

Upgrade Amazon-Linux:2023 golang-src to version 0:1.24.6-1.amzn2023.0.1 or higher.
This issue was patched in ALAS2023-2025-1161.

NVD Description

Note: Versions mentioned in the description apply only to the upstream golang-src package and not the golang-src package as distributed by Amazon-Linux. See How to fix? for Amazon-Linux:2023 relevant fixed versions and status.

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.

CVSS Base Scores

version 3.1