Medium, CVSS 5.3GoPublished
Knative Serving vulnerable to attacker-controlled pod causing denial of service of autoscaler
CVE-2023-48713 · GHSA-qmvj-4qr9-v547
- Affected
- Go knative.dev/serving < 0.39.0
- Fixed in
- 0.39.0· Vendor fix available
- Issue
- A vulnerability was fond in Knative Serving that could allow an attacker to crash the Knative Serving autoscaler resulting in a denial of service. The attacker would need to have compromised one pod in the Knative Serving deployment, and with that position they could launch the attack against the autoscaler. When the autoscaler scrapes the metrics of pods, it sends a request to the /metrics endpoint of each pod and reads the response. The attacker would need to detect the request from the autoscaler to the /metrics endpoint of the pod they had compromised and send a malicious response back to the autoscaler. At this point, the autoscaler would crash. The root cause of the vulnerability was a memory exhaustion issue in the autoscaler that the attacker could trigger with the malicious reponse. The vulnerability would allow a privilege escalation by the attacker from controlling one point to having negative impact on the entire Knative Serving deployment. Impact All users are…
Recommended action: Upgrade to 0.39.0 or later, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.