CVE-2023-37475
published high CVSS 3.1 · 7.5Attacker-controlled parameter can cause denial of service in hamba avro
Package status and fixes
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 7.5 / 10
- Severity
- high
- Provider
- GitHub_M · cna
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| hamba | avro | < 2.13.0 (affected) | GitHub_M · cna |
| avro_project | avro | 0 to < 2.13.0 (affected · custom)Default: unknown | CISA-ADP · adp |
Weaknesses
1- CWE-400 CWE-400: Uncontrolled Resource Consumption
References
2Provider assertions
3GitHub_M · cna
Attacker-controlled parameter can cause denial of service in hamba avro
CISA-ADP · adp
CISA ADP Vulnrichment
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- 8dff43b8e4c732b777d6704cedc05965b6656df5b4cf4de3a63d5da588eff747
- Ingested
- 23 Sep 2026, 08:10:12 UTC
- Source record
- Official CVE record