Amazon Linux AMI update for gzip



Risk High
Patch available YES
Number of vulnerabilities 1
CVE-ID CVE-2022-1271
CWE-ID CWE-20
Exploitation vector Network
Public exploit N/A
Vulnerable software
Amazon Linux AMI
Operating systems & Components / Operating system

gzip
Operating systems & Components / Operating system package or component

Vendor Amazon Web Services

Security Bulletin

This security bulletin contains one high risk vulnerability.

1) Input validation error

EUVDB-ID: #VU62002

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-1271

CWE-ID: CWE-20 - Improper input validation

Exploit availability: No

Description

The vulnerability allows a remote attacker to compromise the affected system.

The vulnerability exists due to insufficient validation when processing filenames with two or more newlines. A remote attacker can force zgrep or xzgrep to write arbitrary files on the system.

Successful exploitation of the vulnerability may allow an attacker to compromise the affected system.

Mitigation

Update the affected packages:

aarch64:
    gzip-debuginfo-1.10-5.amzn2023.0.2.aarch64
    gzip-debugsource-1.10-5.amzn2023.0.2.aarch64
    gzip-1.10-5.amzn2023.0.2.aarch64

src:
    gzip-1.10-5.amzn2023.0.2.src

x86_64:
    gzip-debuginfo-1.10-5.amzn2023.0.2.x86_64
    gzip-debugsource-1.10-5.amzn2023.0.2.x86_64
    gzip-1.10-5.amzn2023.0.2.x86_64

Vulnerable software versions

Amazon Linux AMI: All versions

gzip: before 1.10-5

CPE2.3 External links

http://alas.aws.amazon.com/AL2023/ALAS-2023-043.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###