-
Notifications
You must be signed in to change notification settings - Fork 288
Open
Labels
kind/securityCategorizes issue or PR as related to a security issueCategorizes issue or PR as related to a security issuelifecycle/frozenIndicates that an issue or PR should not be auto-closed due to staleness.Indicates that an issue or PR should not be auto-closed due to staleness.
Description
Describe the bug
From the Tekton security audit:
Tekton Dashboard does not enforce rate limiting of HTTP requests. As a result, we were able to issue over a thousand requests in just over a minute.
Processing requests sent at such a high rate can consume an inordinate amount of resources, increasing the risk of denial-of-service attacks through excessive resource consumption. In particular, we were able to create hundreds of running “import resources” pods that were able to consume nearly all the host’s memory in the span of a minute.
Expected behaviour
Short term, implement rate limiting on all API endpoints.
Long term, run stress tests to ensure that the rate limiting enforced by Tekton Dashboard is robust.
Environment details
- Versions:
- Tekton Dashboard: v0.24
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
kind/securityCategorizes issue or PR as related to a security issueCategorizes issue or PR as related to a security issuelifecycle/frozenIndicates that an issue or PR should not be auto-closed due to staleness.Indicates that an issue or PR should not be auto-closed due to staleness.