{"answers":{"affected":"2 open source packages ship an affected version, including k8s.io/kubernetes. It affects 1 product.","exploited":"There is no known exploitation of CVE-2020-8561 in the wild and no public exploit code.","fix":"Upgrade to a fixed version.","what":"CVE-2020-8561 is a medium-severity server-side request forgery vulnerability in Kubernetes Kubernetes, published on 20 Sep 2021. An attacker needs administrator access to exploit it, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2020-8561 and fix it if it is affected.\n\nWhat it is: CVE-2020-8561 is a medium-severity server-side request forgery vulnerability in Kubernetes Kubernetes, published on 20 Sep 2021. An attacker needs administrator access to exploit it, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2020-8561 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- k8s.io/kubernetes (Go): affected all versions up to 1.22.2; no fix listed\n- k8s.io/kubernetes (Go): affected all versions up to 1.22.2; no fix listed\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-2020-8561/ (Markdown: https://insights.sbomify.com/CVE-2020-8561/index.md)","id":"CVE-2020-8561","markdown":"https://insights.sbomify.com/CVE-2020-8561/index.md","name":"CVE-2020-8561","record":{"aliases":["AZL-89315","DEBIAN-CVE-2020-8561","GHSA-74j8-88mm-7496","openSUSE-SU-2026:11388-1","openSUSE-SU-2026:11389-1","openSUSE-SU-2026:11390-1","openSUSE-SU-2026:11391-1"],"analysis":{"component_type":"server_software","fix_type":"upgrade","impacts":["data_read","security_bypass"],"network_reachable":"yes","non_default_config":true,"product_category":"Kubernetes API server","requires_auth":"high_privilege","summary":"Attackers controlling webhook responses can redirect API server requests to private networks, potentially exposing sensitive data in logs if verbose logging is enabled.","user_interaction":"not_required","vuln_class":"ssrf"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"kubernetes","cpe":[{"product":"kubernetes","vendor":"kubernetes"}],"cvss":{"score":4.1,"severity":"medium","source":"cna","vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:L/I:N/A:N","version":"3.1"},"cwes":[{"id":"CWE-610","name":"Externally Controlled Reference to a Resource in Another Sphere"},{"id":"CWE-441","name":"Unintended Proxy or Intermediary"}],"description":"A security issue was discovered in Kubernetes where actors that control the responses of MutatingWebhookConfiguration or ValidatingWebhookConfiguration requests are able to redirect kube-apiserver requests to private networks of the apiserver. If that user can view kube-apiserver logs when the log level is set to 10, they can view the redirected responses and headers in the logs.","ecosystems":["Go","openSUSE:Tumbleweed"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":true,"headline":"Webhook redirect in kube-apiserver","id":"CVE-2020-8561","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Go","product":"kubernetes:kubernetes","products":["kubernetes:kubernetes"],"type":"ssrf","year":"2020"},"n_packages":6,"n_references":4,"next":{"headline":"Bypass of Kubernetes API Server proxy TOCTOU","id":"CVE-2020-8562"},"packages":[{"ecosystem":"Go","fixed":[],"introduced":["0"],"last_affected":["1.22.2"],"package":"k8s.io/kubernetes","purl":null,"source":"GHSA-74j8-88mm-7496"},{"ecosystem":"Go","fixed":[],"introduced":["0"],"last_affected":["1.22.2"],"package":"k8s.io/kubernetes","purl":"pkg:golang/k8s.io/kubernetes","source":"GHSA-74j8-88mm-7496"},{"ecosystem":"openSUSE:Tumbleweed","fixed":["1.33.13-2.1"],"introduced":["0"],"last_affected":[],"package":"kubernetes1.33","purl":"pkg:rpm/opensuse/kubernetes1.33\u0026distro=openSUSE%20Tumbleweed","source":"openSUSE-SU-2026:11388-1"},{"ecosystem":"openSUSE:Tumbleweed","fixed":["1.34.10-1.1"],"introduced":["0"],"last_affected":[],"package":"kubernetes1.34","purl":"pkg:rpm/opensuse/kubernetes1.34\u0026distro=openSUSE%20Tumbleweed","source":"openSUSE-SU-2026:11389-1"},{"ecosystem":"openSUSE:Tumbleweed","fixed":["1.35.7-1.1"],"introduced":["0"],"last_affected":[],"package":"kubernetes1.35","purl":"pkg:rpm/opensuse/kubernetes1.35\u0026distro=openSUSE%20Tumbleweed","source":"openSUSE-SU-2026:11390-1"},{"ecosystem":"openSUSE:Tumbleweed","fixed":["1.36.3-1.1"],"introduced":["0"],"last_affected":[],"package":"kubernetes1.36","purl":"pkg:rpm/opensuse/kubernetes1.36\u0026distro=openSUSE%20Tumbleweed","source":"openSUSE-SU-2026:11391-1"}],"prev":{"headline":"Privilege escalation from compromised node to cluster","id":"CVE-2020-8559"},"products":["Kubernetes"],"published":"2021-09-20","related":[{"cvss_score":9.8,"headline":"Privilege Escalation in Kubernetes","id":"CVE-2018-1002105","kev_date_added":null,"published":"2018-12-05"},{"cvss_score":9.8,"headline":"Kubernetes Privilege Escalation","id":"CVE-2017-1000056","kev_date_added":null,"published":"2017-07-13"},{"cvss_score":9.8,"headline":"Authorization bypass in Openshift","id":"CVE-2016-1906","kev_date_added":null,"published":"2016-02-03"},{"cvss_score":8.8,"headline":"Kubernetes - Windows nodes - Insufficient input sanitization leads to privilege escalation","id":"CVE-2023-3676","kev_date_added":null,"published":"2023-10-31"},{"cvss_score":8.8,"headline":"Kubernetes - Windows nodes - Insufficient input sanitization leads to privilege escalation","id":"CVE-2023-3955","kev_date_added":null,"published":"2023-10-31"},{"cvss_score":8.8,"headline":"Symlink Exchange Can Allow Host Filesystem Access","id":"CVE-2021-25741","kev_date_added":null,"published":"2021-09-20"},{"cvss_score":8.8,"headline":"Path traversal in Kubernetes","id":"CVE-2017-1002101","kev_date_added":null,"published":"2018-03-13"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"CC BY 4.0","name":"SUSE","prefix":"openSUSE"},{"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)"}],"ssvc":{"automatable":null,"exploitation":null,"technical_impact":null},"state":"PUBLISHED","updated":"2026-06-01","vendors":["Kubernetes"]},"summary":"Attackers controlling webhook responses can redirect API server requests to private networks, potentially exposing sensitive data in logs if verbose logging is enabled.","url":"https://insights.sbomify.com/CVE-2020-8561/"}