knative.dev/pkg admission webhooks allow unbounded request-body memory exhaustion
- Published
- Last modified
- Where the record stands: published, rejected by its publisher, or superseded by another id.What do these mean? →
- published
- Whether CISA lists it in its Known Exploited Vulnerabilities catalog: proof that attackers are using it.What do these mean? →
- Not listed in CISA KEV
- Fix
- Fixed in 0.0.0-20260531000007-52dbd5ece63f
- Whether working attack code is public (Exploit-DB, Metasploit, Nuclei or GitHub). Public code makes attacks easier.What do these mean? →
- None on Exploit-DB, Metasploit or GitHub
Summary
The knative.dev/pkg admission webhook server, which many Kubernetes projects share, can be made to use unlimited memory by a single oversized request from within the cluster network. This can crash the controller pod, which may block admissions for dependent projects such as Knative, Tekton, KEDA, Sigstore policy-controller, and Kpack.
Summarized by anthropic/claude-haiku-5.5. Verify details against the original sources.
Read the original description
Knative pkg provides common packages shared across Knative repositories. Prior to 0.0.0-20260531000007-52dbd5ece63f, the knative.dev/pkg/webhook admissionHandler in webhook/admission.go decodes an attacker-supplied AdmissionReview through json.NewDecoder(io.TeeReader(r.Body, &bodyBuffer)) under an http.HandlerFunc without an http.MaxBytesReader or equivalent body-size limit. A pod-network client can send one oversized POST to an admission webhook, causing the decoder and bodyBuffer to retain amplified copies of the request until the controller pod exhausts memory and is OOM-killed. Every downstream consumer using the shared webhook server inherits the vulnerable behavior, including Knative, Tekton, KEDA, Sigstore policy-controller, and Kpack. For consumers configured with failurePolicy=Fail, loss of the controller can interrupt admission; with failurePolicy=Ignore, the affected webhook is unavailable while other admissions continue. This issue is fixed in version 0.0.0-20260531000007-52dbd5ece63f.
Timeline
- CVE published
- First seen by cve.now
Affected versions
- knative pkg
fixed in 0.0.0-20260531000007-52dbd5ece63f
- knative.dev/pkgGo
fixed in 0.0.0-20260531000007-52dbd5ece63f