CVEbaza.plSłownik CWECWE-409
Common Weakness Enumeration

CWE-409

Improper Handling of Highly Compressed Data (Data Amplification)

Kategoria: BaseCVE: 114
Opis

Produkt nie obsługuje prawidłowo lub obsługuje nieprawidłowo skompresowane dane wejściowe o bardzo wysokim współczynniku kompresji, które generują duże dane wyjściowe. Może to prowadzić do wyczerpania zasobów lub odmowy usługi.

Description (EN)

The product does not handle or incorrectly handles a compressed input with a very high compression ratio that produces a large output.

Podatności CVE z CWE-409 (114)
8.9
CVSS
HIGH
CVE-2026-44432

urllib3 is an HTTP client library for Python. From 2.6.0 to before 2.7.0, urllib3 could decompress the whole response instead of the requested portion (1) during the second HTTPResponse.read(amt=N) call when the response was decompressed using the official Brotli library or (2) when HTTPResponse.drain_conn() was called after the response had been read and decompressed partially (compression algorithm did not matter here). These issues could cause urllib3 to fully decode a small amount of highly compressed data in a single operation. This could result in excessive resource consumption (high CPU usage and massive memory allocation for the decompressed data) on the client side. This vulnerability is fixed in 2.7.0.

pub. 2026-05-13
8.9
CVSS
HIGH
CVE-2026-21441

urllib3 is an HTTP client library for Python. urllib3's streaming API is designed for the efficient handling of large HTTP responses by reading the content in chunks, rather than loading the entire response body into memory at once. urllib3 can perform decoding or decompression based on the HTTP `Content-Encoding` header (e.g., `gzip`, `deflate`, `br`, or `zstd`). When using the streaming API, the library decompresses only the necessary bytes, enabling partial content consumption. Starting in version 1.22 and prior to version 2.6.3, for HTTP redirect responses, the library would read the entire response body to drain the connection and decompress the content unnecessarily. This decompression occurred even before any read methods were called, and configured read limits did not restrict the amount of decompressed data. As a result, there was no safeguard against decompression bombs. A malicious server could exploit this to trigger excessive resource consumption on the client. Applications and libraries are affected when they stream content from untrusted sources by setting `preload_content=False` when they do not disable redirects. Users should upgrade to at least urllib3 v2.6.3, in which the library does not decode content of redirect responses when `preload_content=False`. If upgrading is not immediately possible, disable redirects by setting `redirect=False` for requests to untrusted source.

pub. 2026-01-07
8.9
CVSS
HIGH
CVE-2025-66471

urllib3 is a user-friendly HTTP client library for Python. Starting in version 1.0 and prior to 2.6.0, the Streaming API improperly handles highly compressed data. urllib3's streaming API is designed for the efficient handling of large HTTP responses by reading the content in chunks, rather than loading the entire response body into memory at once. When streaming a compressed response, urllib3 can perform decoding or decompression based on the HTTP Content-Encoding header (e.g., gzip, deflate, br, or zstd). The library must read compressed data from the network and decompress it until the requested chunk size is met. Any resulting decompressed data that exceeds the requested amount is held in an internal buffer for the next read operation. The decompression logic could cause urllib3 to fully decode a small amount of highly compressed data in a single operation. This can result in excessive resource consumption (high CPU usage and massive memory allocation for the decompressed data.

pub. 2025-12-05
8.8
CVSS
HIGH
CVE-2026-68981

Apache NiFi w wersjach 1.5.0–2.10.0 jest podatny na atak wyczerpania pamięci poprzez spreparowane żądania HTTP zakodowane w formacie gzip. Błąd polega na walidacji rozmiaru skompresowanego ładunku zamiast jego zdekompresowanej postaci, co umożliwia atakującemu wywołanie nadmiernego zużycia pamięci serwera.

pub. 2026-08-03
8.7
CVSS
HIGH
CVE-2026-82520

parsedmarc before 11.0.1 decompresses gzip and ZIP attachments in a single unbounded read with no limit on decompressed output size. Because parsedmarc automatically processes incoming DMARC report emails without user interaction, an unauthenticated remote attacker can send a crafted email with a highly compressed attachment to the monitored mailbox, causing the parsedmarc process to allocate memory proportional to the uncompressed size and exhaust available RAM.

