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).

Severity (CVSS 3.1)7.7High
Exploit odds (30 days)0.1%top 97.6% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known

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

EcosystemPackageFixed inAdvisory
Gogithub.com/mcu-tools/mcubootno fix listedGO-2024-2799

Affected products (as reported)

VendorProductVersions
mcu-tools mcuboot <= 1.11.0

Weakness: CWE-354 · Vector: CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:C/C:L/I:H/A:H

References