GHSA-28xx-pppm-vqff: Github.com/ydb platform/ydb go sdk/v3 Ydb-go-sdk's Transactions Are Not Committed Vulnerability

LOW
CWE-670
Published
Advisory Summary

GHSA-28xx-pppm-vqff is a LOW ydb-go-sdk's transactions are not committed vulnerability (CWE-670: Always-Incorrect Control Flow Implementation) affecting Github.com/ydb platform/ydb go sdk/v3 libraries in the Go ecosystem. The issue involves ydb-go-sdk's transactions are not committed using the `options.withcommit()` option on last call `table.transaction.execute` in transaction. Remediation is available by upgrading affected packages to version 3.134.2.

GHSA-28xx-pppm-vqff at a Glance

CVE Identifier N/A
GHSA Identifier GHSA-28xx-pppm-vqff
Severity LOW
CVSS v3.1 Base Score N/A
CWE Classification CWE-670: Always-Incorrect Control Flow Implementation
Affected Product Github.com/ydb platform/ydb go sdk/v3
Package Ecosystem Go
Published Date
Last Updated

How to Fix GHSA-28xx-pppm-vqff

To remediate this vulnerability, upgrade all affected Github.com/ydb platform/ydb go sdk/v3 dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.

github.com/ydb-platform/ydb-go-sdk/v3 fixed: 3.134.2
Upgrade github.com/ydb-platform/ydb-go-sdk/v3 to 3.134.2
Verify Direct and Transitive Dependencies

Run the following command in your project directory to verify that all resolved dependencies use the patched release:

inspect dependencies for github.com/ydb-platform/ydb-go-sdk/v3

How to Check if You Are Affected

To determine whether your application is affected by GHSA-28xx-pppm-vqff, inspect your project dependencies for Github.com/ydb platform/ydb go sdk/v3:

inspect dependencies for github.com/ydb-platform/ydb-go-sdk/v3

Analyze the terminal output to locate any version of Github.com/ydb platform/ydb go sdk/v3 in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 3.134.2), your application is affected.

Note: Verify declared build manifests and deployed runtime container environments.

Technical Details

Vulnerability Mechanism & Technical Analysis

This vulnerability is classified under CWE-670: Always-Incorrect Control Flow Implementation, where the code contains a control flow path that does not reflect the algorithm that the path is intended to implement, leading to incorrect behavior any time this path is navigated. In Github.com/ydb platform/ydb go sdk/v3, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.

Source Advisory Statement

### Impact Transactions were NOT committed despite the explicit `options.WithCommit` flag using table service client. Because of this, clients did not commit changes to the transaction, relying on the fact that the transaction commit was successful. This led (in rare cases) to a loss of data consistency. ### Patches `ydb-go-sdk` contains this problem in versions from [v3.104.6](https://github.com/ydb-platform/ydb-go-sdk/releases/tag/v3.104.6) to [v3.134.1](https://github.com/ydb-platform/ydb-go-sdk/releases/tag/v3.134.1). The fix for this problem has been released in version [v3.134.2](https://github.com/ydb-platform/ydb-go-sdk/releases/tag/v3.134.2) (https://github.com/ydb-platform/ydb-go-sdk/pull/2091). ### Workarounds 1) Use explicit `table.Transaction.CommitTx(ctx)` instead use `options.WithCommit()`. 2) Use transaction retrier `db.Table().DoTx(ctx, lambda)` instead explicit start transaction on session. 3) Use query client `db.Query().Do(ctx, lambda)` with the same logic in `lambda` ### Resources Commit with bug https://github.com/ydb-platform/ydb-go-sdk/commit/251128a64763555d9a79ee7a131dd154c9000eb9 Commit with fix https://github.com/ydb-platform/ydb-go-sdk/commit/25dcff4c41153f1f9413512ba12999b40bf7154d

GHSA-28xx-pppm-vqff Affected Github.com/ydb platform/ydb go sdk/v3 Versions

1 component(s)
Fixed Versions:
3.134.2
Product / Package Ecosystem Affected Versions Fixed Version
github.com/ydb-platform/ydb-go-sdk/v3
Go
≥ 3.104.6
< 3.134.2
3.134.2

References

Frequently Asked Questions

