meta-virtualization/recipes-extended
Fathi Boudra 7902664f89 upx: bump to 4.2.2 release - fixes various CVEs
Update upx recipe from 3.96 to 4.2.2 release:
 * Use the gitsm fetcher to get the source code.
 * Add a note to keep using the git repository.
 * Update the homepage.
 * Drop the build dependencies as they're useless. UPX builds using the
   vendor subdirectory, statically linking the libraries.

Fixes CVEs:
* https://www.cve.org/CVERecord?id=CVE-2023-23456 A heap-based buffer overflow
issue was discovered in UPX in PackTmt::pack() in p_tmt.cpp file. The flow
allows an attacker to cause a denial of service (abort) via a crafted file.
* https://www.cve.org/CVERecord?id=CVE-2023-23457 A Segmentation fault was found
in UPX in PackLinuxElf64::invert_pt_dynamic() in p_lx_elf.cpp. An attacker with
a crafted input file allows invalid memory address access that could lead to a
denial of service.
* https://www.cve.org/CVERecord?id=CVE-2021-46179 Reachable Assertion
vulnerability in upx before 4.0.0 allows attackers to cause a denial of service
via crafted file passed to the the readx function.
* https://www.cve.org/CVERecord?id=CVE-2021-43317 A heap-based buffer overflows
was discovered in upx, during the generic pointer 'p' points to an inaccessible
address in func get_le32(). The problem is essentially caused in
PackLinuxElf64::elf_lookup() at p_lx_elf.cpp:5404
* https://www.cve.org/CVERecord?id=CVE-2021-43316 A heap-based buffer overflow
was discovered in upx, during the generic pointer 'p' points to an inaccessible
address in func get_le64().
* https://www.cve.org/CVERecord?id=CVE-2021-43315 A heap-based buffer overflows
was discovered in upx, during the generic pointer 'p' points to an inaccessible
address in func get_le32(). The problem is essentially caused in
PackLinuxElf32::elf_lookup() at p_lx_elf.cpp:5349
* https://www.cve.org/CVERecord?id=CVE-2021-43314 A heap-based buffer overflows
was discovered in upx, during the generic pointer 'p' points to an inaccessible
address in func get_le32(). The problem is essentially caused in
PackLinuxElf32::elf_lookup() at p_lx_elf.cpp:5368
* https://www.cve.org/CVERecord?id=CVE-2021-43313 A heap-based buffer overflow
was discovered in upx, during the variable 'bucket' points to an inaccessible
address. The issue is being triggered in the function
PackLinuxElf32::invert_pt_dynamic at p_lx_elf.cpp:1688.
* https://www.cve.org/CVERecord?id=CVE-2021-43312 A heap-based buffer overflow
was discovered in upx, during the variable 'bucket' points to an inaccessible
address. The issue is being triggered in the function
PackLinuxElf64::invert_pt_dynamic at p_lx_elf.cpp:5239.
* https://www.cve.org/CVERecord?id=CVE-2021-43311 A heap-based buffer overflow
was discovered in upx, during the generic pointer 'p' points to an inaccessible
address in func get_le32(). The problem is essentially caused in
PackLinuxElf32::elf_lookup() at p_lx_elf.cpp:5382.
* https://www.cve.org/CVERecord?id=CVE-2021-30501 An assertion abort was found
in upx MemBuffer::alloc() in mem.cpp, in version UPX 4.0.0. The flow allows
attackers to cause a denial of service (abort) via a crafted file.
* https://www.cve.org/CVERecord?id=CVE-2021-30500 Null pointer dereference was
found in upx PackLinuxElf::canUnpack() in p_lx_elf.cpp,in version UPX 4.0.0.
That allow attackers to execute arbitrary code and cause a denial of service
via a crafted file.
* https://www.cve.org/CVERecord?id=CVE-2021-20285 A flaw was found in upx
canPack in p_lx_elf.cpp in UPX 3.96. This flaw allows attackers to cause a
denial of service (SEGV or buffer overflow and application crash) or possibly
have unspecified other impacts via a crafted ELF. The highest threat from this
vulnerability is to system availability.
* https://www.cve.org/CVERecord?id=CVE-2020-27802 An floating point exception
was discovered in the elf_lookup function in p_lx_elf.cpp in UPX 4.0.0 via a
crafted Mach-O file.
* https://www.cve.org/CVERecord?id=CVE-2020-27801 A heap-based buffer over-read
was discovered in the get_le64 function in bele.h in UPX 4.0.0 via a crafted
Mach-O file.
* https://www.cve.org/CVERecord?id=CVE-2020-27800 A heap-based buffer over-read
was discovered in the get_le32 function in bele.h in UPX 4.0.0 via a crafted
Mach-O file.
* https://www.cve.org/CVERecord?id=CVE-2020-27799 A heap-based buffer over-read
was discovered in the acc_ua_get_be32 function in miniacc.h in UPX 4.0.0 via a
crafted Mach-O file.
* https://www.cve.org/CVERecord?id=CVE-2020-27798 An invalid memory address
reference was discovered in the adjABS function in p_lx_elf.cpp in UPX 4.0.0
via a crafted Mach-O file.
* https://www.cve.org/CVERecord?id=CVE-2020-27797 An invalid memory address
reference was discovered in the elf_lookup function in p_lx_elf.cpp in UPX
4.0.0 via a crafted Mach-O file.
* https://www.cve.org/CVERecord?id=CVE-2020-27796 A heap-based buffer over-read
was discovered in the invert_pt_dynamic function in p_lx_elf.cpp in UPX 4.0.0
via a crafted Mach-O file.

