Skip to content
Heist/ feed
Back to feed
HighFix available

u-boot — security advisory

Type: advisorySources: OSVAdvisory ID: DEBIAN-CVE-2022-2347

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.

Products
u-boot
Affected versions
Not specified
Fixed versions
2023.01~rc4+dfsg-2
CVEs
CVE-2022-2347
Confirmed fixed CVEs
Not specified
Updated in this feed
30 Oct 2026, 14:35 UTC · Revision 1

Source evidence

DEBIAN-CVE-2022-2347

core-osv · Original source

Published 23 Sept 2022, 13:15 UTC

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.

osv:DEBIAN-CVE-2022-2347

u-boot

Fixed versions: 2023.01~rc4+dfsg-2

u-boot

Fixed versions: 2023.01~rc4+dfsg-2

u-boot

Fixed versions: 2023.01~rc4+dfsg-2

Complete source record
{
  "id": "153b94df074b7337db3656f325f441c00ca51e74fafb42494224d8a5797622ca",
  "url": "https://osv.dev/vulnerability/DEBIAN-CVE-2022-2347",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "DEBIAN-CVE-2022-2347",
    "summary": "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.",
    "evidence": "osv:DEBIAN-CVE-2022-2347",
    "products": [
      {
        "name": {
          "value": "u-boot",
          "evidence": "/affected/0/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "2023.01~rc4+dfsg-2",
            "evidence": "/affected/0/ranges"
          }
        ],
        "affected_versions": []
      },
      {
        "name": {
          "value": "u-boot",
          "evidence": "/affected/1/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "2023.01~rc4+dfsg-2",
            "evidence": "/affected/1/ranges"
          }
        ],
        "affected_versions": []
      },
      {
        "name": {
          "value": "u-boot",
          "evidence": "/affected/2/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "2023.01~rc4+dfsg-2",
            "evidence": "/affected/2/ranges"
          }
        ],
        "affected_versions": []
      }
    ],
    "severity": "high",
    "structured": {
      "id": "DEBIAN-CVE-2022-2347",
      "aliases": [
        "DEBIAN-CVE-2022-2347"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:P/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:H"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "2023.01~rc4+dfsg-2"
                }
              ]
            }
          ],
          "package": {
            "name": "u-boot",
            "purl": "pkg:deb/debian/u-boot?arch=source&distro=bookworm",
            "ecosystem": "Debian:12"
          },
          "database_specific": {
            "source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2022-2347.json"
          },
          "ecosystem_specific": {
            "urgency": "not yet assigned"
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "2023.01~rc4+dfsg-2"
                }
              ]
            }
          ],
          "package": {
            "name": "u-boot",
            "purl": "pkg:deb/debian/u-boot?arch=source&distro=trixie",
            "ecosystem": "Debian:13"
          },
          "database_specific": {
            "source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2022-2347.json"
          },
          "ecosystem_specific": {
            "urgency": "not yet assigned"
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "2023.01~rc4+dfsg-2"
                }
              ]
            }
          ],
          "package": {
            "name": "u-boot",
            "purl": "pkg:deb/debian/u-boot?arch=source&distro=forky",
            "ecosystem": "Debian:14"
          },
          "database_specific": {
            "source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2022-2347.json"
          },
          "ecosystem_specific": {
            "urgency": "not yet assigned"
          }
        }
      ],
      "modified": "2026-10-15T08:00:46.646003563Z",
      "provider": "osv",
      "upstream": [
        "CVE-2022-2347"
      ],
      "references": [
        "https://security-tracker.debian.org/tracker/CVE-2022-2347"
      ]
    },
    "related_cves": [
      {
        "value": "CVE-2022-2347",
        "evidence": "/upstream"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 322642,
  "published_at": "2022-09-23T13:15:10.133+00:00"
}