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

Add env var to disable admin shutdown endpoint #3014

Merged
merged 1 commit into from
Jun 14, 2024
Merged

Conversation

adleong
Copy link
Member

@adleong adleong commented Jun 11, 2024

The /shutdown admin endpoint of the proxy can potentially be a DOS vector, for example, in the case of a SSRF attack.

We add a LINKERD2_PROXY_SHUTDOWN_ENDPOINT_ENABLED environment variable to control if the /shutdown endpoint is enabled. Disabling this endpoint removes this DOS vector.

Signed-off-by: Alex Leong <alex@buoyant.io>
@olix0r olix0r merged commit 49336fd into main Jun 14, 2024
15 checks passed
@olix0r olix0r deleted the alex/disable-shutdown branch June 14, 2024 04:47
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