CVE-2023-39743
Medium · 5.3CVSS
5.3
EPSS
0.8%
Published
Aug 17, 2023
CISA due date
—
Cloudanix analysis
A bug in a compression library can let attackers crash software over the network, leading to temporary outages until the code is updated.
- Exploitation
- Remote Unauthenticated
- Attacker needs
- None
- Complexity
- Low
- Impact
- Denial Of Service
- Component
- Library
- Class
- Memory Corruption
- Remediation
- Upgrade
- Effort
- Medium
- Patch risk
- Low
What it actually does
Access violation during bz3_decode_block execution in LZMA decompression leads to memory corruption and potential process crash.
Why it matters to the business
Service availability can be disrupted by remote crashes in affected compression handling components, with moderate operational impact due to long-public exploit availability.
How an attack unfolds
An attacker supplies specially crafted LZMA input that reaches the vulnerable decode path in libbz3.c, triggering an access violation during block processing and causing denial of service.
How to fix it
Update sap/cloud-pysec to commit 0c554829c8fecd6dec77c1c3af2bbf316eba8c60 or later to resolve the access violation in bz3_decode_block.
How to confirm the fix worked
Verify the deployed code contains commit 0c554829c8fecd6dec77c1c3af2bbf316eba8c60 and test decompression of known triggering inputs to confirm absence of the access violation.
Typical attack path
- Identify a target process or service that uses the vulnerable lrzip-next LZMA decoder
- Craft and deliver malicious compressed data via network or file input
- Trigger bz3_decode_block execution on the malformed input
- Induce access violation resulting in process termination or instability
How to detect it
Review application and system logs for segmentation faults or access violations originating from libbz3.c or bz3_decode_block during LZMA processing; correlate with inbound compressed file handling.
What your security team should do
- Apply the fixed commit immediately given public exploit availability
- Scan all dependencies for older lrzip-next LZMA usage and prioritize upgrades
- Implement input validation and sandboxing around decompression routines until patched
- Monitor for process crashes correlated with LZMA handling
The record
lrzip-next LZMA v23.01 was discovered to contain an access violation via the component /bz3_decode_block src/libbz3.c.
Affected packages
| Ecosystem | Package | Introduced | Fixed |
|---|---|---|---|
| Ubuntu:20.04:LTS | lrzip | 0 | No fix |
| Ubuntu:22.04:LTS | lrzip | 0 | No fix |
| Ubuntu:24.04:LTS | lrzip | 0 | No fix |
| Ubuntu:24.10 | lrzip | 0 | No fix |
| Ubuntu:25.04 | lrzip | 0 | No fix |
| Ubuntu:25.10 | lrzip | 0 | No fix |
| Ubuntu:Pro:14.04:LTS | lrzip | 0 | No fix |
| Ubuntu:Pro:16.04:LTS | lrzip | 0 | No fix |
| Ubuntu:Pro:18.04:LTS | lrzip | 0 | No fix |
| Ubuntu:Pro:20.04:LTS | lrzip | 0 | No fix |