GHSA-xwqr-xmgg-j69q

    Dashboard / Vulnerabilities / GHSA-xwqr-xmgg-j69q

    GHSA-xwqr-xmgg-j69q

    Published: 28 Jan 2022Last Modified: 8 Nov 2023

    Summary: Integer overflow in solana_rbpf

    Details: From version 0.2.14 to 0.2.16 for Solana rBPF, function "relocate" in the file src/elf.rs has an integer overflow bug because the sym.st_value is read directly from ELF file without checking. If the sym.st_value is rather large, an integer overflow is triggered while calculating the variable "addr" via `addr = (sym.st_value + refd_pa) as u64`

    Affected packages

    Package

    Name: solana_rbpf

    Purl: pkg:cargo/solana_rbpf

    Affected ranges

    Type: SEMVER

    Events:

    Introduced- 0.2.14
    Fixed -0.2.17

    Affected versions

    Common Vulnerability Scoring System

    Attack Vector
    Network
    Adjacent
    Local
    Physical
    Privileges Required
    None
    Low
    High
    User Interaction
    None
    Required
    Scope
    Unchanged
    Changed
    Confidentiality
    None
    Low
    High
    Integrity
    None
    Low
    High
    Availability
    None
    Low
    High
    GHSA-xwqr-xmgg-j69q | CVE-DB