Theupdateframework go-tuf
go-tuf affected by client DoS via malformed server response
go-tuf is a Go implementation of The Update Framework (TUF). Starting in version 2.0.0 and prior to version 2.3.1, if the TUF repository (or any of its mirrors) returns invalid TUF metadata JSON (valid JSON but not well formed TUF metadata), the client will panic during parsing, causing a denial of service. The panic happens before any signature is validated. This means that a compromised repository/mirror/cache can DoS clients without having access to any signing key. Version 2.3.1 fixes the issue. No known workarounds are available.
First public PoC
None yetno public PoC found
Public PoCs00 on GitHub
CVSS7.5high · scored by NVD · CWE-617
CISA KEV
Not listednot known exploited
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
theupdateframework go-tuf
- >= 2.0.0, < 2.3.1
Fixed in 2.3.1
Mitigation
Upgrade go-tuf to 2.3.1 or later.
References
- Vendor advisory github.com/theupdateframework/go-tuf/security/…
- Patch github.com/theupdateframework/go-tuf/commit/73…
- Release notes github.com/theupdateframework/go-tuf/releases/…
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.No PoC repositories found yet.