CVE-2021-46102

Source
https://cve.org/CVERecord?id=CVE-2021-46102
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2021-46102.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2021-46102
Aliases
Published
2022-01-27T18:15:07Z
Modified
2026-07-08T23:46:46Z
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
[none]
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";

References

Affected packages

Git / github.com/solana-labs/rbpf

Affected ranges

Type
GIT
Repo
https://github.com/solana-labs/rbpf
Events
Database specific
Show details
{
    "cpe":  "cpe:2.3:a:solanalabs:rbpf:*:*:*:*:*:*:*:*",
    "extracted_events":  [
        {
            "introduced":  "0.2.14"
        },
        {
            "last_affected":  "0.2.16"
        }
    ],
    "source":  "CPE_RANGE"
}

Affected versions

v0.*
v0.2.14
v0.2.15
v0.2.16

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2021-46102.json"