ALAS2-2023-2279

Related Vulnerabilities: CVE-2022-36227  

In libarchive 3.6.1, 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 or, in some cases, even arbitrary code execution. (CVE-2022-36227)

ALAS2-2023-2279


Amazon Linux 2 Security Advisory: ALAS-2023-2279
Advisory Release Date: 2023-09-27 22:49 Pacific
Advisory Updated Date: 2023-10-05 22:13 Pacific
Severity: Low

Issue Overview:

In libarchive 3.6.1, 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 or, in some cases, even arbitrary code execution. (CVE-2022-36227)


Affected Packages:

libarchive


Issue Correction:
Run yum update libarchive to update your system.

New Packages:
aarch64:
    libarchive-3.1.2-14.amzn2.0.1.aarch64
    libarchive-devel-3.1.2-14.amzn2.0.1.aarch64
    bsdtar-3.1.2-14.amzn2.0.1.aarch64
    bsdcpio-3.1.2-14.amzn2.0.1.aarch64
    libarchive-debuginfo-3.1.2-14.amzn2.0.1.aarch64

i686:
    libarchive-3.1.2-14.amzn2.0.1.i686
    libarchive-devel-3.1.2-14.amzn2.0.1.i686
    bsdtar-3.1.2-14.amzn2.0.1.i686
    bsdcpio-3.1.2-14.amzn2.0.1.i686
    libarchive-debuginfo-3.1.2-14.amzn2.0.1.i686

src:
    libarchive-3.1.2-14.amzn2.0.1.src

x86_64:
    libarchive-3.1.2-14.amzn2.0.1.x86_64
    libarchive-devel-3.1.2-14.amzn2.0.1.x86_64
    bsdtar-3.1.2-14.amzn2.0.1.x86_64
    bsdcpio-3.1.2-14.amzn2.0.1.x86_64
    libarchive-debuginfo-3.1.2-14.amzn2.0.1.x86_64