# CVE-2023-37475: GO-2023-1930 - Unrestricted memory consumption in github.com/hamba/avro

Source: https://junglewise.ai/threats/cve-2023-37475-avro-vulnerable-to-denial-of-service-via-attacker-controlled  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2023-07-25  
License: CC BY 4.0 with a link back

CVE-2023-37475 · Severity: low · CVSS 3.1 · Published 2023-07-25

Unrestricted memory consumption in github.com/hamba/avro

Technologies: [github.com/hamba/avro/v2 (Go)](https://junglewise.ai/threats/technologies/github-com-hamba-avro-v2). Vendors: [Go](https://junglewise.ai/threats/vendors/go).

## Quick answers

**Is CVE-2023-37475 exploited in the wild?** No. Junglewise Threat Intelligence has no report of CVE-2023-37475 being exploited in the wild.

**How severe is CVE-2023-37475?** Low severity, with a CVSS score of 3.1, published 25 July 2023.

**Which products and versions are affected?** github.com/hamba/avro (Go) SEMVER:introduced=0, SEMVER:introduced=0,fixed=2.13.0; github.com/hamba/avro/v2 (Go) SEMVER:introduced=0,fixed=2.13.0.

**Is there a fix for CVE-2023-37475?** Yes. github.com/hamba/avro (Go): upgrade to 2.13.0 or later; github.com/hamba/avro/v2 (Go): upgrade to 2.13.0 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.

**Am I affected by CVE-2023-37475?** Check whether you run github.com/hamba/avro (Go) or github.com/hamba/avro/v2 (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

- github.com/hamba/avro (Go): upgrade to 2.13.0 or later

  ```sh
  go get github.com/hamba/avro@v2.13.0
  ```

- github.com/hamba/avro/v2 (Go): upgrade to 2.13.0 or later

  ```sh
  go get github.com/hamba/avro/v2@v2.13.0
  ```


## Affected products

- github.com/hamba/avro (Go) SEMVER:introduced=0, SEMVER:introduced=0,fixed=2.13.0
- github.com/hamba/avro/v2 (Go) SEMVER:introduced=0,fixed=2.13.0

## Identifiers

- CVE-2023-37475
- GHSA-9x44-9pgq-cf45
- GO-2023-1930

## Related threats

- [GO-2026-5048 - Denial of service via unbounded map allocations in github.com/iskorotkov/avro/v2 and github.com/hamba/avro/v2](https://junglewise.ai/threats/go-2026-5048-denial-of-service-via-unbounded-map-allocations-in-github-046da6cd)
- [iskorotkov/avro CPU exhaustion in array and map decoders](https://junglewise.ai/threats/cve-2026-46385-iskorotkov-avro-cpu-exhaustion-in-array-and-map-decoders)
- [iskorotkov avro integer overflow and narrowing in decoder](https://junglewise.ai/threats/cve-2026-46384-iskorotkov-avro-integer-overflow-and-narrowing-in-decoder)
