| Package | Affected versions | Patched versions |
|---|---|---|
| github.com/theupdateframework/go-tuf/v2 | < 2.3.1 | 2.3.1 |
| go-tuf | ≥ 2.0.0, < 2.3.1 | 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 DoS. 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.
Client crashes upon receiving and parsing malformed TUF metadata. This can cause long running services to enter an restart/crash loop.
None currently.
The metadata.checkType function did not properly type assert the (untrusted) input causing it to panic on malformed data.
Running one of these products? Scan your site to see whether it exposes a vulnerable version.
Scan my site free