CVE-2023-37475

Public Exploit
Attacker-controlled parameter can cause denial of service in hamba avro

Description

Hamba avro is a go lang encoder/decoder implementation of the avro codec specification. In affected versions a well-crafted string passed to avro's `github.com/hamba/avro/v2.Unmarshal()` can throw a `fatal error: runtime: out of memory` which is unrecoverable and can cause denial of service of the consumer of avro. The root cause of the issue is that avro uses part of the input to `Unmarshal()` to determine the size when creating a new slice and hence an attacker may consume arbitrary amounts of memory which in turn may cause the application to crash. This issue has been addressed in commit `b4a402f4` which has been included in release version `2.13.0`. Users are advised to upgrade. There are no known workarounds for this vulnerability.

Category

7.5
CVSS
Severity: High
CVSS 3.1 •
EPSS 0.29%
Vendor Advisory github.com
Affected: hamba avro
Published at:
Updated at:

References

Frequently Asked Questions

What is the severity of CVE-2023-37475?
CVE-2023-37475 has been scored as a high severity vulnerability.
How to fix CVE-2023-37475?
To fix CVE-2023-37475, make sure you are using an up-to-date version of the affected component(s) by checking the vendor release notes. As for now, there are no other specific guidelines available.
Is CVE-2023-37475 being actively exploited in the wild?
It is possible that CVE-2023-37475 is being exploited or will be exploited in a near future based on public information. According to its EPSS score, there is a ~0% probability that this vulnerability will be exploited by malicious actors in the next 30 days.
What software or system is affected by CVE-2023-37475?
CVE-2023-37475 affects hamba avro.
This platform uses data from the NIST NVD, MITRE CVE, MITRE CWE, First.org and CISA KEV but is not endorsed or certified by these entities. CVE is a registred trademark of the MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. CWE is a registred trademark of the MITRE Corporation and the authoritative source of CWE content is MITRE's CWE web site.
© 2025 Under My Watch. All Rights Reserved.