Allocation of Resources Without Limits or Throttling Affecting frontier package, versions >=0.0.0


Severity

Recommended
0.0
high
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.14% (52nd percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Allocation of Resources Without Limits or Throttling vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-RUST-FRONTIER-5963568
  • published13 Oct 2023
  • disclosed13 Oct 2023
  • creditMoonsong Labs

Introduced: 13 Oct 2023

CVE-2023-45130  (opens in a new tab)
CWE-770  (opens in a new tab)

How to fix?

A fix was pushed into the master branch but not yet published.

Overview

Affected versions of this package are vulnerable to Allocation of Resources Without Limits or Throttling when the storage::remove_prefix function is used at the end of a contract execution. An attacker can craft a contract with a large number of storage values on a parachain, and then call opcode SUICIDE on the contract. If the transaction makes into a parachain block, the parachain will then stall because the PoV size will exceed relay chain's limit. This is especially an issue for XCM transactions, because they can't be skipped.

CVSS Scores

version 3.1