CVE-2025-47907 Affecting yam package, versions <0.2.27-r1


Severity

Recommended
low

Based on default assessment until relevant scores are available.

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 IDSNYK-CHAINGUARDLATEST-YAM-11559266
  • published9 Aug 2025
  • disclosed7 Aug 2025

Introduced: 7 Aug 2025

NewCVE-2025-47907  (opens in a new tab)

How to fix?

Upgrade Chainguard yam to version 0.2.27-r1 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream yam package and not the yam package as distributed by Chainguard. See How to fix? for Chainguard 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.