Login
Newsletter
Werbung

Sicherheit: Ausführen von Code mit höheren Privilegien in GPT fdisk
Aktuelle Meldungen Distributionen
Name: Ausführen von Code mit höheren Privilegien in GPT fdisk
ID: 202105-03
Distribution: Gentoo
Plattformen: Keine Angabe
Datum: Mi, 26. Mai 2021, 23:00
Referenzen: https://nvd.nist.gov/vuln/detail/CVE-2021-0308
Applikationen: GPT fdisk

Originalnachricht

This is an OpenPGP/MIME signed message (RFC 4880 and 3156)
--uK1Iz75suntZiTlqLs6g5oDy2UMWnfhY6
Content-Type: multipart/mixed;
boundary="ruQdJs76zX70qTiCTbJmHEyKdeVpiYqyB";
protected-headers="v1"
From: Thomas Deutschmann <whissi@gentoo.org>
Reply-To: security@gentoo.org
To: gentoo-announce@lists.gentoo.org
Message-ID: <f2e41cb9-1bf8-73d1-ac2a-ace577c1371a@gentoo.org>
Subject: [ GLSA 202105-03 ] GPT fdisk: Integer underflow

--ruQdJs76zX70qTiCTbJmHEyKdeVpiYqyB
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Language: en-U
Content-Transfer-Encoding: quoted-printable

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Gentoo Linux Security Advisory GLSA 202105-03
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
https://security.gentoo.org/
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

Severity: Normal
Title: GPT fdisk: Integer underflow
Date: May 26, 2021
Bugs: #768762
ID: 202105-03

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

Synopsis
========

An integer underflow in sgdisk from GPT fdisk package might allow local
attacker(s) to escalate privileges.

Background
==========

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.

Affected packages
=================

-------------------------------------------------------------------
Package / Vulnerable / Unaffected
-------------------------------------------------------------------
1 sys-apps/gptfdisk < 1.0.6 >= 1.0.6

Description
===========

It was discovered that ReadLogicalParts() function in basicmbr.cc was
missing a bounds check.

Impact
======

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.

Workaround
==========

There is no known workaround at this time.

Resolution
==========

All GPT fdisk users should upgrade to the latest version:

# emerge --sync
# emerge --ask --oneshot --verbose ">=sys-apps/gptfdisk-1.0.6"

References
==========

[ 1 ] CVE-2021-0308
https://nvd.nist.gov/vuln/detail/CVE-2021-0308

Availability
============

This GLSA and any updates to it are available for viewing at
the Gentoo Security Website:

https://security.gentoo.org/glsa/202105-03

Concerns?
=========

Security is a primary focus of Gentoo Linux and ensuring the
confidentiality and security of our users' machines is of utmost
importance to us. Any security concerns should be addressed to
security@gentoo.org or alternatively, you may file a bug at
https://bugs.gentoo.org.

License
=======

Copyright 2021 Gentoo Foundation, Inc; referenced text
belongs to its owner(s).

The contents of this document are licensed under the
Creative Commons - Attribution / Share Alike license.

https://creativecommons.org/licenses/by-sa/2.5


--ruQdJs76zX70qTiCTbJmHEyKdeVpiYqyB--

--uK1Iz75suntZiTlqLs6g5oDy2UMWnfhY6
Content-Type: application/pgp-signature; name="OpenPGP_signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="OpenPGP_signature"

-----BEGIN PGP SIGNATURE-----

wsB5BAABCAAjFiEEExKRzo+LDXJgXHuURObr3Jv2BVkFAmCt/zgFAwAAAAAACgkQRObr3Jv2BVmx
WAf9H5lgexk7gZAQeNClZVrMha26UyxqsUrDN0tbSM7Tf88BBJMW/xZ3J3SQNOV4e9sEu5sXO12j
C2pavYNQiqCexkRroe2Qz9EZac4JcIBOUf7Sz31YtrxS5dz9zU5x+nFR4ix+HHRpi2IdUiZXp9nd
YZwDTuHccXyga3VUDg5nuEKSRdIpmAVleIwXQLAALZO+34DED4mbNZslBZVZmeNP5T1LKkBaqbXW
ryhTEOtmnlOqrpD6vJw+x1oyBm74ptuM0VX35Hr7DcvHWCdvkYVUORWwW0BLVvVU/YFyL3o8+3Sf
PFR4mHQGFtHHzcPrTyKoUFQluoOCqkHY66/kK2naFA==
=JpQa
-----END PGP SIGNATURE-----

--uK1Iz75suntZiTlqLs6g5oDy2UMWnfhY6--
Pro-Linux
Pro-Linux @Facebook
Neue Nachrichten
Werbung