# GO-2022-0965 - Unbounded recursion in JSON parsing in k8s.io/apimachinery

Source: https://junglewise.ai/threats/go-2022-0965-unbounded-recursion-in-json-parsing-in-k8s-io-apimachinery-d969318b  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2022-09-02  
License: CC BY 4.0 with a link back

Severity: info · Published 2022-09-02

Unbounded recursion in JSON parsing in k8s.io/apimachinery

Technologies: [k8s.io/apimachinery (Go)](https://junglewise.ai/threats/technologies/k8s-io-apimachinery). Vendors: [Go](https://junglewise.ai/threats/vendors/go).

## Quick answers

**Is This vulnerability exploited in the wild?** No. Junglewise Threat Intelligence has no report of This vulnerability being exploited in the wild.

**How severe is This vulnerability?** Informational severity, published 2 September 2022.

**Which products and versions are affected?** k8s.io/apimachinery (Go) SEMVER:introduced=0,fixed=0.0.0-20190927203648-9ce6eca90e73.

**Is there a fix for This vulnerability?** Yes. k8s.io/apimachinery (Go): upgrade to 0.0.0-20190927203648-9ce6eca90e73 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.

**Am I affected?** Check whether you run k8s.io/apimachinery (Go) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

## How to fix

- k8s.io/apimachinery (Go): upgrade to 0.0.0-20190927203648-9ce6eca90e73 or later

  ```sh
  go get k8s.io/apimachinery@v0.0.0-20190927203648-9ce6eca90e73
  ```


## Affected products

- k8s.io/apimachinery (Go) SEMVER:introduced=0,fixed=0.0.0-20190927203648-9ce6eca90e73

## Related threats

- [GO-2024-2748 - Privilege Escalation in Kubernetes in k8s.io/apimachinery](https://junglewise.ai/threats/cve-2020-8559-privilege-escalation-in-kubernetes)
- [Kubernetes apimachinery packages vulnerable to unbounded recursion in JSON or YAML parsing](https://junglewise.ai/threats/kubernetes-apimachinery-packages-vulnerable-to-unbounded-recursion-in-94ef5c34)
