Commit Graph

12 Commits

Author SHA1 Message Date
Adolf Belka
af9cd948b3 libarchive: Update to version 3.6.1
- Update from version 3.6.0 to 3.6.1
- Update of rootfile
- Changelog
	Libarchive 3.6.1 is a bugfix and security release.
	  Security fixes:
	    7zip reader: fix PPMD read beyond boundary (#1671)
	    ZIP reader: fix possible out of bounds read (OSS-Fuzz 38766 #1672)
	    ISO reader: fix possible heap buffer overflow in read_children() (OSS-Fuzz 38764, #1685)
	    RARv4 redaer: fix multiple issues in RARv4 filter code (introduced in libarchive 3.6.0)
	        fix heap use after free in archive_read_format_rar_read_data() (OSS-Fuzz 44547, 52efa50)
	        fix null dereference in read_data_compressed() (OSS-Fuzz 44843, 1271f77)
	        fix heap user after free in run_filters() (OSS-Fuzz 46279, #1715)

Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
Reviewed-by: Peter Müller <peter.mueller@ipfire.org>
2022-09-12 06:08:49 +00:00
Michael Tremer
03d57d8f1e libarchive: Fix build with glibc 2.36
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2022-09-11 08:36:17 +00:00
Peter Müller
9a7e4d8506 Switch checksums from MD5 to BLAKE2
Historically, the MD5 checksums in our LFS files serve as a protection
against broken downloads, or accidentally corrupted source files.

While the sources are nowadays downloaded via HTTPS, it make sense to
beef up integrity protection for them, since transparently intercepting
TLS is believed to be feasible for more powerful actors, and the state
of the public PKI ecosystem is clearly not helping.

Therefore, this patch switches from MD5 to BLAKE2, updating all LFS
files as well as make.sh to deal with this checksum algorithm. BLAKE2 is
notably faster (and more secure) than SHA2, so the performance penalty
introduced by this patch is negligible, if noticeable at all.

In preparation of this patch, the toolchain files currently used have
been supplied with BLAKE2 checksums as well on
https://source.ipfire.org/.

Cc: Michael Tremer <michael.tremer@ipfire.org>
Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
Acked-by: Michael Tremer <michael.tremeripfire.org>
2022-04-02 14:19:25 +00:00
Peter Müller
66c3619872 Early spring clean: Remove trailing whitespaces, and correct licence headers
Bumping across one of our scripts with very long trailing whitespaces, I
thought it might be a good idea to clean these up. Doing so, some
missing or inconsistent licence headers were fixed.

There is no need in shipping all these files en bloc, as their
functionality won't change.

Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
2022-02-18 23:54:57 +00:00
Adolf Belka
215a205a13 libarchive: Update to version 3.6.0
- Update from 3.5.2 to 3.6.0
- Update of rootfile
- Changelog
   Libarchive 3.6.0 is a feature and bugfix release.
     New features:
	    tar: new option "--no-read-sparse" (#1614)
	    tar: threads support for zstd (#1567)
	    RAR reader: filter support (#1503)
	    RAR5 reader: self-extracting archive support (#1585)
	    ZIP reader: zstd decompression support (#1518)
     Other notable bugfixes and improvements:
	    tar: respect "--ignore-zeros" in c, r and u modes (#1620)
	    reduced size of application binaries (#1625)
	    internal code optimizations
   Libarchive 3.5.3 is a security release
     Security Fixes:
	    extended fix for following symlinks when processing the fixup list
              (#1566, #1617, CVE-2021-31566)
	    fix invalid memory access and out of bounds read in RAR5 reader
              (#1491, #1492, #1493, CVE-2021-36976)

Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
Reviewed-by: Peter Müller <peter.mueller@ipfire.org>
2022-02-15 16:56:51 +00:00
Adolf Belka
c71f85e2dd libarchive: Update to version 3.5.2
- Update from 3.5.1 to 3.5.2
- Update rootfile
- Changelog
   Libarchive 3.5.2 is a feature and security release.
    New minor features:
     CPIO: Support for PWB and v7 binary cpio formats (#1502)
     ZIP reader: Support of deflate algorithm in symbolic link decompression (#1509)
    Important Security Fixes:
     fix handling of symbolic link ACLs on Linux (#1565)
     never follow symlinks when setting file flags on Linux (e2ad1a2)
     do not follow symlinks when processing the fixup list (#1566)
    Important Bugfixes:
     fix extraction of hardlinks to symlinks (#1044)
     7zip reader and writer fixes (#1480, #1532)
     RAR reader fixes (#1504, #1521)
     ZIP reader: fix excessive read for padded zip (#1514)
     CAB reader: fix double free (#1520)
     handle short writes from archive_write_callback (#1530)

Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
Reviewed-by: Michael Tremer <michael.tremer@ipfire.org>
2021-12-03 22:34:06 +01:00
Adolf Belka
d9cd055fa8 libarchive: Update to 3.5.1
- Update from 3.4.0 to 3.5.1
- Update rootfile
- Changelog
   Libarchive 3.5.1 Released: Dec 26, 2020
    Important bugfixes
     various compilation fixes
     fixed undefined behavior in a function in warc reader
     Windows binary uses xz 5.2.5
   Libarchive 3.5.0 Released: Dec 1, 2020
    New features
     mtree digest reader support
     completed support for UTF-8 encoding conversion
     minor API enhancements
     support for system extended attributes
     support for decompression of symbolic links in zipx archives
    Important bugfixes
     fixed extraction of archives with hard links pointing to itself
     fixed writing of cpio archives containing hardlinks without file type
     fixed rdev field in cpio format for device nodes
     fixed uninitialized size in rar5_read_data
     fixed memory leaks in error case of archive_write_open() functions
   Libarchive 3.4.3 Released: May 20, 2020
    New features
     support for pzstd compressed files
     support for RHT.security.selinux tar extended attribute
    Important bugfixes
     various zstd fixes and improvements child process
     handling fixes
   Libarchive 3.4.2 Released: Feb 11, 2020
    New features
     Atomic file extraction support (bsdtar -x --safe-writes)
     mbed TLS (PolarSSL) support
    Important bugfixes
     security fixes in RAR5 reader
     compression buffer fix in XAR writer
     fix for uname and gname longer than 32 characters in PAX writer
     fix segfault when archiving hard links in ISO9660 and XAR writers
     fix support for extracting 7z archive entries with Delta filter
   Libarchive 3.4.1 Released: Dec 30, 2019
    New features
     Unicode filename support for reading lha/lzh archives
     New pax write option "xattrhdr"
    Important bugfixes
     security fixes in wide string processing
     security fixes in RAR5 reader
     security fixes and optimizations to write filter logic
     security fix related to use of readlink(2)
     sparse file handling fixes

Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2021-04-26 17:08:12 +00:00
Erik Kapfer
cb41e4a9a9 libarchiv: Update to version 3.4.0
Version 3.4.0 is a feature and security release. The changelog can be found in here --> https://github.com/libarchive/libarchive/releases .

Signed-off-by: Erik Kapfer <ummeegge@ipfire.org>
Reviewed-by: Michael Tremer <michael.tremer@ipfire.org>
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
2019-11-13 18:45:32 +00:00
Peter Müller
eee037b890 update disclaimer in LFS files
Most of these files still used old dates and/or domain names for contact
mail addresses. This is now replaced by an up-to-date copyright line.

Just some housekeeping... :-)

Signed-off-by: Peter Müller <peter.mueller@link38.eu>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2018-09-10 19:20:36 +01:00
Marcel Lorenz
ac442269cc libarchive: update to 3.3.1
https://www.libarchive.org/

Signed-off-by: Marcel Lorenz <marcel.lorenz@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2017-06-07 10:11:01 +01:00
Marcel Lorenz
a3cab8134a libarchive: update to 3.2.1
Fixes CVE-2016-4301
Libarchive mtree parse_device Code Execution Vulnerability

Signed-off-by: Marcel Lorenz <marcel.lorenz@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2016-06-27 23:16:56 +01:00
Erik Kapfer
5184e8d361 libarchive: Add new package
This is required for newer versions of cmake.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2015-07-09 12:09:16 +02:00