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% (24th 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-7009300
  • published23 May 2024
  • disclosed11 Aug 2020

Introduced: 11 Aug 2020

CVE-2020-0256  (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 LoadPartitionTable of gpt.cc, there is a possible out of bounds write due to a missing bounds check. This could lead to local escalation of privilege when inserting a malicious USB device, with no additional execution privileges needed. User interaction is not needed for exploitation.Product: AndroidVersions: Android-8.1 Android-9 Android-10 Android-8.0Android ID: A-152874864

CVSS Scores

version 3.1