CVE catalog

CVE-2022-2347

u-boot: CVE-2022-2347

[CVE catalog]

Severity
High · CVSS 7.7CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:C/C:H/I:H/A:H
Published
Source
[NVD] · [CVE record]
EPSS
0.58% · Oct 25, 2026

There exists an unchecked length field in UBoot. The U-Boot DFU implementation does not bound the length field in USB DFU download setup packets, and it does not verify that the transfer direction corresponds to the specified command. Consequently, if a physical attacker crafts a USB DFU download setup packet with a `wLength` greater than 4096 bytes, they can write beyond the heap-allocated request buffer.

Vulnerable and fixed packages

Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.

DistributionPackageReleaseVersionStatus
Debianu-bootsid2025.01-3.2fixed
Debianu-bootforky2025.01-3.2fixed
Debianu-boottrixie2025.01-3+deb13u1fixed
Debianu-bootbookworm2023.01+dfsg-2+deb12u3fixed
Debianu-bootbookworm-security2023.01+dfsg-2+deb12u3fixed
Ubuntuu-boot-nezha22.042021.09+git20211008.62392d3-0ubuntu1vulnerable
Ubuntuu-boot-nezha22.042022.04+git20220405.7446a472-0ubuntu0.1vulnerable
Ubuntuu-boot-nezha22.042022.04+git20220405.7446a472-0ubuntu0.2vulnerable
Ubuntuu-boot-nezha22.042022.04+git20220405.7446a472-0ubuntu0.3vulnerable
Ubuntuu-boot-nezha22.042022.04+git20220405.7446a472-0ubuntu0.4fixed
Ubuntuu-boot18.042016.03+dfsg1-6ubuntu2vulnerable
Ubuntuu-boot18.042018.07~rc3+dfsg1-0ubuntu1~18.04.1vulnerable
Ubuntuu-boot18.042018.07~rc3+dfsg1-0ubuntu2~18.04.1vulnerable
Ubuntuu-boot18.042018.07~rc3+dfsg1-0ubuntu3~18.04.1vulnerable
Ubuntuu-boot18.042019.07+dfsg-1ubuntu4~18.04.1vulnerable
Ubuntuu-boot18.042020.10+dfsg-1ubuntu0~18.04.2vulnerable
Ubuntuu-boot18.042020.10+dfsg-1ubuntu0~18.04.3fixed
Ubuntuu-boot20.042019.07+dfsg-1ubuntu3vulnerable
Ubuntuu-boot20.042019.07+dfsg-1ubuntu5vulnerable
Ubuntuu-boot20.042019.07+dfsg-1ubuntu6vulnerable
Ubuntuu-boot20.042020.10+dfsg-1ubuntu0~20.04.2vulnerable
Ubuntuu-boot20.042021.01+dfsg-3ubuntu0~20.04.1vulnerable
Ubuntuu-boot20.042021.01+dfsg-3ubuntu0~20.04.3vulnerable
Ubuntuu-boot20.042021.01+dfsg-3ubuntu0~20.04.4vulnerable
Ubuntuu-boot20.042021.01+dfsg-3ubuntu0~20.04.5fixed
Ubuntuu-boot22.042021.07+dfsg-0ubuntu8vulnerable
Ubuntuu-boot22.042021.07+dfsg-0ubuntu9vulnerable
Ubuntuu-boot22.042021.07+dfsg-0ubuntu10vulnerable
Ubuntuu-boot22.042022.01+dfsg-2ubuntu1vulnerable
Ubuntuu-boot22.042022.01+dfsg-2ubuntu2vulnerable
Ubuntuu-boot22.042022.01+dfsg-2ubuntu2.1vulnerable
Ubuntuu-boot22.042022.01+dfsg-2ubuntu2.3fixed

Fixed-version evidence

DistributionPackageTypeReleaseFixed versionUrgencyOriginBugs
Debianu-bootsourcesid2023.01~rc4+dfsg-2not yet assignedNot reported[1014959]
Debianu-bootsourceforky2023.01~rc4+dfsg-2not yet assignedNot reported[1014959]
Debianu-bootsourcetrixie2023.01~rc4+dfsg-2not yet assignedNot reported[1014959]
Debianu-bootsourcebookworm2023.01~rc4+dfsg-2not yet assignedNot reported[1014959]
Ubuntuu-boot-nezhadeb22.042022.04+git20220405.7446a472-0ubuntu0.4Not reportedUSN-6523-1Not reported
Ubuntuu-bootdeb18.042020.10+dfsg-1ubuntu0~18.04.3Not reportedUSN-5764-1Not reported
Ubuntuu-bootdeb20.042021.01+dfsg-3ubuntu0~20.04.5Not reportedUSN-5764-1Not reported
Ubuntuu-bootdeb22.042022.01+dfsg-2ubuntu2.3Not reportedUSN-5764-1Not reported

