GHSA-v7hc-87jc-qrrr
eventing-github vulnerable to denial of service caused by improper enforcement of the timeout on individual read operations
Quick fix
GHSA-v7hc-87jc-qrrr — knative.dev/eventing-github: upgrade to the fixed version with the command below.
go get knative.dev/eventing-github@v0.39.1Details
### 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.
Are you affected?
Enter the version of the package you're using.
Affected packages
0Fixed in: 0.39.1go get knative.dev/eventing-github@v0.39.1References
- 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]