Out-of-bounds Write Affecting gdisk package, versions <0:1.0.3-11.el8


Severity

Recommended
0.0
medium
0
10

Based on CentOS security rating.

Threat Intelligence

EPSS
0.45% (37th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-CENTOS8-GDISK-2396356
  • published9 Feb 2022
  • disclosed4 Feb 2022

Introduced: 4 Feb 2022

CVE-2021-0308  (opens in a new tab)
CWE-787  (opens in a new tab)

How to fix?

Upgrade Centos:8 gdisk to version 0:1.0.3-11.el8 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream gdisk package and not the gdisk package as distributed by Centos. See How to fix? for Centos:8 relevant fixed versions and status.

In ReadLogicalParts of basicmbr.cc, there is a possible out of bounds write due to a missing bounds check. This could lead to local escalation of privilege with no additional execution privileges needed. User interaction is not needed for exploitation. Product: Android; Versions: Android-8.1, Android-9, Android-10, Android-11, Android-8.0; Android ID: A-158063095.

CVSS Base Scores

version 3.1