What is GHSA-28xx-pppm-vqff?
GHSA-28xx-pppm-vqff is a security vulnerability in Github.com/ydb platform/ydb go sdk/v3 involving ydb-go-sdk's transactions are not committed using the `options.WithCommit()` option on last call `table.Transaction.Execute` in transaction under CWE-670: Always-Incorrect Control Flow Implementation.
Which Github.com/ydb platform/ydb go sdk/v3 versions are affected?
Affected versions include releases prior to 3.134.2 across affected packages: github.com/ydb-platform/ydb-go-sdk/v3.
What version fixes GHSA-28xx-pppm-vqff?
Upgrading to 3.134.2 (or the latest patched release for your respective branch) resolves the vulnerability.
Is github.com/ydb-platform/ydb-go-sdk/v3 affected?
Yes, github.com/ydb-platform/ydb-go-sdk/v3 is affected in releases prior to 3.134.2. Upgrade your dependency to 3.134.2 or later.
What CWE is associated with GHSA-28xx-pppm-vqff?
GHSA-28xx-pppm-vqff is classified under CWE-670: Always-Incorrect Control Flow Implementation (The code contains a control flow path that does not reflect the algorithm that the path is intended to implement, leading to incorrect behavior any time this path is navigated.).
How can I check Go dependencies for GHSA-28xx-pppm-vqff?
Run the dependency tree command: 'inspect dependencies for github.com/ydb-platform/ydb-go-sdk/v3'. This command lists direct and transitive dependencies in your build configuration so you can verify if a vulnerable version is resolved.
Machine-readable OSV JSON OSV v1.5 Schema
Normalized schema output
{
  "schema_version" : "1.4.0",
  "id" : "GHSA-28xx-pppm-vqff",
  "modified" : "2026-06-08T20:10:28Z",
  "published" : "2026-04-30T18:21:04Z",
  "aliases" : [ ],
  "summary" : "ydb-go-sdk's transactions are not committed using the `options.WithCommit()` option on last call `table.Transaction.Execute` in transaction",
  "details" : "### Impact\nTransactions were NOT committed despite the explicit `options.WithCommit` flag using table service client. Because of this, clients did not commit changes to the transaction, relying on the fact that the transaction commit was successful. This led (in rare cases) to a loss of data consistency.\n\n### Patches\n`ydb-go-sdk` contains this problem in versions from [v3.104.6](https://github.com/ydb-platform/ydb-go-sdk/releases/tag/v3.104.6) to [v3.134.1](https://github.com/ydb-platform/ydb-go-sdk/releases/tag/v3.134.1). The fix for this problem has been released in version [v3.134.2](https://github.com/ydb-platform/ydb-go-sdk/releases/tag/v3.134.2) (https://github.com/ydb-platform/ydb-go-sdk/pull/2091).\n\n### Workarounds\n1) Use explicit `table.Transaction.CommitTx(ctx)` instead use `options.WithCommit()`.\n2) Use transaction retrier `db.Table().DoTx(ctx, lambda)` instead explicit start transaction on session.\n3) Use query client `db.Query().Do(ctx, lambda)` with the same logic in `lambda`\n\n### Resources\nCommit with bug https://github.com/ydb-platform/ydb-go-sdk/commit/251128a64763555d9a79ee7a131dd154c9000eb9\nCommit with fix https://github.com/ydb-platform/ydb-go-sdk/commit/25dcff4c41153f1f9413512ba12999b40bf7154d",
  "severity" : [ {
    "type" : "CVSS_V4",
    "score" : "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N/E:U"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "Go",
      "name" : "github.com/ydb-platform/ydb-go-sdk/v3"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "3.104.6"
      }, {
        "fixed" : "3.134.2"
      } ]
    } ],
    "database_specific" : {
      "last_known_affected_version_range" : "<= 3.134.1"
    }
  } ],
  "references" : [ {
    "type" : "WEB",
    "url" : "https://github.com/ydb-platform/ydb-go-sdk/security/advisories/GHSA-28xx-pppm-vqff"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/ydb-platform/ydb-go-sdk/pull/2091"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/ydb-platform/ydb-go-sdk/commit/251128a64763555d9a79ee7a131dd154c9000eb9"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/ydb-platform/ydb-go-sdk/commit/25dcff4c41153f1f9413512ba12999b40bf7154d"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/ydb-platform/ydb-go-sdk"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/ydb-platform/ydb-go-sdk/releases/tag/v3.104.6"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/ydb-platform/ydb-go-sdk/releases/tag/v3.134.1"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/ydb-platform/ydb-go-sdk/releases/tag/v3.134.2"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-670" ],
    "severity" : "LOW",
    "github_reviewed" : true,
    "github_reviewed_at" : "2026-04-30T18:21:04Z",
    "nvd_published_at" : null
  }
}