<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE glsa SYSTEM "http://www.gentoo.org/dtd/glsa.dtd">
<glsa id="202405-23">
    <title>U-Boot tools: double free vulnerability</title>
    <synopsis>A vulnerability has been discovered in U-Boot tools which can lead to execution of arbitary code.</synopsis>
    <product type="ebuild">u-boot-tools</product>
    <announced>2024-05-08</announced>
    <revised count="1">2024-05-08</revised>
    <bug>717000</bug>
    <access>remote</access>
    <affected>
        <package name="dev-embedded/u-boot-tools" auto="yes" arch="*">
            <unaffected range="ge">2020.04</unaffected>
            <vulnerable range="lt">2020.04</vulnerable>
        </package>
    </affected>
    <background>
        <p>U-Boot tools provides utiiities for working with Das U-Boot.</p>
    </background>
    <description>
        <p>A vulnerability has been discovered in U-Boot tools. Please review the CVE identifier referenced below for details.</p>
    </description>
    <impact type="normal">
        <p>In Das U-Boot a double free has been found in the cmd/gpt.c do_rename_gpt_parts() function. Double freeing may result in a write-what-where condition, allowing an attacker to execute arbitrary code.</p>
    </impact>
    <workaround>
        <p>There is no known workaround at this time.</p>
    </workaround>
    <resolution>
        <p>All U-Boot tools users should upgrade to the latest version:</p>
        
        <code>
          # emerge --sync
          # emerge --ask --oneshot --verbose ">=dev-embedded/u-boot-tools-2020.04"
        </code>
    </resolution>
    <references>
        <uri link="https://nvd.nist.gov/vuln/detail/CVE-2020-8432">CVE-2020-8432</uri>
    </references>
    <metadata tag="requester" timestamp="2024-05-08T07:20:03.445897Z">graaff</metadata>
    <metadata tag="submitter" timestamp="2024-05-08T07:20:03.451147Z">graaff</metadata>
</glsa>