Amazon Linux AMI update for tar



Risk High
Patch available YES
Number of vulnerabilities 1
CVE-ID CVE-2023-39804
CWE-ID CWE-121
Exploitation vector Network
Public exploit N/A
Vulnerable software
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) Stack-based buffer overflow

EUVDB-ID: #VU84035

Risk: High

CVSSv4.0: 5.7 [CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:A/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:U/U:Amber]

CVE-ID: CVE-2023-39804

CWE-ID: CWE-121 - Stack-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 xattr_decoder() function in xheader.c. A remote attacker can trick the victim to open a specially crafted tar/pax archive with an overly long xattr key, trigger a stack-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.4.aarch64
    tar-1.34-1.amzn2023.0.4.aarch64
    tar-debugsource-1.34-1.amzn2023.0.4.aarch64

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

x86_64:
    tar-debuginfo-1.34-1.amzn2023.0.4.x86_64
    tar-1.34-1.amzn2023.0.4.x86_64
    tar-debugsource-1.34-1.amzn2023.0.4.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-2024-475.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###