CVE-2024-3203

7.3 HIGH

📋 TL;DR

A critical heap-based buffer overflow vulnerability exists in c-blosc2's ndlz8_decompress function, allowing remote attackers to execute arbitrary code or crash affected systems. This affects all users of c-blosc2 up to version 2.13.2 who process untrusted compressed data. The vulnerability is remotely exploitable without authentication.

💻 Affected Systems

Products:
  • c-blosc2
Versions: Up to and including 2.13.2
Operating Systems: All platforms running c-blosc2
Default Config Vulnerable: ⚠️ Yes
Notes: Any application using c-blosc2 to decompress untrusted data is vulnerable

📦 What is this software?

⚠️ Risk & Real-World Impact

🔴

Worst Case

Remote code execution leading to complete system compromise, data theft, or ransomware deployment

🟠

Likely Case

Denial of service through application crashes, with potential for remote code execution in targeted attacks

🟢

If Mitigated

Application crashes without code execution if exploit attempts are blocked or memory protections are enabled

🌐 Internet-Facing: HIGH - Remote exploitation without authentication makes internet-facing systems prime targets
🏢 Internal Only: MEDIUM - Internal systems remain vulnerable to insider threats or lateral movement

🎯 Exploit Status

Public PoC: ⚠️ Yes
Weaponized: LIKELY
Unauthenticated Exploit: ⚠️ Yes
Complexity: LOW

Exploit details have been publicly disclosed, making weaponization likely

🛠️ Fix & Mitigation

✅ Official Fix

Patch Version: 2.14.3

Vendor Advisory: https://github.com/Blosc/c-blosc2/releases/tag/v2.14.3

Restart Required: Yes

Instructions:

1. Download c-blosc2 v2.14.3 from GitHub releases 2. Replace existing installation with patched version 3. Recompile any applications using c-blosc2 4. Restart affected services

🔧 Temporary Workarounds

Disable ndlz codec

all

Disable the vulnerable ndlz codec if not required

Recompile c-blosc2 with -DBLOSC_DISABLE_NDLZ=ON

🧯 If You Can't Patch

  • Implement strict input validation and sanitization for compressed data
  • Deploy network segmentation and restrict access to vulnerable systems

🔍 How to Verify

Check if Vulnerable:

Check c-blosc2 version: if version ≤ 2.13.2, system is vulnerable

Check Version:

Check library version in application or run: strings /path/to/libblosc2.so | grep 'c-blosc2'

Verify Fix Applied:

Verify c-blosc2 version is ≥ 2.14.3 and test decompression with known malicious payloads

📡 Detection & Monitoring

Log Indicators:

  • Application crashes with segmentation faults
  • Memory corruption errors in system logs

Network Indicators:

  • Unusual network traffic to systems using c-blosc2
  • Exploit kit traffic patterns

SIEM Query:

source="application_logs" AND ("segmentation fault" OR "heap corruption") AND process="*blosc*"

🔗 References

📤 Share & Export