Debian Libarchive vulnerabilities

87 known vulnerabilities affecting debian/libarchive.

Total CVEs
87
CISA KEV
0
Public exploits
0
Exploited in wild
0
Severity breakdown
CRITICAL2HIGH30MEDIUM33LOW22

Vulnerabilities

Page 2 of 5
CVE-2023-30571LOWCVSS 3.92023
CVE-2023-30571 [LOW] CVE-2023-30571: libarchive - Libarchive through 3.6.2 can cause directories to have world-writable permission... Libarchive through 3.6.2 can cause directories to have world-writable permissions. The umask() call inside archive_write_disk_posix.c changes the umask of the whole process for a very short period of time; a race condition with another thread can lead to a permanent umask 0 setting. Such a race condition could lead to implicit directory creation with permissions 0
debian
CVE-2022-36227CRITICALCVSS 9.8fixed in libarchive 3.6.2-1 (bookworm)2022
CVE-2022-36227 [CRITICAL] CVE-2022-36227: libarchive - In libarchive before 3.6.2, the software does not check for an error after calli... In libarchive before 3.6.2, the software does not check for an error after calling calloc function that can return with a NULL pointer if the function fails, which leads to a resultant NULL pointer dereference. NOTE: the discoverer cites this CWE-476 remark but third parties dispute the code-execution impact: "In rare circumstances, when NULL is equivalent to
debian
CVE-2022-26280MEDIUMCVSS 6.5fixed in libarchive 3.6.2-1 (bookworm)2022
CVE-2022-26280 [MEDIUM] CVE-2022-26280: libarchive - Libarchive v3.6.0 was discovered to contain an out-of-bounds read via the compon... Libarchive v3.6.0 was discovered to contain an out-of-bounds read via the component zipx_lzma_alone_init. Scope: local bookworm: resolved (fixed in 3.6.2-1) bullseye: resolved (fixed in 3.4.3-2+deb11u2) forky: resolved (fixed in 3.6.2-1) sid: resolved (fixed in 3.6.2-1) trixie: resolved (fixed in 3.6.2-1)
debian
CVE-2021-31566HIGHCVSS 7.8fixed in libarchive 3.5.2-1 (bookworm)2021
CVE-2021-31566 [HIGH] CVE-2021-31566: libarchive - An improper link resolution flaw can occur while extracting an archive leading t... An improper link resolution flaw can occur while extracting an archive leading to changing modes, times, access control lists, and flags of a file outside of the archive. An attacker may provide a malicious archive to a victim user, who would trigger this flaw when trying to extract the archive. A local attacker may use this flaw to gain more privileges in a syst
debian
CVE-2021-23177HIGHCVSS 7.8fixed in libarchive 3.5.2-1 (bookworm)2021
CVE-2021-23177 [HIGH] CVE-2021-23177: libarchive - An improper link resolution flaw while extracting an archive can lead to changin... An improper link resolution flaw while extracting an archive can lead to changing the access control list (ACL) of the target of the link. An attacker may provide a malicious archive to a victim user, who would trigger this flaw when trying to extract the archive. A local attacker may use this flaw to change the ACL of a file on the system and gain more privilege
debian
CVE-2021-36976MEDIUMCVSS 6.5fixed in libarchive 3.6.0-1 (bookworm)2021
CVE-2021-36976 [MEDIUM] CVE-2021-36976: libarchive - libarchive 3.4.1 through 3.5.1 has a use-after-free in copy_string (called from ... libarchive 3.4.1 through 3.5.1 has a use-after-free in copy_string (called from do_uncompress_block and process_block). Scope: local bookworm: resolved (fixed in 3.6.0-1) bullseye: resolved (fixed in 3.4.3-2+deb11u2) forky: resolved (fixed in 3.6.0-1) sid: resolved (fixed in 3.6.0-1) trixie: resolved (fixed in 3.6.0-1)
debian
CVE-2020-9308HIGHCVSS 8.8fixed in libarchive 3.4.0-2 (bookworm)2020
CVE-2020-9308 [HIGH] CVE-2020-9308: libarchive - archive_read_support_format_rar5.c in libarchive before 3.4.2 attempts to unpack... archive_read_support_format_rar5.c in libarchive before 3.4.2 attempts to unpack a RAR5 file with an invalid or corrupted header (such as a header size of zero), leading to a SIGSEGV or possibly unspecified other impact. Scope: local bookworm: resolved (fixed in 3.4.0-2) bullseye: resolved (fixed in 3.4.0-2) forky: resolved (fixed in 3.4.0-2) sid: resolved (fixed i
debian
CVE-2020-21674LOWCVSS 6.52020
CVE-2020-21674 [MEDIUM] CVE-2020-21674: libarchive - Heap-based buffer overflow in archive_string_append_from_wcs() (archive_string.c... Heap-based buffer overflow in archive_string_append_from_wcs() (archive_string.c) in libarchive-3.4.1dev allows remote attackers to cause a denial of service (out-of-bounds write in heap memory resulting into a crash) via a crafted archive file. NOTE: this only affects users who downloaded the development code from GitHub. Users of the product's official releas
debian
CVE-2019-18408HIGHCVSS 7.5fixed in libarchive 3.4.0-1 (bookworm)2019
CVE-2019-18408 [HIGH] CVE-2019-18408: libarchive - archive_read_format_rar_read_data in archive_read_support_format_rar.c in libarc... archive_read_format_rar_read_data in archive_read_support_format_rar.c in libarchive before 3.4.0 has a use-after-free in a certain ARCHIVE_FAILED situation, related to Ppmd7_DecodeSymbol. Scope: local bookworm: resolved (fixed in 3.4.0-1) bullseye: resolved (fixed in 3.4.0-1) forky: resolved (fixed in 3.4.0-1) sid: resolved (fixed in 3.4.0-1) trixie: resolved (f
debian
CVE-2019-19221MEDIUMCVSS 5.5fixed in libarchive 3.4.2-1 (bookworm)2019
CVE-2019-19221 [MEDIUM] CVE-2019-19221: libarchive - In Libarchive 3.4.0, archive_wstring_append_from_mbs in archive_string.c has an ... In Libarchive 3.4.0, archive_wstring_append_from_mbs in archive_string.c has an out-of-bounds read because of an incorrect mbrtowc or mbtowc call. For example, bsdtar crashes via a crafted archive. Scope: local bookworm: resolved (fixed in 3.4.2-1) bullseye: resolved (fixed in 3.4.2-1) forky: resolved (fixed in 3.4.2-1) sid: resolved (fixed in 3.4.2-1) trixie:
debian
CVE-2019-11463LOWCVSS 5.52019
CVE-2019-11463 [MEDIUM] CVE-2019-11463: libarchive - A memory leak in archive_read_format_zip_cleanup in archive_read_support_format_... A memory leak in archive_read_format_zip_cleanup in archive_read_support_format_zip.c in libarchive 3.3.4-dev allows remote attackers to cause a denial of service via a crafted ZIP file because of a HAVE_LZMA_H typo. NOTE: this only affects users who downloaded the development code from GitHub. Users of the product's official releases are unaffected. Scope: loc
debian
CVE-2019-1000020LOWCVSS 6.5fixed in libarchive 3.3.3-4 (bookworm)2019
CVE-2019-1000020 [MEDIUM] CVE-2019-1000020: libarchive - libarchive version commit 5a98dcf8a86364b3c2c469c85b93647dfb139961 onwards (vers... libarchive version commit 5a98dcf8a86364b3c2c469c85b93647dfb139961 onwards (version v2.8.0 onwards) contains a CWE-835: Loop with Unreachable Exit Condition ('Infinite Loop') vulnerability in ISO9660 parser, archive_read_support_format_iso9660.c, read_CE()/parse_rockridge() that can result in DoS by infinite loop. This attack appears to be exploitable via t
debian
CVE-2019-1000019LOWCVSS 6.5fixed in libarchive 3.3.3-4 (bookworm)2019
CVE-2019-1000019 [MEDIUM] CVE-2019-1000019: libarchive - libarchive version commit bf9aec176c6748f0ee7a678c5f9f9555b9a757c1 onwards (rele... libarchive version commit bf9aec176c6748f0ee7a678c5f9f9555b9a757c1 onwards (release v3.0.2 onwards) contains a CWE-125: Out-of-bounds Read vulnerability in 7zip decompression, archive_read_support_format_7zip.c, header_bytes() that can result in a crash (denial of service). This attack appears to be exploitable via the victim opening a specially crafted 7zi
debian
CVE-2018-1000878HIGHCVSS 8.8fixed in libarchive 3.3.3-2 (bookworm)2018
CVE-2018-1000878 [HIGH] CVE-2018-1000878: libarchive - libarchive version commit 416694915449219d505531b1096384f3237dd6cc onwards (rele... libarchive version commit 416694915449219d505531b1096384f3237dd6cc onwards (release v3.1.0 onwards) contains a CWE-416: Use After Free vulnerability in RAR decoder - libarchive/archive_read_support_format_rar.c that can result in Crash/DoS - it is unknown if RCE is possible. This attack appear to be exploitable via the victim must open a specially crafted RAR
debian
CVE-2018-1000877HIGHCVSS 8.8fixed in libarchive 3.3.3-2 (bookworm)2018
CVE-2018-1000877 [HIGH] CVE-2018-1000877: libarchive - libarchive version commit 416694915449219d505531b1096384f3237dd6cc onwards (rele... libarchive version commit 416694915449219d505531b1096384f3237dd6cc onwards (release v3.1.0 onwards) contains a CWE-415: Double Free vulnerability in RAR decoder - libarchive/archive_read_support_format_rar.c, parse_codes(), realloc(rar->lzss.window, new_size) with new_size = 0 that can result in Crash/DoS. This attack appear to be exploitable via the victim m
debian
CVE-2018-1000880MEDIUMCVSS 6.5fixed in libarchive 3.3.3-2 (bookworm)2018
CVE-2018-1000880 [MEDIUM] CVE-2018-1000880: libarchive - libarchive version commit 9693801580c0cf7c70e862d305270a16b52826a7 onwards (rele... libarchive version commit 9693801580c0cf7c70e862d305270a16b52826a7 onwards (release v3.2.0 onwards) contains a CWE-20: Improper Input Validation vulnerability in WARC parser - libarchive/archive_read_support_format_warc.c, _warc_read() that can result in DoS - quasi-infinite run time and disk usage from tiny file. This attack appear to be exploitable via th
debian
CVE-2018-1000879MEDIUMCVSS 6.5fixed in libarchive 3.3.3-2 (bookworm)2018
CVE-2018-1000879 [MEDIUM] CVE-2018-1000879: libarchive - libarchive version commit 379867ecb330b3a952fb7bfa7bffb7bbd5547205 onwards (rele... libarchive version commit 379867ecb330b3a952fb7bfa7bffb7bbd5547205 onwards (release v3.3.0 onwards) contains a CWE-476: NULL Pointer Dereference vulnerability in ACL parser - libarchive/archive_acl.c, archive_acl_from_text_l() that can result in Crash/DoS. This attack appear to be exploitable via the victim must open a specially crafted archive file. Scope:
debian
CVE-2017-5601HIGHCVSS 7.5fixed in libarchive 3.2.1-6 (bookworm)2017
CVE-2017-5601 [HIGH] CVE-2017-5601: libarchive - An error in the lha_read_file_header_1() function (archive_read_support_format_l... An error in the lha_read_file_header_1() function (archive_read_support_format_lha.c) in libarchive 3.2.2 allows remote attackers to trigger an out-of-bounds read memory access and subsequently cause a crash via a specially crafted archive. Scope: local bookworm: resolved (fixed in 3.2.1-6) bullseye: resolved (fixed in 3.2.1-6) forky: resolved (fixed in 3.2.1-6) si
debian
CVE-2017-14502HIGHCVSS 7.5fixed in libarchive 3.2.2-4.1 (bookworm)2017
CVE-2017-14502 [HIGH] CVE-2017-14502: libarchive - read_header in archive_read_support_format_rar.c in libarchive 3.3.2 suffers fro... read_header in archive_read_support_format_rar.c in libarchive 3.3.2 suffers from an off-by-one error for UTF-16 names in RAR archives, leading to an out-of-bounds read in archive_read_format_rar_read_header. Scope: local bookworm: resolved (fixed in 3.2.2-4.1) bullseye: resolved (fixed in 3.2.2-4.1) forky: resolved (fixed in 3.2.2-4.1) sid: resolved (fixed in 3.
debian
CVE-2017-14166MEDIUMCVSS 6.5fixed in libarchive 3.2.2-3.1 (bookworm)2017
CVE-2017-14166 [MEDIUM] CVE-2017-14166: libarchive - libarchive 3.3.2 allows remote attackers to cause a denial of service (xml_data ... libarchive 3.3.2 allows remote attackers to cause a denial of service (xml_data heap-based buffer over-read and application crash) via a crafted xar archive, related to the mishandling of empty strings in the atol8 function in archive_read_support_format_xar.c. Scope: local bookworm: resolved (fixed in 3.2.2-3.1) bullseye: resolved (fixed in 3.2.2-3.1) forky: r
debian