GHSA-8327-84cj-8xjm
JSON

medium

Stack overflow when parsing specially crafted JSON ABI strings

Severity
medium CVSS:4.0 by GitHub
Published
Last changed
Also known as
RUSTSEC-2024-0362

Description

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.

Affected

Product or packageVersionsReported by
alloy-json-abi (crates.io)up to 0.7.7, from 0.0.0-0 before 0.8.0GitHub Advisory Database, RustSec Advisory Database

All scores

GitHub5.3medium CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
GitHubmedium CVSS:4.0CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N

Classification

What each source says

GitHub Advisory Database

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.

RustSec Advisory Database

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

Sources

SourceRecordLicence
GitHub Advisory DatabaseGHSA-8327-84cj-8xjm changed 2025-10-28CC-BY-4.0
RustSec Advisory DatabaseRUSTSEC-2024-0362 changed 2026-11-26CC0-1.0