Advisory Database
  • Advisories
  • Dependency Scanning
  1. cargo
  2. ›
  3. alloy-json-abi
  4. ›
  5. GHSA-8327-84cj-8xjm

GHSA-8327-84cj-8xjm: Stack overflow when parsing specially crafted JSON ABI strings

August 15, 2024

Affected versions of the alloy-json-abi crate did not properly handle parsing of malformatted JSON ABI strings. The JsonAbi::parse method can be tricked into a stack overflow when processing specially crafted input.

This stack overflow can lead to a crash of the application using this crate, potentially causing a denial of service.

The flaw was corrected in commit 4790c47.

References

  • github.com/advisories/GHSA-8327-84cj-8xjm
  • github.com/alloy-rs/core
  • github.com/alloy-rs/core/commit/4790c47518024bd391bbd6815b00f501bad76a15
  • github.com/alloy-rs/core/issues/702
  • rustsec.org/advisories/RUSTSEC-2024-0362.html

Code Behaviors & Features

Detect and mitigate GHSA-8327-84cj-8xjm 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 up to 0.7.7

Solution

Unfortunately, there is no solution available yet.

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/alloy-json-abi/GHSA-8327-84cj-8xjm.yml

Spotted a mistake? Edit the file on GitLab.

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

Page generated Wed, 14 May 2025 12:16:07 +0000.