ArchLinux: 201903-5: file: multiple issues
Summary
- CVE-2019-8904 (information disclosure)
do_bid_note in readelf.c in libmagic.a in file 5.35 has a stack-based
buffer over-read, related to file_printf and file_vprintf.
- CVE-2019-8905 (information disclosure)
do_core_note in readelf.c in libmagic.a in file 5.35 has a stack-based
buffer over-read, related to file_printable, a different vulnerability
than CVE-2018-10360.
- CVE-2019-8906 (information disclosure)
do_core_note in readelf.c in libmagic.a in file 5.35 has an out-of-bounds read because memcpy is misused.
- CVE-2019-8907 (denial of service)
do_core_note in readelf.c in libmagic.a in file 5.35 allows remote
attackers to cause a denial of service (stack corruption and
application crash) or possibly have unspecified other impact.
Resolution
Upgrade to 5.36-1.
# pacman -Syu "file>=5.36-1"
The problems have been fixed upstream in version 5.36.
References
https://bugs.astron.com/view.php?id=62 https://bugs.astron.com/view.php?id=63 https://github.com/file/file/commit/2858eaf99f6cc5aae129bcbf1e24ad160240185f https://bugs.astron.com/view.php?id=64 https://bugs.astron.com/view.php?id=65 https://security.archlinux.org/CVE-2019-8904 https://security.archlinux.org/CVE-2019-8905 https://security.archlinux.org/CVE-2019-8906 https://security.archlinux.org/CVE-2019-8907
Workaround
None.