GHSA-xc79-566c-j4qx: Github.com/microstack tech/parallax Denial of Service Vulnerability

HIGH
CVSS 7.5
CWE-400
Published
Advisory Summary

GHSA-xc79-566c-j4qx is a HIGH (CVSS 7.5) denial of service vulnerability (CWE-400: Uncontrolled Resource Consumption) affecting Github.com/microstack tech/parallax libraries in the Go ecosystem. The issue involves parallax is vulnerable to dos via malicious p2p message. Remediation is available by upgrading affected packages to version 0.1.4.

GHSA-xc79-566c-j4qx at a Glance

CVE Identifier N/A
GHSA Identifier GHSA-xc79-566c-j4qx
Severity HIGH
CVSS v3.1 Base Score 7.5
CWE Classification CWE-400: Uncontrolled Resource Consumption
Affected Product Github.com/microstack tech/parallax
Package Ecosystem Go
Published Date
Last Updated

Security Impact

CVSS: 7.5

The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H).

Attack Vector Network (AV:N)
Attack Complexity Low (AC:L)
Privileges Required None (PR:N)
User Interaction None (UI:N)
Scope Unchanged (S:U)
Confidentiality None (C:N)
Integrity None (I:N)
Availability High (A:H)

How to Fix GHSA-xc79-566c-j4qx

To remediate this vulnerability, upgrade all affected Github.com/microstack tech/parallax 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/microstack-tech/parallax fixed: 0.1.4
Upgrade github.com/microstack-tech/parallax to 0.1.4
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/microstack-tech/parallax

How to Check if You Are Affected

To determine whether your application is affected by GHSA-xc79-566c-j4qx, inspect your project dependencies for Github.com/microstack tech/parallax:

inspect dependencies for github.com/microstack-tech/parallax

Analyze the terminal output to locate any version of Github.com/microstack tech/parallax in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 0.1.4), 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-400: Uncontrolled Resource Consumption, where the product does not properly control the allocation and maintenance of a limited resource. In Github.com/microstack tech/parallax, 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

### Impact A vulnerable node can be made to consume very large amounts of memory when handling specially crafted p2p messages sent from an attacker node. In order to carry out the attack, the attacker establishes a peer connections to the victim, and sends a malicious `GetBlockHeadersRequest` message with a `count` of `0`, using the `Parallax` protocol. In `descendants := chain.GetHeadersFrom(num+count-1, count-1)`, the value of `count-1` is passed to the function `GetHeadersFrom(number, count uint64)` as parameter `count`. Due to integer overflow, `UINT64_MAX` value is then passed as the `count` argument to function `GetHeadersFrom(number, count uint64)`. This allows an attacker to bypass `maxHeadersServe` and request all headers from the latest block back to the genesis block. ### Patches The fix has been included in the Parallax client version `0.1.4` and onwards. The vulnerability was patched in: https://github.com/microstack-tech/parallax/commit/f759e9090aaf00a43c616d7cbd133c44bb1ed01e ### Workarounds No workarounds have been made public. ### Credit This issue was disclosed responsibly by DongHan Kim via the Ethereum bug bounty program, the cooperation is appreciated.

GHSA-xc79-566c-j4qx Affected Github.com/microstack tech/parallax Versions

1 component(s)
Fixed Versions:
0.1.4
Product / Package Ecosystem Affected Versions Fixed Version
github.com/microstack-tech/parallax
Go
< 0.1.4
0.1.4

References

Frequently Asked Questions

What is GHSA-xc79-566c-j4qx?
GHSA-xc79-566c-j4qx is a security vulnerability in Github.com/microstack tech/parallax involving Parallax is vulnerable to DoS via malicious p2p message under CWE-400: Uncontrolled Resource Consumption.
Which Github.com/microstack tech/parallax versions are affected?
Affected versions include releases prior to 0.1.4 across affected packages: github.com/microstack-tech/parallax.
What version fixes GHSA-xc79-566c-j4qx?
Upgrading to 0.1.4 (or the latest patched release for your respective branch) resolves the vulnerability.
Is github.com/microstack-tech/parallax affected?
Yes, github.com/microstack-tech/parallax is affected in releases prior to 0.1.4. Upgrade your dependency to 0.1.4 or later.
What is the CVSS score of GHSA-xc79-566c-j4qx?
GHSA-xc79-566c-j4qx has a CVSS v3.1 base score of 7.5 (HIGH) with vector string CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H.
What CWE is associated with GHSA-xc79-566c-j4qx?
GHSA-xc79-566c-j4qx is classified under CWE-400: Uncontrolled Resource Consumption (The product does not properly control the allocation and maintenance of a limited resource.).
How can I check Go dependencies for GHSA-xc79-566c-j4qx?
Run the dependency tree command: 'inspect dependencies for github.com/microstack-tech/parallax'. 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-xc79-566c-j4qx",
  "modified" : "2025-10-23T20:34:55Z",
  "published" : "2025-10-10T23:45:20Z",
  "aliases" : [ ],
  "summary" : "Parallax is vulnerable to DoS via malicious p2p message",
  "details" : "### Impact\n\nA vulnerable node can be made to consume very large amounts of memory when handling specially crafted p2p messages sent from an attacker node.\n\nIn order to carry out the attack, the attacker establishes a peer connections to the victim, and sends a malicious `GetBlockHeadersRequest` message with a `count` of `0`, using the `Parallax` protocol.\n\nIn `descendants := chain.GetHeadersFrom(num+count-1, count-1)`, the value of `count-1` is passed to the function `GetHeadersFrom(number, count uint64)` as parameter `count`. Due to integer overflow, `UINT64_MAX` value is then passed as the `count` argument to function `GetHeadersFrom(number, count uint64)`. This allows an attacker to bypass `maxHeadersServe` and request all headers from the latest block back to the genesis block.\n\n### Patches\n\nThe fix has been included in the Parallax client version `0.1.4` and onwards.\n\nThe vulnerability was patched in: https://github.com/microstack-tech/parallax/commit/f759e9090aaf00a43c616d7cbd133c44bb1ed01e\n\n### Workarounds\n\nNo workarounds have been made public.\n\n### Credit\n\nThis issue was disclosed responsibly by DongHan Kim via the Ethereum bug bounty program, the cooperation is appreciated.",
  "severity" : [ {
    "type" : "CVSS_V3",
    "score" : "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "Go",
      "name" : "github.com/microstack-tech/parallax"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "0.1.4"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "WEB",
    "url" : "https://github.com/microstack-tech/parallax/security/advisories/GHSA-xc79-566c-j4qx"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/microstack-tech/parallax/commit/f759e9090aaf00a43c616d7cbd133c44bb1ed01e"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/microstack-tech/parallax"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/microstack-tech/parallax/releases/tag/v0.1.4"
  }, {
    "type" : "WEB",
    "url" : "https://pkg.go.dev/vuln/GO-2025-4019"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-400" ],
    "severity" : "HIGH",
    "github_reviewed" : true,
    "github_reviewed_at" : "2025-10-10T23:45:20Z",
    "nvd_published_at" : null
  }
}