Signed-off-by: Fathi Boudra <fathi.boudra@linaro.org>
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2024-02-22 17:14:38 +00:00
..
ceph ceph: upgrade v15.2.15 -> v15.2.17 2022-08-20 23:22:22 -04:00
cloud-init cloud-init: install sysvinit initscripts 2022-06-27 23:38:41 -04:00
dev86 dev86: fix a build race 2022-05-02 14:07:30 -04:00
diod global: update licence values to SPDX values 2022-02-18 13:07:10 -05:00
fuse-overlayfs fuse-overlayfs: Fix buffer overflow bug on workdir path 2022-07-15 17:13:05 -04:00
hyperstart global: update licence values to SPDX values 2022-02-18 13:07:10 -05:00
images xtf: chang the old override syntax 2023-05-17 11:47:06 -04:00
iptables global: overrides syntax conversion 2021-08-02 17:17:53 -04:00
ipxe ipxe: Pin to use gcc 2022-05-18 13:56:43 -04:00
irqbalance irqbalance: Use built-in irqbalance.service instead of local one 2023-02-15 15:10:50 -05:00
kvmtool kvmtool: update to -tip 2022-03-29 10:04:49 -04:00
libibverbs global: update licence values to SPDX values 2022-02-18 13:07:10 -05:00
libvirt libvirt: CVE-2023-2700 Memory leak in virPCIVirtualFunctionList cleanup 2023-06-07 16:41:39 -04:00
libvmi libvmi: Fix out of box build failure with xen disabled 2022-04-13 23:16:49 -04:00
nagios global: update licence values to SPDX values 2022-02-18 13:07:10 -05:00
oath global: update licence values to SPDX values 2022-02-18 13:07:10 -05:00
seabios seabios: Upgrade to 1.16 release 2022-05-18 13:56:43 -04:00
upx upx: bump to 4.2.2 release - fixes various CVEs 2024-02-22 17:14:38 +00:00
uxen global: update licence values to SPDX values 2022-02-18 13:07:10 -05:00
vgabios vgabios: upgrade to 0.8a and cleanup recipe 2022-05-02 14:07:30 -04:00
virt-what virt-what: add new recipe 2022-04-07 17:48:39 -04:00
xen xen-tools: Fix build with GCC 12 2022-05-18 13:56:43 -04:00
xvisor xvisor: Remove bb.error when builing for non-supported arch 2022-02-24 10:47:31 -05:00