{"id":"CVE-2023-37475","published":"2023-07-17T16:36:23Z","modified":"2024-10-18T17:38:36Z","title":"Attacker-controlled parameter can cause denial of service in hamba avro","vendor":"hamba","product":"avro","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":7.5,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00953,"percentile":0.62191,"provenance":"source"},"cwes":[{"id":"CWE-400","name":"Uncontrolled Resource Consumption"}],"references":[{"url":"https://github.com/hamba/avro/security/advisories/GHSA-9x44-9pgq-cf45","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/hamba/avro/commit/b4a402f41cf44b6094b5131286830ba9bb1eb290","tags":["x_refsource_MISC"]}],"priority":{"score":17.7,"factors":[{"name":"EPSS percentile","points":12.44},{"name":"CVSS severity","points":5.25}]},"vendorSlug":"hamba","affectedVersions":[{"vendor":"hamba","product":"avro","versions":["< 2.13.0"]}],"ssvc":{"exploitation":"poc","automatable":"yes","technicalImpact":"partial","timestamp":"2024-10-18T17:29:12.659543Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Go","package":"github.com/hamba/avro","vulnerableRanges":["<2.13.0","all versions"],"patched":["2.13.0"],"from":["GHSA-9x44-9pgq-cf45","GO-2023-1930"],"provenance":"source"},{"ecosystem":"Go","package":"github.com/hamba/avro/v2","vulnerableRanges":["<2.13.0"],"patched":["2.13.0"],"from":["GHSA-9x44-9pgq-cf45","GO-2023-1930"],"provenance":"source"}],"summary":{"text":"A flaw in hamba avro, a Go implementation of the Avro codec, lets the github.com/hamba/avro/v2.Unmarshal() function size a new slice from part of its input, so a crafted string can exhaust memory and crash the consuming application. An attacker needs only network access to supply the malicious input, with no authentication or user interaction required.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T20:38:20Z"},"euvd":{"id":"EUVD-2023-2020","exploited":false,"provenance":"source"}}