GHSA-5v93-9mqw-p9mh: Uncaught Panic in ORML Rewards Pallet
N/A
CVSS Score
Basic Information
CVE ID
-
GHSA ID
EPSS Score
-
CWE
Published
2/14/2025
Updated
2/14/2025
KEV Status
No
Technology
Rust
Technical Details
CVSS Vector
-
| Package Name | Ecosystem | Vulnerable Versions | First Patched Version |
|---|---|---|---|
| orml-rewards | rust | < 1.2.1 | 1.2.1 |
Vulnerability Intelligence
Miggo AI
Root Cause Analysis
The vulnerability description explicitly identifies add_share as the entry point. The commit diff shows critical changes in lib.rs where unsafe .as_u128() casts were replaced with .saturated_into::<u128>() to handle overflows. These operations occur in reward calculation logic that processes user-controlled add_amount values. The patch confirms the vulnerable pattern was present in arithmetic operations preceding validation checks, making this function the root cause.