Heap Buffer Overflow Vulnerability in f2fs-tools Package

f2fs-tools Updated 02 Oct 2025

Summary

15/10/2020
N/A
Yes i
High
7.8

ALPINE-CVE-2020-6108: An exploitable code execution vulnerability exists in the fsck_chk_orphan_node functionality of F2fs-Tools F2fs.Fsck 1.13. Affects f2fs-tools versions < 1.14.0-r0. Fixed in 1.14.0-r0. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored Devnack Your last release was probably never penetration tested Manual testing by engineers who build software, not an auditor's checklist. Trusted by teams at Swift and Google Talk to Devnack

Background

f2fs-tools is a set of utilities for managing F2FS (Flash-Friendly File System), which is designed for NAND flash memory storage. It provides tools for formatting, checking, and repairing F2FS filesystems. The package is widely used in environments where flash storage is prevalent, making its security critical. This specific vulnerability affects versions prior to 1.14.0-r0, allowing attackers to exploit the system through specially crafted files.

Vulnerability Detail

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, leading to potential code execution. This vulnerability can be triggered by an attacker providing a malicious file, which could compromise the integrity and security of the system. The CVSS score for this vulnerability is 7.8, indicating a high severity level.

How To Fix

Minimum fixed version

1.14.0-r0

This is the first release that contains the fix.

sudo apk add --upgrade f2fs-tools

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Workaround

If an immediate update is not feasible, consider restricting access to the f2fs-tools utilities to trusted users only, thereby minimizing the risk of exploitation until the package can be updated.

Conclusion

The f2fs-tools package has a critical vulnerability that can lead to code execution through a heap buffer overflow. It is essential to update to the patched version 1.14.0-r0 to safeguard your system. Until then, consider implementing access restrictions as a temporary measure.

See every vulnerability recorded for f2fs-tools →

Share this vulnerability

FAQ

The vulnerability is a heap buffer overflow that can lead to code execution when a specially crafted f2fs filesystem is processed.

You can use the Vulert platform to monitor and alert for open-source vulnerabilities in your software. Visit Vulert Scanner to check if your application is affected.

Exploitation of this vulnerability could allow an attacker to execute arbitrary code on the affected system, potentially leading to data loss or unauthorized access.

Yes, you can limit access to the f2fs-tools utilities to trusted users to reduce the risk of exploitation until the package is updated.

The CVSS score of this vulnerability is 7.8, indicating a high severity level.

Related vulnerabilities

Recent vulnerabilities recorded for f2fs-tools.

How To Fix

Minimum fixed version

1.14.0-r0

This is the first release that contains the fix.

sudo apk add --upgrade f2fs-tools

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback