CVE-2022-3172: Kubernetes - API server - Aggregated API server can cause clients to be redirected (SSRF)

Published Sep 16, 2022
·
Updated

A 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.

Other sources

A security issue was discovered in kube-apiserver that allows an aggregated API server to redirect client traffic to any URL. This issue leads to the client performing unexpected actions and forwarding the client's API server credentials to third parties.

Kubernetes kube-apiserver is vulnerable to server-side request forgery, caused by a flaw with allowing an aggregated API server to redirect client traffic to any URL. By sending a specially-crafted request, an attacker could exploit this vulnerability to conduct SSRF attack to unexpected actions and the client's API server credentials to third parties.

— IBM

Affected Software

16 affected componentsFixes available
redhat/openshift<0:4.10.0-202303221742.p0.g16bcd69.assembly.stream.el8
0:4.10.0-202303221742.p0.g16bcd69.assembly.stream.el8
redhat/openshift<0:4.11.0-202210122157.p0.g5157800.assembly.stream.el8
0:4.11.0-202210122157.p0.g5157800.assembly.stream.el8
redhat/openshift<0:4.12.0-202301042257.p0.g77bec7a.assembly.stream.el9
0:4.12.0-202301042257.p0.g77bec7a.assembly.stream.el9
Kubernetes apiserver<=1.21.14
Kubernetes apiserver>=1.22.0<1.22.14
Kubernetes apiserver>=1.23.0<1.23.11
Kubernetes apiserver>=1.24.0<1.24.5
Kubernetes apiserver=1.25.0
redhat/kube-apiserver<1.25.1
1.25.1
redhat/kube-apiserver<1.24.5
1.24.5
redhat/kube-apiserver<1.23.11
1.23.11
redhat/kube-apiserver<1.22.14
1.22.14
debian/kubernetes<1.20.5+really1.20.2-1
1.20.5+really1.20.2-1
debian/kubernetes<1.20.5+really1.20.2-1
1.20.5+really1.20.2-1
debian/kubernetes<1.20.5+really1.20.2-1
1.20.5+really1.20.2-1
debian/kubernetes
1.20.5+really1.20.2-1

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade redhat/openshift to a version that resolves this vulnerability.

    Fixed in 0:4.10.0-202303221742.p0.g16bcd69.assembly.stream.el8
  2. Upgrade

    Upgrade redhat/openshift to a version that resolves this vulnerability.

    Fixed in 0:4.11.0-202210122157.p0.g5157800.assembly.stream.el8
  3. Upgrade

    Upgrade redhat/openshift to a version that resolves this vulnerability.

    Fixed in 0:4.12.0-202301042257.p0.g77bec7a.assembly.stream.el9
  4. Upgrade

    Upgrade redhat/kube-apiserver to a version that resolves this vulnerability.

    Fixed in 1.25.1
  5. Upgrade

    Upgrade redhat/kube-apiserver to a version that resolves this vulnerability.

    Fixed in 1.24.5
  6. Upgrade

    Upgrade redhat/kube-apiserver to a version that resolves this vulnerability.

    Fixed in 1.23.11
  7. Upgrade

    Upgrade redhat/kube-apiserver to a version that resolves this vulnerability.

    Fixed in 1.22.14
  8. Upgrade

    Upgrade debian/kubernetes to a version that resolves this vulnerability.

    Fixed in 1.20.5+really1.20.2-1

Event History

Sep 16, 2022
CVE Published
12:00 AM
Data Sourced
12:00 AM
RemedyDescriptionSeverityWeaknessAffected Software
Nov 30, 2022
Data Sourced
via IBM·12:00 AM
DescriptionSeverityAffected Software
Nov 3, 2023
CVE Published
via MITRE·06:11 PM
Data Sourced
via OSV·08:15 PM
DescriptionAffected Software
Nov 14, 2023
Updated
04:26 PM
SeverityWeakness
Dec 21, 2023
Updated
10:15 PM
Affected Software
Dec 28, 2023
Data Sourced
via Red Hat·02:20 PM
DescriptionSeverityAffected Software
Apr 2, 2024
Exploit Published
via GitHub·11:53 AM
Aug 3, 2024
Data Sourced
via MITRE·01:00 AM
DescriptionSeverityWeakness
Feb 13, 2025
Data Sourced
via NVD·05:15 PM
DescriptionSeverityWeaknessAffected Software
Updated
via NVD·05:15 PM
DescriptionAffected Software
Nov 3, 2026
Data Sourced
via OSV·08:03 AM
Severity

Parent advisories

This vulnerability appears in the following advisories.

Frequently Asked Questions

1

What is the vulnerability ID?

The vulnerability ID is CVE-2022-3172.

2

What is the severity of CVE-2022-3172?

The severity of CVE-2022-3172 is medium.

3

What is the affected software of CVE-2022-3172?

The affected software of CVE-2022-3172 is kube-apiserver.

4

How does CVE-2022-3172 affect kube-apiserver?

CVE-2022-3172 affects kube-apiserver by allowing an aggregated API server to redirect client traffic to any URL, leading to potential server-side request forgery (SSRF) attacks.

5

How can I fix CVE-2022-3172?

To fix CVE-2022-3172, you should update kube-apiserver to version 1.25.1 or apply the recommended patches provided by Red Hat.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203