CVE-2020-6108 Memory corruption in F2fs-Tools

High 8.2 Published Updated

A heap buffer overflow in F2fs-Tools allows attackers to execute arbitrary code by providing a maliciously crafted f2fs filesystem image.

Exploited in the wild
Not known
Login needed
An administrator
Attackable
Local or same network only
Victim action needed
Not needed
Fix
Available

What is CVE-2020-6108?

CVE-2020-6108 is a high-severity memory corruption vulnerability in F2fs-Tools, published on 15 Oct 2020. It can only be exploited from the same machine or local network, with no action from the victim.

Official description

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.

Weakness: CWE-787, CWE-131

Which versions are affected by CVE-2020-6108?

It affects 1 product.

Products include F2fs-Tools Project F2fs-Tools.

How do I fix CVE-2020-6108?

Apply the vendor's patch.

Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.

Is CVE-2020-6108 being exploited?

There is no known exploitation of CVE-2020-6108 in the wild and no public exploit code.

Sources

Also known as ALPINE-CVE-2020-6108, DEBIAN-CVE-2020-6108, GHSA-cf92-4fvh-jjvh, UBUNTU-CVE-2020-6108.

Is CVE-2020-6108 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free