GHSA-xc79-566c-j4qx

Suggest an improvement
Source
https://github.com/advisories/GHSA-xc79-566c-j4qx
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2025/10/GHSA-xc79-566c-j4qx/GHSA-xc79-566c-j4qx.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-xc79-566c-j4qx
Aliases
Published
2025-10-10T23:45:20Z
Modified
2025-10-23T20:34:55Z
Severity
  • 7.5 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H CVSS Calculator
Summary
Parallax is vulnerable to DoS via malicious p2p message
Details

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.

Database specific
{
    "nvd_published_at": null,
    "cwe_ids": [
        "CWE-400"
    ],
    "severity": "HIGH",
    "github_reviewed": true,
    "github_reviewed_at": "2025-10-10T23:45:20Z"
}
References

Affected packages

Go / github.com/microstack-tech/parallax

Package

Name
github.com/microstack-tech/parallax
View open source insights on deps.dev
Purl
pkg:golang/github.com/microstack-tech/parallax

Affected ranges

Type
SEMVER
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
0.1.4

Database specific

source
"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2025/10/GHSA-xc79-566c-j4qx/GHSA-xc79-566c-j4qx.json"