eventing-github vulnerable to denial of service caused by improper enforcement of the timeout on individual read operationsGHSA-v7hc-87jc-qrrr
Fix: knative-extensions/eventing-github#442GHSA-v7hc-87jc-qrrr is a security vulnerability in knative.dev/eventing-github. A fix is available for knative.dev/eventing-github — see the affected versions and patch details below.
Real-World Exposure
knative.dev/eventing-githubReal-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
Impact
The eventing-github cluster-local server doesn't set ReadHeaderTimeout which could lead do a DDoS attack, where a large group of users send requests to the server causing the server to hang for long enough to deny it from being available to other users, also know as a Slowloris attack.
Patches
Fix in v1.12.1 and v1.11.3
Credits
The vulnerability was reported by Ada Logics during an ongoing security audit of Knative involving Ada Logics, the Knative maintainers, OSTIF and CNCF.
Affected Packages
| Ecosystem | Package | Vulnerable range | Fix |
|---|---|---|---|
| 🐹Go | knative.dev/eventing-github | all versions | 0.39.1go get knative.dev/eventing-github@v0.39.1 |
Detection & mitigation playbook
Open-source dependencyDetect
Scan your dependency tree (package-lock.json, pnpm-lock.yaml, requirements.txt, go.sum, etc.) for knative.dev/eventing-github, including transitive dependencies — a direct dependency you never call can still pull in a vulnerable version.
Fix
Update knative.dev/eventing-github to 0.39.1 or later, then make sure no transitive (indirect) dependency still pins the vulnerable range — O3 confirms GHSA-v7hc-87jc-qrrr is resolved across your whole dependency graph.
Workarounds
If you can't upgrade right away: gate or disable the affected feature, validate untrusted input at the boundary, and avoid passing attacker-controlled data into the vulnerable path. O3's runtime protection blocks exploitation in production as an interim safeguard until the upgrade lands.
Frequently Asked Questions
Is GHSA-v7hc-87jc-qrrr in your dependencies?
Find it across Go, including transitive dependencies.