GHSA-2phg-qgmm-r638: Github.com/bishopfox/sliver Denial of Service Vulnerability

HIGH
CWE-409
Published
Advisory Summary

GHSA-2phg-qgmm-r638 is a HIGH denial of service vulnerability (CWE-409: Improper Handling of Highly Compressed Data (Data Amplification)) affecting Github.com/bishopfox/sliver libraries in the Go ecosystem. The issue involves sliver has potential zip bomb denial of service in gzipencoder. Remediation is available by upgrading affected packages to version 1.7.2.

GHSA-2phg-qgmm-r638 at a Glance

CVE Identifier N/A
GHSA Identifier GHSA-2phg-qgmm-r638
Severity HIGH
CVSS v3.1 Base Score N/A
CWE Classification CWE-409: Improper Handling of Highly Compressed Data (Data Amplification)
Affected Product Github.com/bishopfox/sliver
Package Ecosystem Go
Published Date
Last Updated

How to Fix GHSA-2phg-qgmm-r638

To remediate this vulnerability, upgrade all affected Github.com/bishopfox/sliver dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.

github.com/bishopfox/sliver fixed: 1.7.2
Upgrade github.com/bishopfox/sliver to 1.7.2
Verify Direct and Transitive Dependencies

Run the following command in your project directory to verify that all resolved dependencies use the patched release:

inspect dependencies for github.com/bishopfox/sliver

How to Check if You Are Affected

To determine whether your application is affected by GHSA-2phg-qgmm-r638, inspect your project dependencies for Github.com/bishopfox/sliver:

inspect dependencies for github.com/bishopfox/sliver

Analyze the terminal output to locate any version of Github.com/bishopfox/sliver in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 1.7.2), your application is affected.

Note: Verify declared build manifests and deployed runtime container environments.

Technical Details

Vulnerability Mechanism & Technical Analysis

This vulnerability is classified under CWE-409: Improper Handling of Highly Compressed Data (Data Amplification), where the product does not handle or incorrectly handles a compressed input with a very high compression ratio that produces a large output. In Github.com/bishopfox/sliver, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.

Source Advisory Statement

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

GHSA-2phg-qgmm-r638 Affected Github.com/bishopfox/sliver Versions

1 component(s)
Fixed Versions:
1.7.2
Product / Package Ecosystem Affected Versions Fixed Version
github.com/bishopfox/sliver
Go
< 1.7.2
1.7.2

References

Frequently Asked Questions

What is GHSA-2phg-qgmm-r638?
GHSA-2phg-qgmm-r638 is a security vulnerability in Github.com/bishopfox/sliver involving Sliver has Potential Zip Bomb Denial of Service in GzipEncoder under CWE-409: Improper Handling of Highly Compressed Data (Data Amplification).
Which Github.com/bishopfox/sliver versions are affected?
Affected versions include releases prior to 1.7.2 across affected packages: github.com/bishopfox/sliver.
What version fixes GHSA-2phg-qgmm-r638?
Upgrading to 1.7.2 (or the latest patched release for your respective branch) resolves the vulnerability.
Is github.com/bishopfox/sliver affected?
Yes, github.com/bishopfox/sliver is affected in releases prior to 1.7.2. Upgrade your dependency to 1.7.2 or later.
What CWE is associated with GHSA-2phg-qgmm-r638?
GHSA-2phg-qgmm-r638 is classified under CWE-409: Improper Handling of Highly Compressed Data (Data Amplification) (The product does not handle or incorrectly handles a compressed input with a very high compression ratio that produces a large output.).
How can I check Go dependencies for GHSA-2phg-qgmm-r638?
Run the dependency tree command: 'inspect dependencies for github.com/bishopfox/sliver'. This command lists direct and transitive dependencies in your build configuration so you can verify if a vulnerable version is resolved.
Machine-readable OSV JSON OSV v1.5 Schema
Normalized schema output
{
  "schema_version" : "1.4.0",
  "id" : "GHSA-2phg-qgmm-r638",
  "modified" : "2026-02-27T21:46:08Z",
  "published" : "2026-02-25T17:36:44Z",
  "aliases" : [ ],
  "summary" : "Sliver has Potential Zip Bomb Denial of Service in GzipEncoder",
  "details" : "### Summary\n\nGzipEncoder 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).\n\n### Details\n\nIn `util/encoders/gzip.go`, `Decode()` method decompresses given data by reading the entire gzip buffer at once without limiting output size.\n\n### PoC\n\n```python\ndata = gzip.compress(bytes(1024 * 1024 * 1024)) * 16\nrequests.post(f\"http://172.17.0.2/{nonce}\", data=data)\n```\n\n### Impact\n\nUnauthenticated 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.\n\nA fixed version is available at https://github.com/BishopFox/sliver/releases/tag/v1.7.2.",
  "severity" : [ {
    "type" : "CVSS_V4",
    "score" : "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N/E:P"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "Go",
      "name" : "github.com/bishopfox/sliver"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "1.7.2"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "WEB",
    "url" : "https://github.com/BishopFox/sliver/security/advisories/GHSA-2phg-qgmm-r638"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/BishopFox/sliver/commit/0cf5a47cfdf94b6ab481ec3ea0db09f31654c0f0"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/BishopFox/sliver"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/BishopFox/sliver/releases/tag/v1.7.2"
  }, {
    "type" : "WEB",
    "url" : "https://pkg.go.dev/vuln/GO-2026-4548"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-409" ],
    "severity" : "HIGH",
    "github_reviewed" : true,
    "github_reviewed_at" : "2026-02-25T17:36:44Z",
    "nvd_published_at" : null
  }
}