ADVISORIES

GitHub Advisory Database

GHSA-pwqf-9h7j-7mv8

Incorrect threshold signature computation in TUF

Details

Impact

Metadadata signature verification, as used in tuf.client.updater, counted each of multiple signatures with identical authorized keyids separately towards the threshold. Therefore, an attacker with access to a valid signing key could create multiple valid signatures in order to meet the minimum threshold of keys before the metadata was considered valid.

The tuf maintainers would like to thank Erik MacLean of Analog Devices, Inc. for reporting this issue.

Patches

A fix is available in version 0.12.2 or newer.

Workarounds

No workarounds are known for this issue.

References

Affected packages

EcosystemPackageAffected versions
PyPItuf
All versions before 0.12.2 (fixed in 0.12.2)

References