PT-2023-25986 · Avro · Avro

Adamkorcz

·

Published

2023-07-17

·

Updated

2026-05-18

·

CVE-2023-37475

CVSS v3.1

7.5

High

VectorAV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Name of the Vulnerable Software and Affected Versions github.com/hamba/avro versions prior to 2.13.0
Description 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.
Recommendations To resolve the issue, upgrade to version 2.13.0 or later. As a temporary workaround, consider restricting the use of the Unmarshal() function to trusted input only, until a patch is available. Avoid using the Unmarshal() function with untrusted input to minimize the risk of exploitation.

Exploit

Fix

DoS

Resource Exhaustion

Found an issue in the description? Have something to add? Feel free to write us 👾

Weakness Enumeration

Related Identifiers

CVE-2023-37475
GHSA-9X44-9PGQ-CF45
GO-2023-1930

Affected Products

Avro