GO-2022-0444

Source
https://pkg.go.dev/vuln/GO-2022-0444
Import Source
https://vuln.go.dev/ID/GO-2022-0444.json
JSON Data
https://api.osv.dev/v1/vulns/GO-2022-0444
Aliases
Published
2022-07-01T20:07:44Z
Modified
2024-05-20T16:03:47Z
Summary
Version rollback attack in github.com/theupdateframework/go-tuf
Details

The TUF client is vulnerable to rollback attacks, in which an attacker causes a client to install software older than the software the client previously knew to be available.

Database specific
{
    "review_status": "REVIEWED",
    "url": "https://pkg.go.dev/vuln/GO-2022-0444"
}
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.0

Ecosystem specific

{
    "imports": [
        {
            "path": "github.com/theupdateframework/go-tuf/client",
            "symbols": [
                "Client.Download",
                "Client.Init",
                "Client.Target",
                "Client.Update",
                "Client.UpdateRoots",
                "Client.decodeRoot",
                "Client.decodeTargets",
                "Client.decodeTimestamp",
                "Client.downloadMetaFromSnapshot",
                "Client.downloadMetaFromTimestamp"
            ]
        },
        {
            "path": "github.com/theupdateframework/go-tuf/util",
            "symbols": [
                "TimestampFileMetaEqual"
            ]
        }
    ]
}