GHSA-8327-84cj-8xjm

Suggest an improvement
Source
https://github.com/advisories/GHSA-8327-84cj-8xjm
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2024/08/GHSA-8327-84cj-8xjm/GHSA-8327-84cj-8xjm.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-8327-84cj-8xjm
Published
2024-08-15T22:10:06Z
Modified
2024-08-15T22:10:07Z
Severity
  • 5.3 (Medium) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L CVSS Calculator
  • 6.9 (Medium) CVSS_V4 - CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N CVSS Calculator
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.

Database specific
{
    "nvd_published_at": null,
    "cwe_ids": [
        "CWE-400"
    ],
    "severity": "MODERATE",
    "github_reviewed": true,
    "github_reviewed_at": "2024-08-15T22:10:06Z"
}
References

Affected packages

crates.io / alloy-json-abi

Package

Name
alloy-json-abi
View open source insights on deps.dev
Purl
pkg:cargo/alloy-json-abi

Affected ranges

Type
SEMVER
Events
Introduced
0Unknown introduced version / All previous versions are affected
Last affected
0.7.7