Advisory Database
  • Advisories
  • Dependency Scanning
  1. cargo
  2. ›
  3. orml-rewards
  4. ›
  5. GHSA-5v93-9mqw-p9mh

GHSA-5v93-9mqw-p9mh: Uncaught Panic in ORML Rewards Pallet

February 14, 2025

A vulnerability in the add_share function of the Rewards pallet (part of the ORML repository) can lead to an uncaught Rust panic when handling user-provided input exceeding the u128 range.

References

  • github.com/advisories/GHSA-5v93-9mqw-p9mh
  • github.com/open-web3-stack/open-runtime-module-library
  • github.com/open-web3-stack/open-runtime-module-library/commit/6720fcd92f44e5f204741b04fdef3b67b0fcf6bc
  • github.com/open-web3-stack/open-runtime-module-library/pull/1016
  • github.com/open-web3-stack/open-runtime-module-library/security/advisories/GHSA-5v93-9mqw-p9mh

Code Behaviors & Features

Detect and mitigate GHSA-5v93-9mqw-p9mh with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 1.2.1

Fixed versions

  • 1.2.1

Solution

Upgrade to version 1.2.1 or above.

Weakness

  • CWE-248: Uncaught Exception

Source file

cargo/orml-rewards/GHSA-5v93-9mqw-p9mh.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:15:21 +0000.