Skip to content

protocol: ProbeResponse.rate_per_mb has no enforced upper bound, allowing a malicious or misconfigured node to advertise an astronomically high rate that overflows arithmetic in the client selection formula (rate × rtt × 1/reputation²) #378

Closed

Description

@alpergundogdu

The rate_per_mb field is a bare u64 with no max validated at the protocol boundary; if the client selection formula in #322 multiplies this by RTT without a saturation check, a node advertising u64::MAX could cause integer overflow and be selected incorrectly or panic the client.


Filed via GitDailyReporterBot

Activity

  1. added
    kind:bug
    kind:security
    on May 1, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

kind:bugkind:security

Type

No type

Fields

Priority

None yet

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions