OESA-2026-1971 (CVE-2024-42040)

Vulnerability from osv_openeuler – Published: 2026-04-17 11:10 – Updated: 2026-08-06 11:10 – Source website
VLAI
Summary
uboot-tools security update
Details

This package includes the mkimage program, which allows generation of U-Boot images in various formats, and the fw_printenv and fw_setenv programs to read and modify U-Boot's environment.

Security Fix(es):

Buffer Overflow vulnerability in the net/bootp.c in DENEX U-Boot from its initial commit in 2002 (3861aa5) up to today on any platform allows an attacker on the local network to leak memory from four up to 32 bytes of memory stored behind the packet to the network depending on the later use of DHCP-provided parameters via crafted DHCP responses.(CVE-2024-42040)


{
  "affected": [
    {
      "ecosystem_specific": {
        "aarch64": [
          "uboot-images-elf-2021.10-12.oe2203sp4.aarch64.rpm",
          "uboot-tools-2021.10-12.oe2203sp4.aarch64.rpm",
          "uboot-tools-debuginfo-2021.10-12.oe2203sp4.aarch64.rpm",
          "uboot-tools-debugsource-2021.10-12.oe2203sp4.aarch64.rpm"
        ],
        "noarch": [
          "uboot-images-armv8-2021.10-12.oe2203sp4.noarch.rpm",
          "uboot-tools-help-2021.10-12.oe2203sp4.noarch.rpm"
        ],
        "src": [
          "uboot-tools-2021.10-12.oe2203sp4.src.rpm"
        ],
        "x86_64": [
          "uboot-tools-2021.10-12.oe2203sp4.x86_64.rpm",
          "uboot-tools-debuginfo-2021.10-12.oe2203sp4.x86_64.rpm",
          "uboot-tools-debugsource-2021.10-12.oe2203sp4.x86_64.rpm"
        ]
      },
      "package": {
        "ecosystem": "openEuler:22.03-LTS-SP4",
        "name": "uboot-tools",
        "purl": "pkg:rpm/openEuler/uboot-tools\u0026distro=openEuler-22.03-LTS-SP4"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "2021.10-12.oe2203sp4"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ]
    },
    {
      "ecosystem_specific": {
        "aarch64": [
          "uboot-images-elf-2024.01-4.oe2403.aarch64.rpm",
          "uboot-tools-2024.01-4.oe2403.aarch64.rpm",
          "uboot-tools-debuginfo-2024.01-4.oe2403.aarch64.rpm",
          "uboot-tools-debugsource-2024.01-4.oe2403.aarch64.rpm",
          "uboot-images-elf-2024.01-4.oe2403sp1.aarch64.rpm",
          "uboot-tools-2024.01-4.oe2403sp1.aarch64.rpm",
          "uboot-tools-debuginfo-2024.01-4.oe2403sp1.aarch64.rpm",
          "uboot-tools-debugsource-2024.01-4.oe2403sp1.aarch64.rpm",
          "uboot-images-elf-2024.01-4.oe2403sp2.aarch64.rpm",
          "uboot-tools-2024.01-4.oe2403sp2.aarch64.rpm",
          "uboot-tools-debuginfo-2024.01-4.oe2403sp2.aarch64.rpm",
          "uboot-tools-debugsource-2024.01-4.oe2403sp2.aarch64.rpm",
          "uboot-images-elf-2024.01-4.oe2403sp3.aarch64.rpm",
          "uboot-tools-2024.01-4.oe2403sp3.aarch64.rpm",
          "uboot-tools-debuginfo-2024.01-4.oe2403sp3.aarch64.rpm",
          "uboot-tools-debugsource-2024.01-4.oe2403sp3.aarch64.rpm"
        ],
        "noarch": [
          "uboot-images-armv8-2024.01-4.oe2403.noarch.rpm",
          "uboot-tools-help-2024.01-4.oe2403.noarch.rpm",
          "uboot-images-armv8-2024.01-4.oe2403sp1.noarch.rpm",
          "uboot-tools-help-2024.01-4.oe2403sp1.noarch.rpm",
          "uboot-images-armv8-2024.01-4.oe2403sp2.noarch.rpm",
          "uboot-tools-help-2024.01-4.oe2403sp2.noarch.rpm",
          "uboot-images-armv8-2024.01-4.oe2403sp3.noarch.rpm",
          "uboot-tools-help-2024.01-4.oe2403sp3.noarch.rpm"
        ],
        "src": [
          "uboot-tools-2024.01-4.oe2403.src.rpm",
          "uboot-tools-2024.01-4.oe2403sp1.src.rpm",
          "uboot-tools-2024.01-4.oe2403sp2.src.rpm",
          "uboot-tools-2024.01-4.oe2403sp3.src.rpm"
        ],
        "x86_64": [
          "uboot-tools-2024.01-4.oe2403.x86_64.rpm",
          "uboot-tools-debuginfo-2024.01-4.oe2403.x86_64.rpm",
          "uboot-tools-debugsource-2024.01-4.oe2403.x86_64.rpm",
          "uboot-tools-2024.01-4.oe2403sp1.x86_64.rpm",
          "uboot-tools-debuginfo-2024.01-4.oe2403sp1.x86_64.rpm",
          "uboot-tools-debugsource-2024.01-4.oe2403sp1.x86_64.rpm",
          "uboot-tools-2024.01-4.oe2403sp2.x86_64.rpm",
          "uboot-tools-debuginfo-2024.01-4.oe2403sp2.x86_64.rpm",
          "uboot-tools-debugsource-2024.01-4.oe2403sp2.x86_64.rpm",
          "uboot-tools-2024.01-4.oe2403sp3.x86_64.rpm",
          "uboot-tools-debuginfo-2024.01-4.oe2403sp3.x86_64.rpm",
          "uboot-tools-debugsource-2024.01-4.oe2403sp3.x86_64.rpm"
        ]
      },
      "package": {
        "ecosystem": "openEuler:24.03-LTS",
        "name": "uboot-tools",
        "purl": "pkg:rpm/openEuler/uboot-tools\u0026distro=openEuler-24.03-LTS"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "2024.01-4.oe2403sp3"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ]
    },
    {
      "ecosystem_specific": {
        "aarch64": [
          "uboot-images-elf-2024.01-4.oe2403sp1.aarch64.rpm",
          "uboot-tools-2024.01-4.oe2403sp1.aarch64.rpm",
          "uboot-tools-debuginfo-2024.01-4.oe2403sp1.aarch64.rpm",
          "uboot-tools-debugsource-2024.01-4.oe2403sp1.aarch64.rpm"
        ],
        "noarch": [
          "uboot-images-armv8-2024.01-4.oe2403sp1.noarch.rpm",
          "uboot-tools-help-2024.01-4.oe2403sp1.noarch.rpm"
        ],
        "src": [
          "uboot-tools-2024.01-4.oe2403sp1.src.rpm"
        ],
        "x86_64": [
          "uboot-tools-2024.01-4.oe2403sp1.x86_64.rpm",
          "uboot-tools-debuginfo-2024.01-4.oe2403sp1.x86_64.rpm",
          "uboot-tools-debugsource-2024.01-4.oe2403sp1.x86_64.rpm"
        ]
      },
      "package": {
        "ecosystem": "openEuler:24.03-LTS-SP1",
        "name": "uboot-tools",
        "purl": "pkg:rpm/openEuler/uboot-tools\u0026distro=openEuler-24.03-LTS-SP1"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "2024.01-4.oe2403sp1"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ]
    },
    {
      "ecosystem_specific": {
        "aarch64": [
          "uboot-images-elf-2024.01-4.oe2403sp2.aarch64.rpm",
          "uboot-tools-2024.01-4.oe2403sp2.aarch64.rpm",
          "uboot-tools-debuginfo-2024.01-4.oe2403sp2.aarch64.rpm",
          "uboot-tools-debugsource-2024.01-4.oe2403sp2.aarch64.rpm"
        ],
        "noarch": [
          "uboot-images-armv8-2024.01-4.oe2403sp2.noarch.rpm",
          "uboot-tools-help-2024.01-4.oe2403sp2.noarch.rpm"
        ],
        "src": [
          "uboot-tools-2024.01-4.oe2403sp2.src.rpm"
        ],
        "x86_64": [
          "uboot-tools-2024.01-4.oe2403sp2.x86_64.rpm",
          "uboot-tools-debuginfo-2024.01-4.oe2403sp2.x86_64.rpm",
          "uboot-tools-debugsource-2024.01-4.oe2403sp2.x86_64.rpm"
        ]
      },
      "package": {
        "ecosystem": "openEuler:24.03-LTS-SP2",
        "name": "uboot-tools",
        "purl": "pkg:rpm/openEuler/uboot-tools\u0026distro=openEuler-24.03-LTS-SP2"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "2024.01-4.oe2403sp2"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ]
    },
    {
      "ecosystem_specific": {
        "aarch64": [
          "uboot-images-elf-2024.01-4.oe2403sp3.aarch64.rpm",
          "uboot-tools-2024.01-4.oe2403sp3.aarch64.rpm",
          "uboot-tools-debuginfo-2024.01-4.oe2403sp3.aarch64.rpm",
          "uboot-tools-debugsource-2024.01-4.oe2403sp3.aarch64.rpm"
        ],
        "noarch": [
          "uboot-images-armv8-2024.01-4.oe2403sp3.noarch.rpm",
          "uboot-tools-help-2024.01-4.oe2403sp3.noarch.rpm"
        ],
        "src": [
          "uboot-tools-2024.01-4.oe2403sp3.src.rpm"
        ],
        "x86_64": [
          "uboot-tools-2024.01-4.oe2403sp3.x86_64.rpm",
          "uboot-tools-debuginfo-2024.01-4.oe2403sp3.x86_64.rpm",
          "uboot-tools-debugsource-2024.01-4.oe2403sp3.x86_64.rpm"
        ]
      },
      "package": {
        "ecosystem": "openEuler:24.03-LTS-SP3",
        "name": "uboot-tools",
        "purl": "pkg:rpm/openEuler/uboot-tools\u0026distro=openEuler-24.03-LTS-SP3"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "2024.01-4.oe2403sp3"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ]
    },
    {
      "ecosystem_specific": {
        "aarch64": [
          "uboot-images-elf-2020.07-11.oe2003sp4.aarch64.rpm",
          "uboot-tools-2020.07-11.oe2003sp4.aarch64.rpm",
          "uboot-tools-debuginfo-2020.07-11.oe2003sp4.aarch64.rpm",
          "uboot-tools-debugsource-2020.07-11.oe2003sp4.aarch64.rpm"
        ],
        "noarch": [
          "uboot-images-armv8-2020.07-11.oe2003sp4.noarch.rpm",
          "uboot-tools-help-2020.07-11.oe2003sp4.noarch.rpm"
        ],
        "src": [
          "uboot-tools-2020.07-11.oe2003sp4.src.rpm"
        ],
        "x86_64": [
          "uboot-tools-2020.07-11.oe2003sp4.x86_64.rpm",
          "uboot-tools-debuginfo-2020.07-11.oe2003sp4.x86_64.rpm",
          "uboot-tools-debugsource-2020.07-11.oe2003sp4.x86_64.rpm"
        ]
      },
      "package": {
        "ecosystem": "openEuler:20.03-LTS-SP4",
        "name": "uboot-tools",
        "purl": "pkg:rpm/openEuler/uboot-tools\u0026distro=openEuler-20.03-LTS-SP4"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "2020.07-11.oe2003sp4"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ]
    }
  ],
  "database_specific": {
    "severity": "High"
  },
  "details": "This package includes the mkimage program, which allows generation of U-Boot images in various formats, and the fw_printenv and fw_setenv programs to read and modify U-Boot\u0026amp;apos;s environment.\r\n\r\nSecurity Fix(es):\n\nBuffer Overflow vulnerability in the net/bootp.c in DENEX U-Boot from its initial commit in 2002 (3861aa5) up to today on any platform allows an attacker on the local network to leak memory from four up to 32 bytes of memory stored behind the packet to the network depending on the later use of DHCP-provided parameters via crafted DHCP responses.(CVE-2024-42040)",
  "id": "OESA-2026-1971",
  "modified": "2026-08-06T11:10:58Z",
  "published": "2026-04-17T11:10:58Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://www.openeuler.org/zh/security/security-bulletins/detail/?id=openEuler-SA-2026-1971"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2024-42040"
    }
  ],
  "schema_version": "1.7.2",
  "severity": [
    {
      "score": "CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H",
      "type": "CVSS_V3"
    }
  ],
  "summary": "uboot-tools security update",
  "upstream": [
    "CVE-2024-42040"
  ]
}



Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Forecast uses a logistic model when the trend is rising, or an exponential decay model when the trend is falling. Fitted via linearized least squares.

Sightings

Author Source Type Date Other

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or observed by the user.
  • Confirmed: The vulnerability has been validated from an analyst's perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
  • Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
  • Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
  • Not confirmed: The user expressed doubt about the validity of the vulnerability.
  • Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.

Loading…

Detection rules are retrieved from Rulezet.

Loading…

Loading…

Related by attack behaviour

Vulnerabilities whose description is nearest to this one in the vector space of the CIRCL/vulnerability-attack-technique-biencoder model. This is a similarity search over the bi-encoder space (plain cosine), not a classification, and it has no measured accuracy.


Loading…