VDB
Sign up
—

GO-2022-1118

Improper validation of UUIDs in github.com/codenotary/immudb

Quick fix

GO-2022-1118 — github.com/codenotary/immudb: upgrade to the fixed version with the command below.

go get github.com/codenotary/immudb@v1.4.1

Details

A malicious server can trick a client into treating it as a different server by changing the reported UUID.

immudb client SDKs use the 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. The SDK does not validate this UUID and accepts any value reported by the server. A malicious server can therefore change the reported UUID and trick the client into treating it as a different server.

Are you affected?

Enter the version of the package you're using.

Affected packages

Go/github.com/codenotary/immudb
Introduced in: 0Fixed in: 1.4.1
Fixgo get github.com/codenotary/immudb@v1.4.1

References