GitHub Advisoryadvisory · Go
GHSA-v7hc-87jc-qrrr eventing-github vulnerable to denial of service caused by improper enforcement of the timeout on individual read operations
LOW
Official page ↗
- Ecosystem
- Go
- Packages
- knative.dev/eventing-github
- Severity
- Low
- Weaknesses
- CWE-400
- Reviewed
- 2023-12-06
Affected packages
• Go knative.dev/eventing-github: < 0.39.1 → fixed in 0.39.1
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.
Related
Weakness · CWE (1)
- CWE-400 Uncontrolled Resource Consumption weakness
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