mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-11-22 10:57:07 -08:00
[ GLSA 202105-03 ] GPT fdisk: Integer underflow
Signed-off-by: Thomas Deutschmann <whissi@gentoo.org>
This commit is contained in:
@@ -0,0 +1,54 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE glsa SYSTEM "http://www.gentoo.org/dtd/glsa.dtd">
|
||||
<glsa id="202105-03">
|
||||
<title>GPT fdisk: Integer underflow</title>
|
||||
<synopsis>An integer underflow in sgdisk from GPT fdisk package might allow
|
||||
local attacker(s) to escalate privileges.
|
||||
</synopsis>
|
||||
<product type="ebuild">gptfdisk</product>
|
||||
<announced>2021-05-26</announced>
|
||||
<revised count="1">2021-05-26</revised>
|
||||
<bug>768762</bug>
|
||||
<access>local</access>
|
||||
<affected>
|
||||
<package name="sys-apps/gptfdisk" auto="yes" arch="*">
|
||||
<unaffected range="ge">1.0.6</unaffected>
|
||||
<vulnerable range="lt">1.0.6</vulnerable>
|
||||
</package>
|
||||
</affected>
|
||||
<background>
|
||||
<p>GPT fdisk (consisting of the gdisk, cgdisk, sgdisk, and fixparts
|
||||
programs) is a set of text-mode partitioning tools for Linux, FreeBSD,
|
||||
Mac OS X, and Windows.
|
||||
</p>
|
||||
</background>
|
||||
<description>
|
||||
<p>It was discovered that ReadLogicalParts() function in basicmbr.cc was
|
||||
missing a bounds check.
|
||||
</p>
|
||||
</description>
|
||||
<impact type="normal">
|
||||
<p>A local attacker could entice a user to insert a malicious formatted
|
||||
block device (USB stick or SD card for example), that, when processed
|
||||
with sgdisk, possibly resulting in local escalation of privileges or a
|
||||
Denial of Service condition.
|
||||
</p>
|
||||
</impact>
|
||||
<workaround>
|
||||
<p>There is no known workaround at this time.</p>
|
||||
</workaround>
|
||||
<resolution>
|
||||
<p>All GPT fdisk users should upgrade to the latest version:</p>
|
||||
|
||||
<code>
|
||||
# emerge --sync
|
||||
# emerge --ask --oneshot --verbose ">=sys-apps/gptfdisk-1.0.6"
|
||||
</code>
|
||||
|
||||
</resolution>
|
||||
<references>
|
||||
<uri link="https://nvd.nist.gov/vuln/detail/CVE-2021-0308">CVE-2021-0308</uri>
|
||||
</references>
|
||||
<metadata tag="requester" timestamp="2021-05-25T22:34:12Z">whissi</metadata>
|
||||
<metadata tag="submitter" timestamp="2021-05-26T07:45:07Z">whissi</metadata>
|
||||
</glsa>
|
||||
Reference in New Issue
Block a user