Incorrect Calculation of Buffer Size Affecting f2fs-tools package, versions <1.14.0-r0


Severity

Recommended
0.0
high
0
10

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

Threat Intelligence

EPSS
1.16% (78th 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-ALPINE321-F2FSTOOLS-13173565
  • published1 Oct 2025
  • disclosed15 Oct 2020

Introduced: 15 Oct 2020

CVE-2020-6108  (opens in a new tab)
CWE-131  (opens in a new tab)
CWE-787  (opens in a new tab)

How to fix?

Upgrade Alpine:3.21 f2fs-tools to version 1.14.0-r0 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream f2fs-tools package and not the f2fs-tools package as distributed by Alpine. See How to fix? for Alpine:3.21 relevant fixed versions and status.

An exploitable code execution vulnerability exists in the fsck_chk_orphan_node functionality of F2fs-Tools F2fs.Fsck 1.13. A specially crafted f2fs filesystem can cause a heap buffer overflow resulting in a code execution. An attacker can provide a malicious file to trigger this vulnerability.

CVSS Base Scores

version 3.1