pub. 2026-09-03
8.7
CVSS
HIGH
CVE-2026-78206

exceljs through 4.4.0 decompresses all entries from supplied xlsx archives into memory without limits on entry size, total size, or compression ratio. Attackers can upload highly compressed workbooks that expand to gigabytes in memory, exhausting available resources and causing denial of service.

pub. 2026-08-24
8.7
CVSS
HIGH
CVE-2026-75936

Improper handling of highly compressed data in the GZIP auto-decompression handler in Amazon ion-java before 1.12.0 might allow remote actors to cause a denial of service via a crafted compressed Ion document that expands to an arbitrarily large size upon decompression. To remediate this issue, users should upgrade to version 1.12.0 and configure withGzipDecompressionEnabled(false) and/or set an explicit withMaximumBufferSize() when parsing untrusted input.

pub. 2026-08-18
8.7
CVSS
HIGH
CVE-2026-48586

Podatność w Apache Thrift (CWE-409) polega na nieprawidłowej obsłudze silnie skompresowanych danych, co może prowadzić do ataku typu Data Amplification. Atakujący bez uwierzytelnienia może spowodować wyczerpanie zasobów po stronie serwera, skutkując odmową usługi (DoS).

pub. 2026-07-27
8.7
CVSS
HIGH
CVE-2026-62963

Podatność w serwerze Centrifugo pozwala nieuwierzytelnionemu atakującemu wywołać nadmierne zużycie pamięci i CPU poprzez spreparowane skompresowane ramki WebSocket. Błąd dotyczy jednokierunkowego transportu WebSocket z włączoną kompresją i może prowadzić do odmowy usługi (DoS).

pub. 2026-07-16
8.7
CVSS
HIGH
CVE-2026-55195

Biblioteka py7zr w wersjach przed 1.1.3 nie śledziła całkowitego rozmiaru rozpakowanych danych, co umożliwia atakującemu dostarczenie spreparowanego archiwum .7z powodującego wyczerpanie przestrzeni dyskowej lub pamięci (atak zip bomb). Podatność nie wymaga uwierzytelnienia ani interakcji użytkownika, co znacząco zwiększa ryzyko jej wykorzystania.

pub. 2026-07-08
8.7
CVSS
HIGH
CVE-2026-59803

Biblioteka rpcx w wersji do 1.9.3 zawiera podatność typu denial-of-service wynikającą z braku limitu rozmiaru dekompresowanych danych w protokole komunikacyjnym. Nieuprawniony atakujący może wysłać spreparowaną wiadomość skompresowaną gzip, która po dekompresji zajmuje gigabajty pamięci, doprowadzając serwer do awarii.

pub. 2026-07-08
8.7
CVSS
HIGH
CVE-2026-53430

Improper Handling of Highly Compressed Data (Data Amplification) vulnerability in elixir-grpc grpc (GRPC.Compressor.Gzip, GRPC.Message modules) allows a denial of service via a gzip decompression bomb. This vulnerability is associated with program files lib/grpc/compressor/gzip.ex, lib/grpc/message.ex and program routines 'Elixir.GRPC.Compressor.Gzip':decompress/1, 'Elixir.GRPC.Message':from_data/2. 'Elixir.GRPC.Compressor.Gzip':decompress/1 calls :zlib.gunzip/1 directly on attacker-controlled bytes with no decompressed-size limit, ratio check, or incremental decoding. Because this module is the registered gzip GRPC.Compressor implementation, it is invoked automatically whenever an incoming gRPC frame carries the grpc-encoding: gzip header. :zlib.gunzip/1 allocates the entire decompressed result as a single binary, so a small highly compressible payload (for example a few kilobytes of zeros, which gzip compresses at roughly 1000:1) expands to multiple gigabytes inside a single call. The max_receive_message_length limit is enforced only against the already-decompressed message, so it provides no protection. An unauthenticated remote peer can send a single crafted frame to exhaust the BEAM node's heap and trigger an out-of-memory kill. This issue affects grpc: from 0.4.0 before 1.0.0.

pub. 2026-06-15
8.7
CVSS
HIGH
CVE-2026-40192

