CVE-2026-46384
Beschrijving NL
iskorotkov/avro is een snelle Go AVRO-codec. Voorafgaand aan 2.33.0 lazen verschillende AVRO-decoderpaden door aanvallers gecontroleerde 64-bits waarden uit het draadformaat en vernauwden ze tot int. ter grootte van het platform voordat ze werden gecontroleerd, of vatten ze samen met overloopgevoelige ondertekende rekenkunde. Op 32-bits doelen (GOARCH=386, arm, mips, wasm, enz.) kunnen de truncatiepaden geruisloos byte-plaklimieten omzeilen, de verkeerde unietak selecteren of de OCF-negatief raken - paniek veroorzaken via wrap. Drie subkwesties zijn niet 32-bits specifiek: rekenkundige overloop van cumulatieve grootte in arrayDecoder.Decode/mapDecoderDecode/mapDecoderUnmarshaler.Decode (wraps op math.MaxInt64 op amd64 / arm64 en bypasses MaxSliceAllocSize/MaxMapAllocSize), math.MinInt negatie in block-header handling, en make([]byte, size) met een negatieve grootte in OCF-blok leest — alle drie panic of bypass caps op elk platform, waardoor een aanvaller daar een denial-of-service primitief krijgt. Deze kwetsbaarheid is opgelost in 2.33.0.
Origineel (Engels) tonen
iskorotkov/avro is a fast Go Avro codec. Prior to 2.33.0, several Avro decoder paths read attacker-controlled 64-bit values from the wire format and either narrowed them to platform-sized int before bounds-checking, or summed them with overflow-prone signed-int arithmetic. On 32-bit targets (GOARCH=386, arm, mips, wasm, etc.), the truncation paths can silently bypass byte-slice limits, select the wrong union branch, or hit the OCF negative-make panic via wrap. Three sub-issues are not 32-bit-specific: cumulative-size arithmetic overflow in arrayDecoder.Decode / mapDecoder.Decode / mapDecoderUnmarshaler.Decode (wraps at math.MaxInt64 on amd64 / arm64 and bypasses MaxSliceAllocSize / MaxMapAllocSize), math.MinInt negation in block-header handling, and make([]byte, size) with a negative size in OCF block reads — all three panic or bypass caps on any platform, giving an attacker a denial-of-service primitive there. This vulnerability is fixed in 2.33.0.