Ecosyste.ms: Advisories
An open API service providing security vulnerability metadata for many open source software ecosystems.
Security Advisories: GSA_kwCzR0hTQS04MzI3LTg0Y2otOHhqbc4AA-sv
Stack overflow when parsing specially crafted JSON ABI strings
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.
Permalink: https://github.com/advisories/GHSA-8327-84cj-8xjmJSON: https://advisories.ecosyste.ms/api/v1/advisories/GSA_kwCzR0hTQS04MzI3LTg0Y2otOHhqbc4AA-sv
Source: GitHub Advisory Database
Origin: Unspecified
Severity: Moderate
Classification: General
Published: 3 months ago
Updated: 3 months ago
CVSS Score: 5.3
CVSS vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
Identifiers: GHSA-8327-84cj-8xjm
References:
- https://github.com/alloy-rs/core/issues/702
- https://github.com/alloy-rs/core/commit/4790c47518024bd391bbd6815b00f501bad76a15
- https://rustsec.org/advisories/RUSTSEC-2024-0362.html
- https://github.com/advisories/GHSA-8327-84cj-8xjm
Blast Radius: 0.0
Affected Packages
cargo:alloy-json-abi
Dependent packages: 19Dependent repositories: 1
Downloads: 930,844 total
Affected Version Ranges: <= 0.7.7
No known fixed version
All affected versions: 0.1.0, 0.3.0, 0.3.1, 0.3.2, 0.4.0, 0.4.1, 0.4.2, 0.5.0, 0.5.1, 0.5.2, 0.5.3, 0.5.4, 0.6.0, 0.6.1, 0.6.2, 0.6.3, 0.6.4, 0.7.0, 0.7.1, 0.7.2, 0.7.3, 0.7.4, 0.7.5, 0.7.6, 0.7.7