Advisory

GHSA-846p-jg2w-w324

Also known as: CVE-2026-23991, GO-2026-4348

Summary

go-tuf affected by client DoS via malformed server response

Details

Security Disclosure: Client DoS via malformed server response

Summary

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.

Impact

Client crashes upon receiving and parsing malformed TUF metadata. This can cause long running services to enter an restart/crash loop.

Workarounds

None currently.

Affected code

The metadata.checkType function did not properly type assert the (untrusted) input causing it to panic on malformed data.

Severity

Medium Basis: The source's own band: MODERATE

Dates

Published
2026-01-21 16:19 UTC
Modified
2026-09-10 03:50 UTC

Affected packages and fixes

github.com/theupdateframework/go-tuf/v2

Go · All systems

Affected

  • introduced 0, fixed 2.3.1 (semver)

Fixed versions

2.3.1

Fix

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences