google/go-eventlog · Security

Go Event Log: Denial of service through unknown event types

GHSA ID
GHSA-q8r2-h7c5-29vp
Severity
high
Published
Updated
CVSS v4
8.2 · CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N

Description

In github.com/google/go-eventlog/tcg, Event exposes UntrustedType, which returns the raw event type header from the TCG event log without verifying that the event data matches its digest. Callers that dispatch on Event.UntrustedType after ParseAndReplay can be tricked by a modified event type field for events whose digests are not verified against EventData.

-Note: The listed fix addresses an attacker-controlled unknown event type causing recursion or panic and denial of service.

CWEs

References