Amazon Linux AMI update for tar



Published: 2024-08-06
Risk High
Patch available YES
Number of vulnerabilities 1
CVE-ID CVE-2022-48303
CWE-ID CWE-122
Exploitation vector Network
Public exploit N/A
Vulnerable software
Subscribe
Amazon Linux AMI
Operating systems & Components / Operating system

tar
Operating systems & Components / Operating system package or component

Vendor Amazon Web Services

Security Bulletin

This security bulletin contains one high risk vulnerability.

1) Heap-based buffer overflow

EUVDB-ID: #VU72432

Risk: High

CVSSv3.1: 7.7 [CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H/E:U/RL:O/RC:C]

CVE-ID: CVE-2022-48303

CWE-ID: CWE-122 - Heap-based Buffer Overflow

Exploit availability: No

Description

The vulnerability allows a remote attacker to execute arbitrary code on the target system.

The vulnerability exists due to a boundary error within the from_header() function in list.c when handling V7 archives. A remote attacker can trick the victim to open a specially crafted V7 archive, trigger a heap-based buffer overflow and execute arbitrary code on the target system.

Successful exploitation of this vulnerability may result in complete compromise of vulnerable system.

Mitigation

Update the affected packages:

aarch64:
    tar-debuginfo-1.34-1.amzn2023.0.3.aarch64
    tar-1.34-1.amzn2023.0.3.aarch64
    tar-debugsource-1.34-1.amzn2023.0.3.aarch64

src:
    tar-1.34-1.amzn2023.0.3.src

x86_64:
    tar-debuginfo-1.34-1.amzn2023.0.3.x86_64
    tar-1.34-1.amzn2023.0.3.x86_64
    tar-debugsource-1.34-1.amzn2023.0.3.x86_64

Vulnerable software versions

Amazon Linux AMI: All versions

tar: before 1.34-1

CPE2.3 External links

http://alas.aws.amazon.com/AL2023/ALAS-2023-153.html


Q & A

Can this vulnerability be exploited remotely?

Yes. This vulnerability can be exploited by a remote non-authenticated attacker via the Internet.

Is there known malware, which exploits this vulnerability?

No. We are not aware of malware exploiting this vulnerability.



###SIDEBAR###