QID 995619
Date Published: 2023-10-25
QID 995619: GO (Go) Security Update for github.com/ydb-platform/ydb-go-sdk/v3 (GHSA-q24m-6h38-5xj8)
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. Printf func use placeholder %q for string representation of argument with quotes. If an argument implements interface fmt.Stringer, it will used through String() func. In other cases used fallback - serialization with reflection.
Successful exploitation of this vulnerability could lead to a security breach or could affect integrity, availability, and confidentiality.
Solution
Refer to Github security advisory GHSA-q24m-6h38-5xj8 for updates and patch information.
Vendor References
- GHSA-q24m-6h38-5xj8 -
github.com/advisories/GHSA-q24m-6h38-5xj8
CVEs related to QID 995619
Software Advisories
| Advisory ID | Software | Component | Link |
|---|---|---|---|
| GHSA-q24m-6h38-5xj8 | github.com/ydb-platform/ydb-go-sdk/v3 |
|