Advisory Database
  • Advisories
  • Dependency Scanning
  1. cargo
  2. ›
  3. cosmwasm-vm
  4. ›
  5. GHSA-75qh-gg76-p2w4

GHSA-75qh-gg76-p2w4: CWA-2023-004: Excessive number of function parameters in compiled Wasm

August 27, 2024 (updated December 23, 2024)

A specifically crafted Wasm file can cause the VM to consume excessive amounts of memory when compiling a contract. This can lead to high memory usage, slowdowns, potentially a crash and can poison a lock in the VM, preventing any further interaction with contracts.

For more information, see CWA-2023-004.

References

  • forum.cosmos.network/t/high-severity-security-patch-upcoming-on-wed-10th-cwa-2023-004-brought-to-you-by-certik-and-confio/12840
  • github.com/CosmWasm/advisories/blob/main/CWAs/CWA-2023-004.md
  • github.com/advisories/GHSA-75qh-gg76-p2w4
  • rustsec.org/advisories/RUSTSEC-2024-0366.html
  • www.certik.com/resources/blog/risk-and-security-enhancement-for-app-chains-an-in-depth-writeup-of-cwa-2023

Code Behaviors & Features

Detect and mitigate GHSA-75qh-gg76-p2w4 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.8, all versions starting from 1.3.0 before 1.3.4, all versions starting from 1.4.0 before 1.4.2, all versions starting from 1.5.0 before 1.5.1

Fixed versions

  • 1.2.8
  • 1.3.4
  • 1.4.2
  • 1.5.1

Solution

Upgrade to versions 1.2.8, 1.3.4, 1.4.2, 1.5.1 or above.

Impact 5.3 MEDIUM

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L

Learn more about CVSS

Weakness

  • CWE-400: Uncontrolled Resource Consumption

Source file

cargo/cosmwasm-vm/GHSA-75qh-gg76-p2w4.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:04 +0000.