Sliver has Potential Zip Bomb Denial of Service in GzipEncoder
Key facts
- Attack vector
- —
- Privileges required
- —
- User interaction
- —
- Attack complexity
- —
- Impact type
- —
- Confidentiality · integrity · availability
- —
- Fix status
- Fixed
No CVSS vector from any source. Fix status from GitHub.
Summary
### Summary GzipEncoder does not limit output size when processing compressed data. This allows unauthenticated remote attackers to crash sliver server by sending a http request with highly compressed gzip data (aka zip bomb). ### Details In `util/encoders/gzip.go`, `Decode()` method decompresses given data by reading the entire gzip buffer at once without limiting output size. ### PoC ```python data = gzip.compress(bytes(1024 * 1024 * 1024)) * 16 requests.post(f"http://172.17.0.2/{nonce}", data=data) ``` ### Impact Unauthenticated remote attackers can exhaust memory and cpu resource of sliver server and crash it when they have GzipEncoderID, which can be easily retrived from implant's http traffic, or by brute-forcing. A fixed version is available at https://github.com/BishopFox/sliver/releases/tag/v1.7.2.
Why it matters now
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| — | github.com/bishopfox/sliver (Go) | before 1.7.2 | 1.7.2 | Patch available | GHSA-2phg-qgmm-r638 |
- github.com/bishopfox/sliver (Go) Vendor— Affected before 1.7.2 Fixed in 1.7.2 Patch available GHSA-2phg-qgmm-r638
Remediation
- Fix · GHSA-2phg-qgmm-r638 github.com/bishopfox/sliver (Go) Fixed in 1.7.2 Advisory →
Timeline
- 2026-10-03 Threatist record created from GHSA-2phg-qgmm-r638
References
Sources
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences