Go Event Log: Denial of service through unknown event typesGHSA-q8r2-h7c5-29vp
Fix: google/go-eventlog#31GHSA-q8r2-h7c5-29vp is a security vulnerability in github.com/google/go-eventlog. A fix is available for github.com/google/go-eventlog — see the affected versions and patch details below.
Real-World Exposure
github.com/google/go-eventlogReal-time download stats are indexed for npm and PyPI packages. This vulnerability affects Go packages — download data is not available via public APIs for these ecosystems.
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.
Affected Packages
| Ecosystem | Package | Vulnerable range | Fix |
|---|---|---|---|
| 🐹Go | github.com/google/go-eventlog | all versions | 0.0.3-0.20261001001437-1991f15bc4b0go get github.com/google/go-eventlog@v0.0.3-0.20261001001437-1991f15bc4b0 |
Detection & mitigation playbook
Open-source dependencyDetect
Scan your dependency tree (package-lock.json, pnpm-lock.yaml, requirements.txt, go.sum, etc.) for github.com/google/go-eventlog, including transitive dependencies — a direct dependency you never call can still pull in a vulnerable version.
Fix
Update github.com/google/go-eventlog to 0.0.3-0.20261001001437-1991f15bc4b0 or later, then make sure no transitive (indirect) dependency still pins the vulnerable range — O3 confirms GHSA-q8r2-h7c5-29vp is resolved across your whole dependency graph.
Workarounds
Cap what an attacker can consume: apply request size, rate and timeout limits in front of the affected component, and run it with memory and CPU limits so exhaustion degrades one worker rather than the whole service.
Frequently Asked Questions
Is GHSA-q8r2-h7c5-29vp in your dependencies?
Find it across Go, including transitive dependencies.