CVE-2024-44073
Rust-bitcoin Miniscript vulnerability
The Miniscript (aka rust-miniscript) library before 12.2.0 for Rust allows stack consumption because it does not properly track tree depth.
Affected products
Miniscript. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Rust-bitcoin Miniscript runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- github.com/rust-bitcoin/rust-miniscript/compare/11.2.0...12.2.0 · Patch
- github.com/rust-bitcoin/rust-miniscript/pull/704 · Patch
- github.com/rust-bitcoin/rust-miniscript/pull/712 · Patch
- nvd.nist.gov/vuln/detail/CVE-2024-44073
- github.com/rust-bitcoin/rust-miniscript/commit/5b0f5e3417f027a22b066debf825dbe6644b575b
- github.com/rust-bitcoin/rust-miniscript/commit/8f54b5e3fb7129ed9fbed53f1cb9e6e62ea4c151
- github.com/rust-bitcoin/rust-miniscript/pull/712/files
- github.com/rust-bitcoin/rust-miniscript/pull/713/files
- nvd.nist.gov/vuln/detail/CVE-2024-44073
- cve.org/CVERecord?id=CVE-2024-44073
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.