Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

metrics: remove authority label on inbound http metrics #3547

Merged
merged 1 commit into from
Jan 24, 2025

Conversation

zaharidichev
Copy link
Member

This change removes the authority label on inbound HTTP requests.

The label is derived from the Host headers on inbound HTTP requests. This means
that the presence of this label can be exploited by a malicious client in order to produce
unbounded increase in the cardinality of the metrics reported in the proxy by sending
a large amount of HTTP requests with random Host headers.

Signed-off-by: Zahari Dichev [email protected]

@zaharidichev zaharidichev marked this pull request as ready for review January 23, 2025 08:32
@zaharidichev zaharidichev requested a review from a team as a code owner January 23, 2025 08:32
@olix0r olix0r enabled auto-merge (squash) January 24, 2025 16:50
@olix0r olix0r merged commit 3ab83ed into main Jan 24, 2025
15 checks passed
@olix0r olix0r deleted the zd/remove-inbound-authority-label branch January 24, 2025 16:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants