GO-2022-1117

Source
https://pkg.go.dev/vuln/GO-2022-1117
Import Source
https://vuln.go.dev/ID/GO-2022-1117.json
JSON Data
https://api.test.osv.dev/v1/vulns/GO-2022-1117
Aliases
Published
2022-12-22T22:30:39Z
Modified
2024-05-20T16:03:47Z
Summary
Insufficient verification of proofs in github.com/codenotary/immudb
Details

In certain scenarios, a malicious immudb server can provide a falsified proof that will be accepted by the client SDK signing a falsified transaction replacing the genuine one. This situation can not be triggered by a genuine immudb server and requires the client to perform a specific list of verified operations resulting in acceptance of an invalid state value.

This vulnerability only affects immudb client SDKs, the immudb server itself is not affected by this vulnerability.

Database specific
{
    "review_status": "REVIEWED",
    "url": "https://pkg.go.dev/vuln/GO-2022-1117"
}
References

Affected packages

Go / github.com/codenotary/immudb

Package

Name
github.com/codenotary/immudb
View open source insights on deps.dev
Purl
pkg:golang/github.com/codenotary/immudb

Affected ranges

Type
SEMVER
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
1.4.1

Ecosystem specific

{
    "imports": [
        {
            "path": "github.com/codenotary/immudb/pkg/client/auditor",
            "symbols": [
                "defaultAuditor.Run",
                "defaultAuditor.audit"
            ]
        },
        {
            "path": "github.com/codenotary/immudb/pkg/client",
            "symbols": [
                "immuClient.SafeGet",
                "immuClient.SafeReference",
                "immuClient.SafeSet",
                "immuClient.SafeZAdd",
                "immuClient.StreamVerifiedGet",
                "immuClient.StreamVerifiedSet",
                "immuClient.VerifiedGet",
                "immuClient.VerifiedGetAt",
                "immuClient.VerifiedGetAtRevision",
                "immuClient.VerifiedGetSince",
                "immuClient.VerifiedSet",
                "immuClient.VerifiedSetReference",
                "immuClient.VerifiedSetReferenceAt",
                "immuClient.VerifiedTxByID",
                "immuClient.VerifiedZAdd",
                "immuClient.VerifiedZAddAt",
                "immuClient.VerifyRow",
                "immuClient._streamVerifiedGet",
                "immuClient._streamVerifiedSet",
                "immuClient.verifiedGet"
            ]
        },
        {
            "path": "github.com/codenotary/immudb/embedded/store",
            "symbols": [
                "ImmuStore.DualProof",
                "VerifyDualProof",
                "VerifyLinearProof"
            ]
        }
    ]
}