CVE-2022-39199: Insufficient Verification of Data Authenticity
(updated )
immudb is a database with built-in cryptographic proof and verification. immudb client SDKs use server’s UUID to distinguish between different server instance so that the client can connect to different immudb instances and keep the state for multiple servers. SDK does not validate this uuid and can accept any value reported by the server. A malicious server can change the reported UUID tricking the client to treat it as a different server thus accepting a state completely irrelevant to the one previously retrieved from the server. This issue has been patched in version 1.4.1. As a workaround, when initializing an immudb client object a custom state handler can be used to store the state. Providing custom implementation that ignores the server UUID can be used to ensure that even if the server changes the UUID, client will still consider it to be the same server.
References
- github.com/advisories/GHSA-6cqj-6969-p57x
- github.com/codenotary/immudb/commit/cade04756ff3f0a3b9e8d24149062744574adf5d
- github.com/codenotary/immudb/releases/tag/v1.4.1
- github.com/codenotary/immudb/security/advisories/GHSA-6cqj-6969-p57x
- nvd.nist.gov/vuln/detail/CVE-2022-39199
- pkg.go.dev/vuln/GO-2022-1118
Detect and mitigate CVE-2022-39199 with GitLab Dependency Scanning
Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →