Allocation of Resources Without Limits or Throttling Affecting cosmwasm-vm package, versions <1.5.7 >=2.0.0 <2.0.6 >=2.1.0 <2.1.3


Severity

Recommended
0.0
medium
0
10

CVSS assessment made by Snyk's Security Team

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 ID SNYK-RUST-COSMWASMVM-7659971
  • published 9 Aug 2024
  • disclosed 8 Aug 2024
  • credit unknownfeature

Introduced: 8 Aug 2024

CVE NOT AVAILABLE CWE-770 Open this link in a new tab

How to fix?

Upgrade cosmwasm-vm to version 1.5.7, 2.0.6, 2.1.3 or higher.

Overview

cosmwasm-vm is a VM binding for cosmwams contracts

Affected versions of this package are vulnerable to Allocation of Resources Without Limits or Throttling which causes certain gas operations to take excessively long, which allows a malicious contract to interrupt service to a chain.

CVSS Scores

version 4.0
version 3.1
Expand this section

Snyk

Recommended
5.3 medium
  • Attack Vector (AV)
    Network
  • Attack Complexity (AC)
    Low
  • Attack Requirements (AT)
    None
  • Privileges Required (PR)
    Low
  • User Interaction (UI)
    None
  • Confidentiality (VC)
    None
  • Integrity (VI)
    None
  • Availability (VA)
    Low
  • Confidentiality (SC)
    None
  • Integrity (SI)
    None
  • Availability (SA)
    None