{"answers":{"affected":"3 open source packages ship an affected version, including k8s.io/apimachinery.","exploited":"There is no known exploitation of GHSA-74fp-r6jw-h4mp in the wild and no public exploit code.","fix":"Upgrade k8s.io/apimachinery to 0.0.0-20190927203648-9ce6eca90e73 or later.","what":"GHSA-74fp-r6jw-h4mp is a denial of service vulnerability in k8s.io/apimachinery, published on 2 Sep 2022. Any signed-in user can exploit it over the network, with no action from the victim."},"fix_prompt":"Check this codebase for GHSA-74fp-r6jw-h4mp and fix it if it is affected.\n\nWhat it is: GHSA-74fp-r6jw-h4mp is a denial of service vulnerability in k8s.io/apimachinery, published on 2 Sep 2022. Any signed-in user can exploit it over the network, with no action from the victim.\nExploitation: There is no known exploitation of GHSA-74fp-r6jw-h4mp in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- k8s.io/apimachinery (Go): affected all versions; fixed in 0.0.0-20190927203648-9ce6eca90e73\n- k8s.io/apimachinery (Go): affected all versions; fixed in 0.0.0-20190927203648-9ce6eca90e73\n- k8s.io/apimachinery (Go): affected all versions; fixed in 0.0.0-20190927203648-9ce6eca90e73\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/GHSA-74fp-r6jw-h4mp/ (Markdown: https://insights.sbomify.com/GHSA-74fp-r6jw-h4mp/index.md)","id":"GHSA-74fp-r6jw-h4mp","markdown":"https://insights.sbomify.com/GHSA-74fp-r6jw-h4mp/index.md","name":"GHSA-74fp-r6jw-h4mp","record":{"aliases":["GO-2022-0965"],"analysis":{"component_type":"server_software","fix_type":"upgrade","impacts":["denial_of_service"],"network_reachable":"yes","non_default_config":false,"product_category":"Kubernetes API server","requires_auth":"low_privilege","summary":"Authorized users can cause Kubernetes API server denial of service via malicious YAML or JSON payloads triggering excessive resource consumption.","user_interaction":"not_required","vuln_class":"denial_of_service"},"analysis_generated_by":"qwen3.8-flash-next","assigner":null,"cpe":[],"cvss":{"score":null,"severity":null,"source":null,"vector":null,"version":null},"cwes":[],"description":"CVE-2019-11253 is a denial of service vulnerability in the kube-apiserver, allowing authorized users sending malicious YAML or JSON payloads to cause kube-apiserver to consume excessive CPU or memory, potentially crashing and becoming unavailable. \n\nWhen creating a ConfigMap object which has recursive references contained in it, excessive CPU usage can occur. This appears to be an instance of a \"Billion Laughs\" attack which is quite well known as an XML parsing issue.\n\nApplying this manifest to a cluster causes the client to hang for some time with considerable CPU usage.\n\n```yaml\napiVersion: v1\ndata:\n  a: \u0026a [\"web\",\"web\",\"web\",\"web\",\"web\",\"web\",\"web\",\"web\",\"web\"]\n  b: \u0026b [*a,*a,*a,*a,*a,*a,*a,*a,*a]\n  c: \u0026c [*b,*b,*b,*b,*b,*b,*b,*b,*b]\n  d: \u0026d [*c,*c,*c,*c,*c,*c,*c,*c,*c]\n  e: \u0026e [*d,*d,*d,*d,*d,*d,*d,*d,*d]\n  f: \u0026f [*e,*e,*e,*e,*e,*e,*e,*e,*e]\n  g: \u0026g [*f,*f,*f,*f,*f,*f,*f,*f,*f]\n  h: \u0026h [*g,*g,*g,*g,*g,*g,*g,*g,*g]\n  i: \u0026i [*h,*h,*h,*h,*h,*h,*h,*h,*h]\nkind: ConfigMap\nmetadata:\n  name: yaml-bomb\n  namespace: default\n```\n### Specific Go Packages Affected\n- k8s.io/apimachinery/pkg/runtime/serializer/json\n- k8s.io/apimachinery/pkg/util/json","ecosystems":["Go"],"exploits":{"exploitdb":null,"first_seen":null,"github_poc":null,"max_poc_stars":null,"metasploit":null,"nuclei":null,"refs":[],"tier":null},"has_fix":true,"headline":"Kubernetes apimachinery packages vulnerable to unbounded recursion in JSON or YAML parsing","id":"GHSA-74fp-r6jw-h4mp","indexable":true,"kev":null,"kind":"advisory","links":{"ecosystem":"Go","product":null,"products":[],"type":"denial_of_service","year":"2022"},"n_packages":3,"n_references":null,"packages":[{"ecosystem":"Go","fixed":["0.0.0-20190927203648-9ce6eca90e73"],"introduced":["0"],"last_affected":[],"package":"k8s.io/apimachinery","purl":null,"source":"GHSA-74fp-r6jw-h4mp"},{"ecosystem":"Go","fixed":["0.0.0-20190927203648-9ce6eca90e73"],"introduced":["0"],"last_affected":[],"package":"k8s.io/apimachinery","purl":"pkg:golang/k8s.io/apimachinery","source":"GHSA-74fp-r6jw-h4mp"},{"ecosystem":"Go","fixed":["0.0.0-20190927203648-9ce6eca90e73"],"introduced":["0"],"last_affected":[],"package":"k8s.io/apimachinery","purl":"pkg:golang/k8s.io/apimachinery","source":"GO-2022-0965"}],"products":null,"published":"2022-09-02","related":[],"sources":[{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"CC BY 4.0","name":"Go Vulnerability Database","prefix":"GO"}],"ssvc":{"automatable":null,"exploitation":null,"technical_impact":null},"state":null,"updated":null,"vendors":null},"summary":"Authorized users can cause Kubernetes API server denial of service via malicious YAML or JSON payloads triggering excessive resource consumption.","url":"https://insights.sbomify.com/GHSA-74fp-r6jw-h4mp/"}