Amazon Linux AMI update for rsync



Published: 2024-08-06
Risk High
Patch available YES
Number of vulnerabilities 3
CVE-ID CVE-2018-25032
CVE-2022-29154
CVE-2022-37434
CWE-ID CWE-119
CWE-22
CWE-122
Exploitation vector Network
Public exploit Public exploit code for vulnerability #3 is available.
Vulnerable software
Subscribe
Amazon Linux AMI
Operating systems & Components / Operating system

rsync
Operating systems & Components / Operating system package or component

Vendor Amazon Web Services

Security Bulletin

This security bulletin contains information about 3 vulnerabilities.

1) Buffer overflow

EUVDB-ID: #VU61671

Risk: Medium

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

CVE-ID: CVE-2018-25032

CWE-ID: CWE-119 - Memory corruption

Exploit availability: No

Description

The vulnerability allows a remote attacker to perform a denial of service (DoS) attack.

The vulnerability exists due to insufficient validation of user-supplied input when compressing data. A remote attacker can pass specially crafted input to the application, trigger memory corruption and perform a denial of service (DoS) attack.

Mitigation

Update the affected packages:

aarch64:
    rsync-debugsource-3.2.6-1.amzn2023.0.3.aarch64
    rsync-debuginfo-3.2.6-1.amzn2023.0.3.aarch64
    rsync-3.2.6-1.amzn2023.0.3.aarch64

noarch:
    rsync-daemon-3.2.6-1.amzn2023.0.3.noarch

src:
    rsync-3.2.6-1.amzn2023.0.3.src

x86_64:
    rsync-debugsource-3.2.6-1.amzn2023.0.3.x86_64
    rsync-debuginfo-3.2.6-1.amzn2023.0.3.x86_64
    rsync-3.2.6-1.amzn2023.0.3.x86_64

Vulnerable software versions

Amazon Linux AMI: All versions

rsync: before 3.0.6-12.14

External links

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

2) Path traversal

EUVDB-ID: #VU66189

Risk: Low

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

CVE-ID: CVE-2022-29154

CWE-ID: CWE-22 - Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')

Exploit availability: No

Description

The vulnerability allows a remote server to perform directory traversal attacks.

The vulnerability exists due to input validation error within the rsync client  when processing file names. A remote malicious server overwrite arbitrary files in the rsync client target directory and subdirectories on the connected peer.

Mitigation

Update the affected packages:

aarch64:
    rsync-debugsource-3.2.6-1.amzn2023.0.3.aarch64
    rsync-debuginfo-3.2.6-1.amzn2023.0.3.aarch64
    rsync-3.2.6-1.amzn2023.0.3.aarch64

noarch:
    rsync-daemon-3.2.6-1.amzn2023.0.3.noarch

src:
    rsync-3.2.6-1.amzn2023.0.3.src

x86_64:
    rsync-debugsource-3.2.6-1.amzn2023.0.3.x86_64
    rsync-debuginfo-3.2.6-1.amzn2023.0.3.x86_64
    rsync-3.2.6-1.amzn2023.0.3.x86_64

Vulnerable software versions

Amazon Linux AMI: All versions

rsync: before 3.0.6-12.14

External links

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


Q & A

Can this vulnerability be exploited remotely?

Yes. This vulnerability can be exploited by a remote authenticated user via the Internet.

Is there known malware, which exploits this vulnerability?

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

3) Heap-based buffer overflow

EUVDB-ID: #VU66153

Risk: High

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

CVE-ID: CVE-2022-37434

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

Exploit availability: Yes

Description

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

The vulnerability exists due to a boundary error when processing a large gzip header within inflateGetHeader in inflate.c. A remote attacker can pass a specially crafted file to the affected application, trigger heap-based buffer overflow and execute arbitrary code on the target system.


Mitigation

Update the affected packages:

aarch64:
    rsync-debugsource-3.2.6-1.amzn2023.0.3.aarch64
    rsync-debuginfo-3.2.6-1.amzn2023.0.3.aarch64
    rsync-3.2.6-1.amzn2023.0.3.aarch64

noarch:
    rsync-daemon-3.2.6-1.amzn2023.0.3.noarch

src:
    rsync-3.2.6-1.amzn2023.0.3.src

x86_64:
    rsync-debugsource-3.2.6-1.amzn2023.0.3.x86_64
    rsync-debuginfo-3.2.6-1.amzn2023.0.3.x86_64
    rsync-3.2.6-1.amzn2023.0.3.x86_64

Vulnerable software versions

Amazon Linux AMI: All versions

rsync: before 3.0.6-12.14

External links

http://alas.aws.amazon.com/AL2023/ALAS-2023-002.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. However, proof of concept for this vulnerability is available.



###SIDEBAR###