GHSA-9qmm-4mfr-r3wj

Suggest an improvement
Source
https://github.com/advisories/GHSA-9qmm-4mfr-r3wj
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/05/GHSA-9qmm-4mfr-r3wj/GHSA-9qmm-4mfr-r3wj.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-9qmm-4mfr-r3wj
Aliases
Published
2022-05-10T00:00:21Z
Modified
2023-11-08T04:08:16.094652Z
Severity
  • 9.1 (Critical) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H CVSS Calculator
Summary
Incorrect Calculation in solana_rbpf
Details

In Solana rBPF versions 0.2.26 and 0.2.27 are affected by Incorrect Calculation which is caused by improper implementation of sdiv instruction. This can lead to the wrong execution path, resulting in huge loss in specific cases. For example, the result of a sdiv instruction may decide whether to transfer tokens or not. The vulnerability affects both integrity and may cause serious availability problems.

Database specific
{
    "nvd_published_at": "2022-05-09T07:15:00Z",
    "github_reviewed_at": "2022-05-24T21:59:55Z",
    "severity": "CRITICAL",
    "github_reviewed": true,
    "cwe_ids": [
        "CWE-682"
    ]
}
References

Affected packages

crates.io / solana_rbpf

Package

Affected ranges

Type
SEMVER
Events
Introduced
0.2.26
Fixed
0.2.28