CVE-2023-7346
Description
A flaw was found in the Ledger Bitcoin app. The application improperly handles Miniscript policies during the address derivation process. An attacker can exploit this issue by supplying a specially crafted Miniscript policy, causing the device to derive and display an incorrect receiving address and potentially leading users to send funds to an unintended destination.
Statement
Moderate impact: Red Hat Community Projects are not affected by this Ledger Bitcoin app address-derivation vulnerability because the vulnerable code is not present in the Fedora ledger package. For affected Ledger Bitcoin app versions 2.1.0 and 2.1.1, a physically present attacker can supply a crafted miniscript policy containing the a: fragment; with user interaction, the device may display an incorrect Bitcoin receiving address, potentially causing funds to be sent to an unintended address. CVE.org rates the issue Moderate (CVSS 4.0 under v3.1 and 4.1 under v4.0), consistent with the current Red Hat impact.
Mitigation
Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base, or stability.
Understanding the Weakness (CWE)
Availability
Technical Impact: DoS: Crash, Exit, or Restart
If the incorrect calculation causes the program to move into an unexpected state, it may lead to a crash or impairment of service.
Integrity,Confidentiality,Availability
Technical Impact: DoS: Crash, Exit, or Restart; DoS: Resource Consumption (Other); Execute Unauthorized Code or Commands
If the incorrect calculation is used in the context of resource allocation, it could lead to an out-of-bounds operation (CWE-119) leading to a crash or even arbitrary code execution. Alternatively, it may result in an integer overflow (CWE-190) and / or a resource consumption problem (CWE-400).
Access Control
Technical Impact: Gain Privileges or Assume Identity
In the context of privilege or permissions assignment, an incorrect calculation can provide an attacker with access to sensitive resources.
Access Control
Technical Impact: Bypass Protection Mechanism
If the incorrect calculation leads to an insufficient comparison (CWE-697), it may compromise a protection mechanism such as a validation routine and allow an attacker to bypass the security-critical code.
Frequently Asked Questions
Not sure what something means? Check out our Security Glossary.
Want to get errata notifications? Sign up here.