Pillow is a Python imaging library. Versions 10.3.0 through 12.1.1 did not limit the amount of GZIP-compressed data read when decoding a FITS image, making them vulnerable to decompression bomb attacks. A specially crafted FITS file could cause unbounded memory consumption, leading to denial of service (OOM crash or severe performance degradation). If users are unable to immediately upgrade, they should only open specific image formats, excluding FITS, as a workaround.

pub. 2026-04-15
8.7
CVSS
HIGH
CVE-2026-40036

Unfurl before 2026.04 contains an unbounded zlib decompression vulnerability in parse_compressed.py that allows remote attackers to cause denial of service. Attackers can submit highly compressed payloads via URL parameters to the /json/visjs endpoint that expand to gigabytes, exhausting server memory and crashing the service.

pub. 2026-04-08
8.7
CVSS
HIGH
CVE-2026-22776

cpp-httplib is a C++11 single-file header-only cross platform HTTP/HTTPS library. Prior to version 0.30.1, a Denial of Service (DoS) vulnerability exists in cpp-httplib due to the unsafe handling of compressed HTTP request bodies (Content-Encoding: gzip, br, etc.). The library validates the payload_max_length against the compressed data size received from the network, but does not limit the size of the decompressed data stored in memory.

pub. 2026-01-12
8.6
CVSS
HIGH
CVE-2026-44697

Klever-Go is the Go implementation of the Klever blockchain protocol. Prior to 1.7.17, a remote, unauthenticated denial-of-service vulnerability in Batch.Decompress (data/batch/batch.go) allows any peer that participates in a topic served by MultiDataInterceptor to allocate multi-gigabyte heaps on the receiving node from a sub-50 KiB gossip payload. A single packet is sufficient to OOM-kill a validator with conventional memory provisioning. Fleet-wide application affects chain liveness. This vulnerability is fixed in 1.7.17.

pub. 2026-05-29
8.3
CVSS
HIGH
CVE-2026-58486

HedgeDoc przed wersją 1.11.0 był podatny na atak typu YAML alias bomb, polegający na umieszczeniu złośliwego payloadu w nagłówku frontmatter notatki. Exploit blokował pętlę zdarzeń Node.js nawet na ~235 sekund, uniemożliwiając obsługę innych żądań i prowadząc do niedostępności instancji.

pub. 2026-07-13
8.2
CVSS
HIGH
CVE-2026-54556

Http4s is a Scala interface for HTTP services. Prior to 0.23.35 and 1.0.0-M47, an unauthenticated HTTP/2 peer can cause an out-of-memory denial of service in the Ember backend with HTTP/2 enabled. The Hpack wrapper in ember-core/shared/src/main/scala/org/http4s/ember/core/h2/Hpack.scala concatenates HEADERS and CONTINUATION frame fragments and decodes them into a single List, but maxHeaderSize accounting does not include indexed headers or HPACK per-header overhead. A small compressed header block can therefore expand into a much larger decoded representation that remains in memory for processing. Servers exposed to untrusted HTTP/2 traffic and clients directed to an untrusted HTTP/2 server are affected, and concurrent malicious connections can exhaust the process heap. This issue is fixed in versions 0.23.35 and 1.0.0-M47.

pub. 2026-08-26
8.2
CVSS
HIGH
CVE-2026-44981

CrowdSec w wersjach od 1.7.0 do 1.7.8 jest podatny na atak wyczerpania zasobów (denial of service) poprzez wysyłanie skompresowanych żądań gzip do niechronionych endpointów API. Atakujący bez uwierzytelnienia może doprowadzić do niedostępności komponentu LAPI (Local API).

pub. 2026-07-16
8.2
CVSS
HIGH
CVE-2026-48502

MessagePack for C# is a MessagePack serializer for C#. Prior to 2.5.301 and 3.1.7, MessagePackReader.ReadDateTime() can allocate stack memory based on an attacker-controlled MessagePack extension length. In the slow path for timestamp extension parsing, the computed tokenSize includes the extension body length from the wire and is used in a stackalloc operation before the extension length is validated as one of the valid timestamp sizes. A very small payload can claim a large timestamp extension body and cause a stack allocation large enough to trigger an uncatchable StackOverflowException, terminating the host process. This vulnerability is fixed in 2.5.301 and 3.1.7.

pub. 2026-06-22
Pokazano 20 z 114 podatności
Informacje
ID: CWE-409
Typ: Base
Podatności: 114
MITRE CWE ↗
← Słownik CWE