Vulnerability · Published Apr 26, 2024 · Assigned by GitHub_M
CVE-2024-32883MCUboot Injection attack of unprotected TLV values
High 7.7
In plain English
A high-severity security flaw in mcuboot from mcu-tools. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.1% (higher than 2% of all known vulnerabilities).
Official description
MCUboot is a secure bootloader for 32-bits microcontrollers. MCUboot uses a TLV (tag-length-value) structure to represent the meta data associated with an image. The TLVs themselves are divided into two sections, a protected and an unprotected section. The protected TLV entries are included as part of the image signature to avoid tampering. However, the code does not distinguish which TLV entries should be protected or not, so it is possible for an attacker to add unprotected TLV entries that should be protected. Currently, the primary protected TLV entries should be the dependency indication, and the boot record. An injected dependency value would primarily result in an otherwise acceptable image being rejected. A boot record injection could allow fields in a later attestation record to include data not intended, which could cause an image to appear to have properties that it should not have. As a workaround, disable the boot record functionality.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Go | github.com/mcu-tools/mcuboot | no fix listed | GO-2024-2799 |
Affected products (as reported)
Weakness: CWE-354 · Vector: CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:C/C:L/I:H/A:H
References
- https://github.com/mcu-tools/mcuboot/security/advisories/GHSA-m59c-q9gq-rh2j x_refsource_CONFIRM