CVE-2024-32883

MCUboot Injection attack of unprotected TLV values

State
Published
Severity
7.7 High
Published
Apr 26, 2024
Updated
Aug 2, 2024
Reserved
Apr 19, 2024

Read the record on cve.org

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.

Scores

CVSSScoreVectorSource
3.17.7 HighCVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:C/C:L/I:H/A:HGitHub_M

Weaknesses

  • CWE-354 Improper Validation of Integrity Check Value

Affected Products

ProductVersions
mcubootmcu-tools
  • <= 1.11.0Affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.