aircompressor Snappy and LZ4 Java-based decompressor implementation can leak information from reused output buffer
Summary
Incorrect handling of malformed data in Java-based decompressor implementations for Snappy and LZ4 allows remote attackers to read previous buffer contents via crafted compressed input. In applications where the output buffer is reused without being cleared, this may lead to disclosure of sensitive data.
Details
With certain crafted compressed inputs, elements from the output buffer can end up in the uncompressed output. This is relevant for applications that reuse the same output buffer to uncompress multiple inputs. This can be the case of a web server that allocates a fix-sized buffer for performance purposes. This is similar to GHSA-cmp6-m4wj-q63q.
Impact
Applications using aircompressor as described above may leak sensitive information to external unauthorized attackers.
Mitigation
The vulnerability is fixed in release 3.4 and 2.0.3. However, it can be mitigated by either:
- Avoiding reuse of the decompression buffer across calls
- Clearing the decompression buffer before a call to decompress data
Czego dotyczy
Kliknij technologię, aby zobaczyć wszystkie dotyczące jej podatności.
| Platforma | Paczka | Podatne wersje | Poprawka w wersji |
|---|---|---|---|
| Java / Kotlin (Maven) | io.airlift:aircompressor | < 2.0.3 | 2.0.3 |
| Java / Kotlin (Maven) | io.airlift:aircompressor-v3 | < 3.4 | 3.4 |
Odnośniki
- https://github.com/airlift/aircompressor/security/advisories/GHSA-vx9q-rhv9-3jvg
- https://nvd.nist.gov/vuln/detail/CVE-2025-67721
- https://github.com/airlift/aircompressor/pull/309
- https://github.com/airlift/aircompressor/commit/f2b489b398779b40c1ee29ddb11d7edef54ddc15
- https://github.com/airlift/aircompressor/commit/ff12c4d5757c9d6d1de3d39a10402f1f84f9b765
- https://github.com/airlift/aircompressor
- https://github.com/airlift/aircompressor/releases/tag/2.0.3
- Wektor CVSS
CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N- Słabość (CWE)
CWE-125, CWE-201- Platforma
- Java / Kotlin (Maven)
- Paczka
io.airlift:aircompressor, io.airlift:aircompressor-v3- Ujawniono
- 12.12.2025
- Aktualizacja
- 11.10.2026 13:20
Źródła i licencje
OSV / GitHub Advisory Database - GHSA-vx9q-rhv9-3jvg - CC BY 4.0
Historia podatności: io.airlift:aircompressor
Wszystkie opisane podatności tej paczki (Java / Kotlin (Maven)), od najnowszej. Widać, czy to jednorazowa wpadka, czy paczka, której trzeba pilnować.
- Wszystkich wpisów
- 2
- Pierwsza → ostatnia
- 06.2024 12.2025
- Bez poprawki
- 0
- Wykorzystywana w atakach
- 0
Rozkład istotności
- Wysoka 2
Ujawnienia w latach
- 2024: 1
- 2025: 1
- 2026: 0
-
aircompressor Snappy and LZ4 Java-based decompressor implementation can leak information from reused output buffer ten wpis
Dowiedz się, które podatności dotyczą Twojej aplikacji
Po podłączeniu integracji DockRay i włączeniu raportowania oprogramowania DockRay porównuje zgłoszone wersje komponentów ze znanymi podatnościami i powiadamia o potwierdzonych dopasowaniach. Zakres zależy od obsługiwanej technologii i dostępnych biuletynów.