Katalog CVE

CVE-2026-56387

Niskie ryzyko· EPSS 19%
Opublikowano: Zaktualizowano: Przetłumaczono: NVD NIST

Prawdopodobieństwo exploitacji (EPSS)

Niskie ryzyko
0.27%

Percentyl 19 - wyżej niż 19% wszystkich znanych CVE

Streszczenie

Parser AMF w komponencie RTMP Apache bRPC przyjmuje długości łańcuchów i liczby elementów tablic bezpośrednio z niezaufanych danych wejściowych. Zdalny nieuwierzytelniony atakujący może wysłać mały ładunek AMF z nadmierną zadeklarowaną długością lub liczbą elementów, powodując nadmierną alokację pamięci przed odrzuceniem niekompletnego ładunku.

Ocena ryzyka

Może to doprowadzić do wyczerpania pamięci i odmowy usługi na serwerach bRPC z włączonym RTMP, które przyjmują ruch od niezaufanych klientów.

Rekomendacja

Zaktualizuj bRPC do wersji 1.18.0 lub zastosuj poprawkę z PR #3353, a następnie dostosuj limity amf_max_string_size i amf_max_array_size do własnych potrzeb.

Inne podatności w Apache bRPC

Zobacz wszystkie
Oryginalny opis (angielski, źródło NVD)

The RTMP AMF parser in Apache bRPC accepts AMF string lengths and array counts directly from untrusted input. A remote unauthenticated attacker who can reach a bRPC server with RTMP enabled can send a small AMF payload with an excessive declared long string length or array count, causing excessive memory allocation or resource consumption before the parser rejects the incomplete payload. Root Cause: The AMF long string parser resized the destination string to the declared 32-bit length before validating that the stream contained that many bytes. ECMA array and strict array parsers also accepted 32-bit element counts without a configurable upper bound. Affected Scenarios: Deployments that enable the bRPC RTMP server component and accept RTMP traffic from untrusted clients. Direct uses of the AMF parser on untrusted data are also affected. How to Fix: 1. Upgrade bRPC to version 1.18.0, which fixes this issue. 2. Apply this patch:  https://github.com/apache/brpc/pull/3353 Note: The fix introduces configurable AMF parsing limits. The default maximum string size is 64 MiB and the default maximum array element count is 1,048,576. Payloads above these limits are rejected. The limits can be adjusted with amf_max_string_size and amf_max_array_size.

Dane podatności pochodzą z NVD (NIST) · CISA KEV · EPSS