CVE-2020-24654
NixOS vulnerability analysis and mitigation

Overview

CVE-2020-24654 affects KDE Ark versions before 20.08.1, where a maliciously crafted TAR archive containing symlink entries could install files outside the extraction directory. The vulnerability was discovered by Fabian Vogt and disclosed on August 27, 2020. The issue affects multiple Linux distributions including Ubuntu, Debian, Fedora, and openSUSE that package the Ark archive manager (KDE Advisory, Ubuntu Notice).

Technical details

The vulnerability stems from improper handling of symbolic links in TAR archive files. When extracting archives, Ark did not properly verify symlinks, which could lead to file writes outside the intended extraction directory. The vulnerability has a CVSS v3.1 Base Score of 3.3 (LOW) with vector CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N, and a CVSS v2.0 Base Score of 4.3 (MEDIUM) (NVD).

Impact

An attacker could exploit this vulnerability by crafting a malicious TAR archive that, when extracted, would write files outside the intended extraction directory. This could lead to the installation of files anywhere in the user's home directory, potentially including modified .bashrc files or malicious scripts in the ~/.config/autostart directory (KDE Advisory, Gentoo Security).

Exploitability

The vulnerability requires user interaction to exploit, as the victim must extract a maliciously crafted TAR archive using Ark. A proof of concept exploit was made available at https://github.com/jwilk/traversal-archives/releases/download/0/dirsymlink.tar (KDE Advisory).

Mitigation and workarounds

The vulnerability was fixed in Ark version 20.08.1 by implementing proper symlink verification during archive extraction. The fix involves passing the ARCHIVE_EXTRACT_SECURE_SYMLINKS flag to libarchive. For earlier versions, users were advised to inspect archives for symlink entries pointing outside the extraction folder before extraction and avoid using the 'Extract' context menu from the Dolphin file manager (KDE Advisory, GitHub Commit).

Additional resources


SourceThis report was generated using AI

Related NixOS vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-34191CRITICAL9.1
  • NixOS logoNixOS
  • apr-util
NoYesAug 06, 2026
CVE-2026-32327CRITICAL9.1
  • NixOS logoNixOS
  • apr-util-bdb
NoYesAug 06, 2026
CVE-2026-34502HIGH7.5
  • NixOS logoNixOS
  • apr-util-ldap
NoYesAug 06, 2026
CVE-2026-34501HIGH7.5
  • NixOS logoNixOS
  • apr-util-ldap
NoYesAug 06, 2026
CVE-2025-49506HIGH7.5
  • NixOS logoNixOS
  • apr-util-sqlite
NoYesAug 06, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management