{"id":"CVE-2023-37475","summary":"Attacker-controlled parameter can cause denial of service in hamba avro","details":"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.","aliases":["GHSA-9x44-9pgq-cf45","GO-2023-1930"],"modified":"2026-04-02T09:07:50.912462Z","published":"2023-07-17T16:36:23.546Z","related":["CGA-672c-733h-6rcg"],"database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/37xxx/CVE-2023-37475.json","cna_assigner":"GitHub_M","cwe_ids":["CWE-400"]},"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/37xxx/CVE-2023-37475.json"},{"type":"ADVISORY","url":"https://github.com/hamba/avro/security/advisories/GHSA-9x44-9pgq-cf45"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-37475"},{"type":"FIX","url":"https://github.com/hamba/avro/commit/b4a402f41cf44b6094b5131286830ba9bb1eb290"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/hamba/avro","events":[{"introduced":"0"},{"fixed":"b4a402f41cf44b6094b5131286830ba9bb1eb290"}]}],"versions":["v0.0.1","v0.0.2","v0.0.3","v0.0.4","v0.0.5","v0.1.0","v0.2.0","v0.3.0","v0.3.1","v0.4.0","v0.4.1","v0.4.2","v0.5.0","v0.5.1","v0.5.2","v0.5.3","v0.6.0","v0.7.0","v1.0.0","v1.1.0","v1.1.1","v1.1.2","v1.2.0","v1.2.1","v1.3.0","v1.4.0","v1.5.0","v1.5.1","v1.5.2","v1.5.3","v1.5.4","v1.5.5","v1.5.6","v1.6.0","v1.6.1","v1.6.2","v1.6.3","v1.6.4","v1.6.5","v1.6.6","v1.7.0","v1.8.0","v2.0.0","v2.0.1","v2.0.2","v2.1.0","v2.10.0","v2.11.0","v2.12.0","v2.2.0","v2.3.0","v2.4.0","v2.5.0","v2.6.0","v2.7.0","v2.8.0","v2.8.1","v2.9.0"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2023-37475.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"}]}