GHSA-vx9q-rhv9-3jvg

Suggest an improvement
Source
https://github.com/advisories/GHSA-vx9q-rhv9-3jvg
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2025/12/GHSA-vx9q-rhv9-3jvg/GHSA-vx9q-rhv9-3jvg.json
JSON Data
https://api.test.osv.dev/v1/vulns/GHSA-vx9q-rhv9-3jvg
Aliases
Published
2025-12-12T22:12:22Z
Modified
2025-12-12T22:41:16.168301Z
Severity
  • 8.2 (High) CVSS_V4 - 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 CVSS Calculator
Summary
aircompressor Snappy and LZ4 Java-based decompressor implementation can leak information from reused output buffer
Details

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. 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

Database specific
{
    "nvd_published_at": null,
    "github_reviewed_at": "2025-12-12T22:12:22Z",
    "severity": "HIGH",
    "cwe_ids": [
        "CWE-201"
    ],
    "github_reviewed": true
}
References

Affected packages

Maven / io.airlift:aircompressor-v3

Package

Name
io.airlift:aircompressor-v3
View open source insights on deps.dev
Purl
pkg:maven/io.airlift/aircompressor-v3

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
3.4

Affected versions

3.*

3.0
3.1
3.2
3.3