{"id":"EUVD-2023-2020","enisaUuid":"4074b4df-f824-3dfb-9304-d819c828f29f","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\u0027s `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.","datePublished":"Jul 17, 2023, 4:36:23 PM","dateUpdated":"Oct 18, 2024, 5:38:36 PM","baseScore":7.5,"baseScoreVersion":"3.1","baseScoreVector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","references":"https://github.com/hamba/avro/security/advisories/GHSA-9x44-9pgq-cf45\nhttps://github.com/hamba/avro/commit/b4a402f41cf44b6094b5131286830ba9bb1eb290\n","aliases":"CVE-2023-37475\nGHSA-9x44-9pgq-cf45\n","assigner":"GitHub_M","epss":0.95,"enisaIdProduct":[{"id":"c60d3888-dced-37b3-92a2-31b7d5f67f74","product":{"name":"avro","vendor":{"name":"hamba"}},"product_version":"\u003c 2.13.0"}],"enisaIdVendor":[{"id":"c477b958-7e59-3e5f-a087-e54747e2a622","vendor":{"name":"hamba"}}],"enisaIdVulnerability":[{"id":"bc660b31-f56a-3ffc-a88a-ea99b0df4b40","vulnerability":{"id":"GHSA-9x44-9pgq-cf45","description":"avro vulnerable to denial of service via attacker-controlled parameter","datePublished":"Jul 17, 2023, 10:55:30 AM","dateUpdated":"Jul 19, 2023, 10:54:45 AM","baseScore":null,"references":"https://github.com/hamba/avro/security/advisories/GHSA-9x44-9pgq-cf45\nhttps://nvd.nist.gov/vuln/detail/CVE-2023-37475\nhttps://github.com/hamba/avro/pull/273\nhttps://github.com/hamba/avro/commit/b4a402f41cf44b6094b5131286830ba9bb1eb290\nhttps://github.com/hamba/avro\nhttps://github.com/hamba/avro/blob/3abfe1e6382c5dccf2e1a00260c51a64bc1f1ca1/reader.go#L216-L242\nhttps://github.com/hamba/avro/releases/tag/v2.13.0\n","enisa_id":"EUVD-2023-2020\n","aliases":"GHSA-9x44-9pgq-cf45\nCVE-2023-37475\n","epss":0.0,"dataProcessed":"Nov 15, 2026, 2:33:15 AM","vulnerabilityProduct":[],"vulnerabilityVendor":[]}},{"id":"dc7e8fd0-bfdc-3a45-8d46-28afcbd96f90","vulnerability":{"id":"CVE-2023-37475","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\u0027s `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.","datePublished":"Jul 17, 2023, 4:36:23 PM","dateUpdated":"Oct 18, 2024, 5:38:36 PM","status":"PUBLISHED","baseScore":7.5,"baseScoreVersion":"3.1","baseScoreVector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","references":"https://github.com/hamba/avro/security/advisories/GHSA-9x44-9pgq-cf45\nhttps://github.com/hamba/avro/commit/b4a402f41cf44b6094b5131286830ba9bb1eb290\n","enisa_id":"EUVD-2023-2020\n","assigner":"GitHub_M","epss":0.95,"dataProcessed":"Nov 18, 2026, 7:22:59 AM","vulnerabilityProduct":[{"id":"e74f0d42-5a41-3c5f-b552-583e6ba51a21","product":{"name":"avro","vendor":{"name":"hamba"}},"product_version":"\u003c 2.13.0"}],"vulnerabilityVendor":[{"id":"106c3ea5-9ed5-3e94-ab10-9d44b50f368e","vendor":{"name":"hamba"}}]}}],"enisaIdAdvisory":[]}