Advisory

GHSA-8327-84cj-8xjm

Also known as: RUSTSEC-2024-0362

Summary

Stack overflow when parsing specially crafted JSON ABI strings

Details

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.

Severity

Medium Basis: The source's own band: MODERATE

Dates

Published
2024-08-15 22:10 UTC
Modified
2025-10-28 06:29 UTC

Affected packages and fixes

alloy-json-abi

crates.io · All systems

Affected

  • introduced 0, last affected 0.7.7 (semver)

Fixed versions

None listed

Fix

No fixed version is listed.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences