go-tuf does not correctly implement the client workflow for updating the metadata files for roles other than the root role. Specifically, checks for rollback attacks are not implemented correctly meaning an attacker can cause clients to install software that is older than the software which the client previously knew to be available, and may include software with known vulnerabilities.
In more detail, the client code of go-tuf has several issues in regards to preventing rollback attacks:
A fix is available in version 0.3.0 or newer.
No workarounds are known for this issue apart from upgrading.
If you have any questions or comments about this advisory:
{
"cwe_ids": [
"CWE-354"
],
"github_reviewed": true,
"github_reviewed_at": "2022-05-24T20:50:46Z",
"nvd_published_at": "2022-05-05T23:15:00Z",
"severity": "HIGH"
}