GO-2022-1004

Source
https://pkg.go.dev/vuln/GO-2022-1004
Import Source
https://vuln.go.dev/ID/GO-2022-1004.json
JSON Data
https://api.test.osv.dev/v1/vulns/GO-2022-1004
Aliases
Published
2022-09-21T15:07:26Z
Modified
2024-05-20T16:03:47Z
Summary
Improper handling of keys in github.com/theupdateframework/go-tuf
Details

An attacker with the ability to insert public keys into a TUF repository can cause clients to accept a staged change that has not been signed by the correct threshold of signatures.

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

Affected packages

Go / github.com/theupdateframework/go-tuf

Package

Name
github.com/theupdateframework/go-tuf
View open source insights on deps.dev
Purl
pkg:golang/github.com/theupdateframework/go-tuf

Affected ranges

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

Ecosystem specific

{
    "imports": [
        {
            "path": "github.com/theupdateframework/go-tuf/verify",
            "symbols": [
                "DB.Unmarshal",
                "DB.UnmarshalIgnoreExpired",
                "DB.UnmarshalTrusted",
                "DB.Verify",
                "DB.VerifyIgnoreExpiredCheck",
                "DB.VerifySignatures"
            ]
        }
    ]
}