CVE-2023-45825
MEDIUMDescription
ydb-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.
How to fix
Remediation is compiled from vendor and distribution security advisories. Always confirm against the linked source for your exact version and platform.
CVSS v3 Vector
Exploitability
Impact
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
Exploit Intelligence
Low risk: more likely to be exploited than 12% of all known CVEs.
References
Related Vulnerabilities
Other CWE-532 vulnerabilities, ordered by exploit likelihood. View all
| CVE | Severity | CVSS | EPSS | Exploited | Fix |
|---|---|---|---|---|---|
| CVE-2019-1622 | Medium | 5.3 | 79% | - | - |
| CVE-2020-35234 | High | 7.5 | 63% | - | Fix |
| CVE-2023-43261 | High | 7.5 | 60% | - | Fix |
| CVE-2024-20440 | High | 7.5 | 51% | - | - |
| CVE-2018-3609 | High | 8.1 | 22% | - | - |
| CVE-2018-8719 | Medium | 5.3 | 16% | - | - |
Embed a live status badge for CVE-2023-45825
Markdown
[](https://tridentstack.com/cve/CVE-2023-45825)HTML
<a href="https://tridentstack.com/cve/CVE-2023-45825"><img src="https://tridentstack.com/cve/badge/CVE-2023-45825.svg" alt="CVE-2023-45825"></a>Find and fix vulnerabilities across your fleet
TridentStack Control continuously scans your Windows, macOS, and Linux fleet for known vulnerabilities, prioritizes them by severity and active exploitation, and patches them automatically.
Start freeThis product uses NVD data but is not endorsed or certified by the NVD. EPSS scores courtesy of FIRST.org (https://www.first.org/epss). Source: CISA KEV Catalog. Data as of 2024-11-21.