Amazon Linux 2 (EOS) Security Advisory: ALAS2-2023-2364
Advisory Released Date: 2023-12-04
Advisory Updated Date: 2023-12-04
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 the 0x0 memory address and privileged code can access it, then writing or reading memory is possible, which may lead to code execution." (CVE-2022-36227)
Affected Packages:
libarchive
Note:
This advisory is applicable to Amazon Linux 2 (AL2) Core repository. Visit this FAQ section for the difference between AL2 Core and AL2 Extras advisories.
Issue Correction:
Run yum update libarchive or yum update --advisory ALAS2-2023-2364 to update your system.
aarch64:
libarchive-3.1.2-14.amzn2.0.2.aarch64
libarchive-devel-3.1.2-14.amzn2.0.2.aarch64
bsdtar-3.1.2-14.amzn2.0.2.aarch64
bsdcpio-3.1.2-14.amzn2.0.2.aarch64
libarchive-debuginfo-3.1.2-14.amzn2.0.2.aarch64
i686:
libarchive-3.1.2-14.amzn2.0.2.i686
libarchive-devel-3.1.2-14.amzn2.0.2.i686
bsdtar-3.1.2-14.amzn2.0.2.i686
bsdcpio-3.1.2-14.amzn2.0.2.i686
libarchive-debuginfo-3.1.2-14.amzn2.0.2.i686
src:
libarchive-3.1.2-14.amzn2.0.2.src
x86_64:
libarchive-3.1.2-14.amzn2.0.2.x86_64
libarchive-devel-3.1.2-14.amzn2.0.2.x86_64
bsdtar-3.1.2-14.amzn2.0.2.x86_64
bsdcpio-3.1.2-14.amzn2.0.2.x86_64
libarchive-debuginfo-3.1.2-14.amzn2.0.2.x86_64