Skip to main content
VulnerabilityPublished

knative.dev/pkg admission webhooks allow unbounded request-body memory exhaustion

Affects knative.dev/pkgSource GCVE Database

0

CVSS 6.5 Medium : upgrade to 0.0.0-20260531000007-52dbd5ece63f when convenient.

Data as of 28 Oct 2026, 22:28 UTC

CVSS 3.1 base score
6.5Medium
How severe the flaw is on the 0–10 CVSS scale.
Patch
Available – fixed in 0.0.0-20260531000007-52dbd5ece63f
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

What to do

Upgrade knative.dev/pkg to 0.0.0-20260531000007-52dbd5ece63f.

Affected software

ProductAffectedFixed in
Goknative.dev/pkgAffected
  • <0.0.0-20260531000007-52dbd5ece63f
Fixed in
  • 0.0.0-20260531000007-52dbd5ece63f

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

AI-suggested

A patch is available in knative.dev/pkg version 0.0.0-20260531000007-52dbd5ece63f that adds limits on the HTTP request body size to prevent unbounded memory allocation. Users should upgrade to this fixed version or later. Until patched, administrators should consider network-level controls to restrict access to admission webhook endpoints or deploy admission webhooks with stricter resource limits and monitoring. The vendor advisory confirms the availability of an official fix.

Description

The knative.dev/pkg admission webhook handler lacks an upper bound on the HTTP request body size, leading to unbounded memory consumption. This causes the controller pod to exhaust memory and be OOM-killed when processing large POST requests. The vulnerability affects all projects using this webhook scaffolding, including Knative serving/eventing, Tekton Pipelines/Triggers, KEDA, Sigstore policy-controller, and Kpack. The peak memory usage can be approximately 4.5 times the request body size due to internal buffering and copying. This issue is confirmed in the main branch and all releases shipping the vulnerable handler code. A fix is available in version 0.0.0-20260531000007-52dbd5ece63f.

References

Community reviews

Loading reviews…