CVE-2022-3172
Official description Straight from the sourceThe vendor's or NVD's own wording, published unedited. Authoritative, but often terse — it says what broke, rarely what to do.
NVD · uneditedA security issue was discovered in kube-apiserver that allows an aggregated API server to redirect client traffic to any URL. This could lead to the client performing unexpected actions as well as forwarding the client's API server credentials to third parties.
Technical summary Written by usOur analysis, written from the advisory, the CVSS vector and the affected-version data. It adds context the advisory leaves out, and never invents facts that are not in the source.
dbcve analysis · high confidenceIn kube-apiserver, an aggregated API server can redirect client traffic to any URL, causing clients (like kubectl) to perform unintended actions and exposing API server credentials to third parties. This is a server-side request forgery (SSRF) where the aggregated API server acts as a redirect handler.
Verify against the referenced sources before acting — the references below are authoritative for this CVE, this summary is not.
Affected products & versions What the vendor confirmedThe version ranges the vendor confirmed as vulnerable. If your version sits inside a range here, treat yourself as exposed until you have upgraded.
NVD · CPE data<= 1.21.14>= 1.22.0, < 1.22.14>= 1.23.0, < 1.23.11>= 1.24.0, < 1.24.5= 1.25.0CVSS breakdown How the score is builtThe industry scoring standard. It rates how the flaw is reached, what it takes to exploit, and what an attacker gains — the score is derived from those, not the other way round.
From the vector- Attack vector
- Network
- Complexity
- Low
- Privileges
- None
- User interaction
- Required
- Scope
- Changed
- Confidentiality
- High
- Integrity
- Low
- Availability
- None
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:L/A:N
Am I affected? How to checkSteps we derive from the advisory and the affected-version data, so you can decide whether this CVE reaches your setup. They are a guide, not a scan — your own configuration is the authority.
dbcve checksWork through these to decide whether this CVE applies to you.
-
Identify kube-apiserver versionRun `kubectl get pods -n kube-system -o jsonpath='{.items[*].spec.containers[?(@.name=="kube-apiserver")].image}'` to get the image, or check the binary with `kube-apiserver --version`Affected if The version falls within <= 1.21.14, 1.22.0-1.22.13, 1.23.0-1.23.10, 1.24.0-1.24.4, or 1.25.0
-
Check for aggregated API serversRun `kubectl get apiservices` to list all registered API services, or inspect cluster for deployed aggregated API servers (look for custom APIService resources or pods in non-system namespaces serving aggregated API endpoints)Affected if Any aggregated API servers are registered in the cluster (the vulnerability only applies when aggregated API servers are present)
-
Inspect API service configurationsReview the APIService definitions with `kubectl get apiservices -o yaml` and check for any that point to untrusted or external servicesAffected if APIService resources exist that connect to aggregated API servers not directly managed by the cluster administrator
You are affected if your kube-apiserver version is vulnerable AND you have any aggregated API servers configured in your cluster.
Generated from the published advisory. Verify against your own configuration.
Remediation Closing itWhat it takes to close this. Where a vendor fix exists we point at it; where none exists we say so plainly, and can build one. Effort estimates are scoped from the advisory, not from your codebase.
dbcve · scoped1.22.141.23.111.24.5
Upgrade kube-apiserver to the patched Kubernetes version, or implement controls to restrict which aggregated API servers are trusted and monitor for suspicious redirect behavior.
Upgrade kube-apiserver to 1.21.15+/1.22.15+/1.23.12+/1.24.6+ depending on your current minor version branch
- Identify the current Kubernetes version of the kube-apiserver using: kubectl version --short or checking the apiserver manifest
- For Kubernetes 1.21.x: Upgrade kube-apiserver to version 1.21.15 or later
- For Kubernetes 1.22.x: Upgrade kube-apiserver to version 1.22.15 or later
- For Kubernetes 1.23.x: Upgrade kube-apiserver to version 1.23.12 or later
- For Kubernetes 1.24.x: Upgrade kube-apiserver to version 1.24.6 or later
- After upgrade, verify the kube-apiserver pods are running: kubectl get pods -n kube-system -l component=kube-apiserver
- Ensure aggregated API servers are reviewed to not exploit the redirect vulnerability
Generated from the published advisory — verify against the referenced sources before acting.
- Consultation6.0 h
- Implementation12.0 h
- Testing6.0 h
- Review / QA4.0 h
An estimate, not a bill — we confirm scope with you before any work starts. Need it this week? Rush from $7,968.
Scan for this in your stack
Free · runs locallyCheck whether your project pulls in CVE-2022-3172 — or any other known-vulnerable package — straight from your lock files. Free and open source; it runs locally and uploads nothing.
References Go to the primary sourcePrimary sources — vendor advisories, patches and trackers. Where our summary and a reference disagree, the reference wins.
Primary sourcesPractitioner notes
ContributedPeer-ranked notes from engineers who’ve handled CVE-2022-3172 in production — separate from our analysis above.
The advisory tells you what broke. It rarely tells you what actually worked. If you’ve dealt with this one, that detail is what the next engineer is searching for.
- The version that genuinely resolved it — not the one the vendor claimed
- A config change or rule that shut the vector down
- A gotcha in the upgrade path that cost you an afternoon
No notes yet
Be the first to add a field note for this CVE — a mitigation you’ve verified, a version caveat, or a link to a working fix. Sign in above to contribute.
A place for practitioners to share what actually worked: a mitigation you’ve tested, a configuration change, a version- or environment-specific caveat, or a link to a verified patch. The most useful notes rise to the top as peers upvote them, so the signal stays high.
- Verified mitigations, workarounds, and config changes
- Version or environment caveats, and links to real fixes
- No weaponised exploit code, or anything meant to cause harm
- No spam, self-promotion, credentials, or personal data