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 | Affected | Fixed | Record |
|---|---|---|---|---|
| Go | knative.dev/eventing-github | < 0.39.1 | 0.39.1 | GHSA-v7hc-87jc-qrrr |
References
- https://github.com/knative-extensions/eventing-github/security/advisories/GHSA-v7hc-87jc-qrrr web
- https://github.com/knative-extensions/eventing-github/pull/442 web
- https://github.com/knative-extensions/eventing-github/pull/446 web
- https://github.com/knative-extensions/eventing-github/pull/447 web
- https://github.com/knative-extensions/eventing-github/commit/ea5cb8b25fc3410dde45ce2eb95454e4cfe77c40 web
- https://github.com/knative-extensions/eventing-github package