CVE-2023-45825

Summary

CVECVE-2023-45825
StatePUBLIC
Assigner[email protected]
Source PriorityCVE Program / NVD first with legacy fallback
Published2023-10-19 19:15:00 UTC
Updated2023-10-27 18:17:00 UTC
Descriptionydb-go-sdk is a pure Go native and database/sql driver for the YDB platform. Since ydb-go-sdk v3.48.6 if you use a custom credentials object (implementation of interface Credentials it may leak into logs. This happens because this object could be serialized into an error message using `fmt.Errorf("something went wrong (credentials: %q)", credentials)` during connection to the YDB server. If such logging occurred, a malicious user with access to logs could read sensitive information (i.e. credentials) information and use it to get access to the database. ydb-go-sdk contains this problem in versions from v3.48.6 to v3.53.2. The fix for this problem has been released in version v3.53.3. Users are advised to upgrade. Users unable to upgrade should implement the `fmt.Stringer` interface in your custom credentials type with explicit stringify of object state.

Risk And Classification

Problem Types: CWE-532

NVD Known Affected Configurations (CPE 2.3)

TypeVendorProductVersionUpdateEditionLanguage
Application Ydb Ydb-go-sdk All All All All

References

ReferenceSourceLinkTags
* Refactored credentials options (from funcs to interfaces and types) by asmyasnikov · Pull Request #859 · ydb-platform/ydb-go-sdk · GitHub MISC github.com
github.com/ydb-platform/ydb-go-sdk/blob/master/credentials/credentials.go MISC github.com
github.com/ydb-platform/ydb-go-sdk/blob/v3.48.6/internal/balancer/balanc... MISC github.com
Token in custom credentials object can leak through logs · Advisory · ydb-platform/ydb-go-sdk · GitHub MISC github.com
CVE Program record CVE.ORG www.cve.org canonical
NVD vulnerability detail NVD nvd.nist.gov canonical, analysis

Legacy QID Mappings

  • 995619 GO (Go) Security Update for github.com/ydb-platform/ydb-go-sdk/v3 (GHSA-q24m-6h38-5xj8)

© CVE.report 2026

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

Free CVE JSON API cve.report/api

CVE.report and Source URL Uptime Status status.cve.report