[Debian bug #1014959]

OpenFactory catalog packages

[Debian 12 (Bookworm)]

  • Source package: [u-boot]

    Details (2)
    • 2023.01+dfsg-2+deb12u3 · arm64 · bookworm

      Fixed · Fixed: 2023.01~rc4+dfsg-2

      dsa · u-boot · debian · bookworm

    • 2023.01+dfsg-2+deb12u3 · arm64 · bookworm-security

      Fixed · Fixed: 2023.01~rc4+dfsg-2

      dsa · u-boot · debian · bookworm

  • Source package: [u-boot]

    Details (2)
    • 2023.01+dfsg-2+deb12u3 · arm64 · bookworm

      Fixed · Fixed: 2023.01~rc4+dfsg-2

      dsa · u-boot · debian · bookworm

    • 2023.01+dfsg-2+deb12u3 · arm64 · bookworm-security

      Fixed · Fixed: 2023.01~rc4+dfsg-2

      dsa · u-boot · debian · bookworm

  • Source package: [u-boot]

    Details (2)
    • 2023.01+dfsg-2+deb12u3 · arm64 · bookworm

      Fixed · Fixed: 2023.01~rc4+dfsg-2

      dsa · u-boot · debian · bookworm

    • 2023.01+dfsg-2+deb12u3 · arm64 · bookworm-security

      Fixed · Fixed: 2023.01~rc4+dfsg-2

      dsa · u-boot · debian · bookworm

  • Source package: [u-boot]

    Details (4)
    • 2023.01+dfsg-2+deb12u3 · all · bookworm

      Fixed · Fixed: 2023.01~rc4+dfsg-2

      dsa · u-boot · debian · bookworm

    • 2023.01+dfsg-2+deb12u3 · all · bookworm

      Fixed · Fixed: 2023.01~rc4+dfsg-2

      dsa · u-boot · debian · bookworm

    • 2023.01+dfsg-2+deb12u3 · all · bookworm-security

      Fixed · Fixed: 2023.01~rc4+dfsg-2

      dsa · u-boot · debian · bookworm

    • 2023.01+dfsg-2+deb12u3 · all · bookworm-security

      Fixed · Fixed: 2023.01~rc4+dfsg-2

      dsa · u-boot · debian · bookworm

  • Source package: [u-boot]

    Details (2)
    • 2023.01+dfsg-2+deb12u3 · arm64 · bookworm

      Fixed · Fixed: 2023.01~rc4+dfsg-2

      dsa · u-boot · debian · bookworm

    • 2023.01+dfsg-2+deb12u3 · arm64 · bookworm-security

      Fixed · Fixed: 2023.01~rc4+dfsg-2

      dsa · u-boot · debian · bookworm

  • [u-boot-rpi]Fixed

    Source package: [u-boot]

    Details (2)
    • 2023.01+dfsg-2+deb12u3 · arm64 · bookworm

      Fixed · Fixed: 2023.01~rc4+dfsg-2

      dsa · u-boot · debian · bookworm

    • 2023.01+dfsg-2+deb12u3 · arm64 · bookworm-security

      Fixed · Fixed: 2023.01~rc4+dfsg-2

      dsa · u-boot · debian · bookworm

  • Source package: [u-boot]

    Details (2)
    • 2023.01+dfsg-2+deb12u3 · arm64 · bookworm

      Fixed · Fixed: 2023.01~rc4+dfsg-2

      dsa · u-boot · debian · bookworm

    • 2023.01+dfsg-2+deb12u3 · arm64 · bookworm-security

      Fixed · Fixed: 2023.01~rc4+dfsg-2

      dsa · u-boot · debian · bookworm

  • Source package: [u-boot]

    Details (2)
    • 2023.01+dfsg-2+deb12u3 · arm64 · bookworm

      Fixed · Fixed: 2023.01~rc4+dfsg-2

      dsa · u-boot · debian · bookworm

    • 2023.01+dfsg-2+deb12u3 · arm64 · bookworm-security

      Fixed · Fixed: 2023.01~rc4+dfsg-2

      dsa · u-boot · debian · bookworm

  • Source package: [u-boot]

    Details (4)
    • 2023.01+dfsg-2+deb12u3 · amd64 · bookworm

      Fixed · Fixed: 2023.01~rc4+dfsg-2

      dsa · u-boot · debian · bookworm

    • 2023.01+dfsg-2+deb12u3 · arm64 · bookworm

      Fixed · Fixed: 2023.01~rc4+dfsg-2

      dsa · u-boot · debian · bookworm

    • 2023.01+dfsg-2+deb12u3 · amd64 · bookworm-security

      Fixed · Fixed: 2023.01~rc4+dfsg-2

      dsa · u-boot · debian · bookworm

    • 2023.01+dfsg-2+deb12u3 · arm64 · bookworm-security

      Fixed · Fixed: 2023.01~rc4+dfsg-2

      dsa · u-boot · debian · bookworm

Observed:

References