Out-of-bounds Write Affecting gptfdisk package, versions <1.0.6-r0


Severity

Recommended
0.0
medium
0
10

Snyk's Security Team recommends NVD's CVSS assessment. Learn more

Threat Intelligence

EPSS
0.05% (23rd 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-ALPINE320-GPTFDISK-7009301
  • published23 May 2024
  • disclosed11 Jan 2021

Introduced: 11 Jan 2021

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

How to fix?

Upgrade Alpine:3.20 gptfdisk to version 1.0.6-r0 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream gptfdisk package and not the gptfdisk package as distributed by Alpine. See How to fix? for Alpine:3.20 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 Scores

version 3.1