{"answers":{"affected":"It affects 1 product.","exploited":"There is no known exploitation of CVE-2022-3172 in the wild and no public exploit code.","fix":"Apply the vendor's patch.","what":"CVE-2022-3172 is a medium-severity server-side request forgery vulnerability in Kubernetes kube-apiserver, published on 3 Nov 2023. An attacker needs administrator access to exploit it, and only if a user opens a file or follows a link."},"fix_prompt":"Check this codebase for CVE-2022-3172 and fix it if it is affected.\n\nWhat it is: CVE-2022-3172 is a medium-severity server-side request forgery vulnerability in Kubernetes kube-apiserver, published on 3 Nov 2023. An attacker needs administrator access to exploit it, and only if a user opens a file or follows a link.\nExploitation: There is no known exploitation of CVE-2022-3172 in the wild and no public exploit code.\n\nAffected product: Kubernetes kube-apiserver. No package-level version data is available, so check the vendor advisory linked from the reference page.\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2022-3172/ (Markdown: https://insights.sbomify.com/CVE-2022-3172/index.md)","id":"CVE-2022-3172","markdown":"https://insights.sbomify.com/CVE-2022-3172/index.md","name":"CVE-2022-3172","record":{"aliases":["DEBIAN-CVE-2022-3172","OESA-2022-1979","RHBA-2022:7200"],"analysis":{"component_type":"server_software","fix_type":"patch","impacts":["data_read","security_bypass"],"network_reachable":"yes","non_default_config":false,"product_category":"Kubernetes API server","requires_auth":"high_privilege","summary":"An aggregated API server can redirect client traffic to arbitrary URLs, potentially exposing credentials and triggering unexpected actions.","user_interaction":"required","vuln_class":"ssrf"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"kubernetes","cpe":[{"product":"apiserver","vendor":"kubernetes"}],"cvss":{"score":5.1,"severity":"medium","source":"cna","vector":"CVSS:3.1/AV:N/AC:H/PR:H/UI:R/S:C/C:L/I:L/A:L","version":"3.1"},"cwes":[{"id":"CWE-918","name":"Server-Side Request Forgery"}],"description":"A security issue was discovered in kube-apiserver that allows an \naggregated API server to redirect client traffic to any URL.  This could\n lead to the client performing unexpected actions as well as forwarding \nthe client's API server credentials to third parties.","ecosystems":["Red Hat:openshift:4.11::el8"],"exploits":{"exploitdb":0,"first_seen":"2024-04-02","github_poc":1,"max_poc_stars":0,"metasploit":0,"nuclei":0,"refs":[{"date":"2024-04-02T11:53:54Z","kind":"github_poc","ref":"https://github.com/UgOrange/CVE-2022-3172","stars":0,"title":null}],"tier":"poc_unverified"},"has_fix":true,"headline":"Kubernetes - API server - Aggregated API server can cause clients to be redirected (SSRF)","id":"CVE-2022-3172","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"ssrf","year":"2022"},"n_packages":2,"n_references":3,"next":{"headline":"Improper Authentication in snipe/snipe-it","id":"CVE-2022-3173"},"packages":[{"ecosystem":"Red Hat:openshift:4.11::el8","fixed":["0:4.11.0-202210122157.p0.g5157800.assembly.stream.el8"],"introduced":["0"],"last_affected":[],"package":"openshift","purl":"pkg:rpm/redhat/openshift","source":"RHBA-2022:7200"},{"ecosystem":"Red Hat:openshift:4.11::el8","fixed":["0:4.11.0-202210122157.p0.g5157800.assembly.stream.el8"],"introduced":["0"],"last_affected":[],"package":"openshift-hyperkube","purl":"pkg:rpm/redhat/openshift-hyperkube","source":"RHBA-2022:7200"}],"prev":{"headline":"Memory handling vulnerability in ProtocolBuffers Java core and lite","id":"CVE-2022-3171"},"products":["kube-apiserver"],"published":"2023-11-03","related":[],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"Red Hat","prefix":"RHBA"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"},{"class":"open","licence":"CC0","name":"PoC-in-GitHub"}],"ssvc":{"automatable":null,"exploitation":null,"technical_impact":null},"state":"PUBLISHED","updated":"2025-02-13","vendors":["Kubernetes"]},"summary":"An aggregated API server can redirect client traffic to arbitrary URLs, potentially exposing credentials and triggering unexpected actions.","url":"https://insights.sbomify.com/CVE-2022-3172/"}