CVE Catalog
EnglishPolski(English translation not available - showing Polish)

CVE-2020-26312

High
Published: Translated: NVD NIST

Summary

Dotmesh to interfejs wiersza poleceń podobny do gita, służący do przechwytywania, organizowania i udostępniania stanów aplikacji. W wersjach 0.8.1 i wcześniejszych, niebezpieczne zarządzanie linkami symbolicznymi w procedurze rozpakowywania może umożliwić atakującym odczyt i/lub zapis do dowolnych lokalizacji poza wyznaczonym folderem docelowym.

Risk Assessment

Organizacja może być narażona na nieautoryzowany dostęp do plików systemowych oraz możliwość zapisu w niebezpiecznych lokalizacjach, co może prowadzić do poważnych naruszeń bezpieczeństwa.

Recommendation

Zaleca się aktualizację Dotmesh do wersji nowszej niż 0.8.1, aby usunąć tę podatność oraz przeprowadzenie audytu dostępu do plików w systemie.

Related vulnerabilities

Original NVD description (English source)

Dotmesh is a git-like command-line interface for capturing, organizing and sharing application states. In versions 0.8.1 and prior, the unsafe handling of symbolic links in an unpacking routine may enable attackers to read and/or write to arbitrary locations outside the designated target folder. The routine `untarFile` attempts to guard against creating symbolic links that point outside the directory a tar archive is extracted to. However, a malicious tarball first linking `subdir/parent` to `..` (allowed, because `subdir/..` falls within the archive root) and then linking `subdir/parent/escapes` to `..` results in a symbolic link pointing to the tarball’s parent directory, contrary to the routine’s goals. This issue may lead to arbitrary file write (with same permissions as the program running the unpack operation) if the attacker can control the archive file. Additionally, if the attacker has read access to the unpacked files, they may be able to read arbitrary system files the par

Vulnerability data from NVD (NIST) · CISA KEV · EPSS