Alibaba Cloud Linux 3 : 0188: openssh (ALINUX3-SA-2022:0188)

high Nessus Plugin ID 236225

Synopsis

The remote Alibaba Cloud Linux host is missing one or more security updates.

Description

The remote Alibaba Cloud Linux 3 host has packages installed that are affected by multiple vulnerabilities as referenced in the ALINUX3-SA-2022:0188 advisory.

Package updates are available for Alibaba Cloud Linux 3 that fix the following vulnerabilities:

CVE-2018-20685:
In OpenSSH 7.9, scp.c in the scp client allows remote SSH servers to bypass intended access restrictions via the filename of . or an empty filename. The impact is modifying the permissions of the target directory on the client side.

CVE-2019-6109:
An issue was discovered in OpenSSH 7.9. Due to missing character encoding in the progress display, a malicious server (or Man-in-The-Middle attacker) can employ crafted object names to manipulate the client output, e.g., by using ANSI control codes to hide additional files being transferred. This affects refresh_progress_meter() in progressmeter.c.

CVE-2019-6111:
An issue was discovered in OpenSSH 7.9. Due to the scp implementation being derived from 1983 rcp, the server chooses which files/directories are sent to the client. However, the scp client only performs cursory validation of the object name returned (only directory traversal attacks are prevented). A malicious scp server (or Man-in-The-Middle attacker) can overwrite arbitrary files in the scp client target directory. If recursive operation (-r) is performed, the server can manipulate subdirectories as well (for example, to overwrite the .ssh/authorized_keys file).

CVE-2020-14145:
The client side in OpenSSH 5.7 through 8.4 has an Observable Discrepancy leading to an information leak in the algorithm negotiation. This allows man-in-the-middle attackers to target initial connection attempts (where no host key for the server has been cached by the client). NOTE: some reports state that 8.5 and 8.6 are also affected.

CVE-2021-41617:
sshd in OpenSSH 6.2 through 8.x before 8.8, when certain non-default configurations are used, allows privilege escalation because supplemental groups are not initialized as expected. Helper programs for AuthorizedKeysCommand and AuthorizedPrincipalsCommand may run with privileges associated with group memberships of the sshd process, if the configuration specifies running the command as a different user.

Tenable has extracted the preceding description block directly from the Alibaba Cloud Linux security advisory.

Note that Nessus has not tested for these issues but has instead relied only on the application's self-reported version number.

Solution

Update the affected packages.

See Also

http://mirrors.aliyun.com/alinux/3/cve/alinux3-sa-20220188.xml

Plugin Details

Severity: High

ID: 236225

File Name: alinux3_sa_2022-0188.nasl

Version: 1.1

Type: local

Published: 5/14/2025

Updated: 5/14/2025

Supported Sensors: Nessus

Risk Information

VPR

Risk Factor: Medium

Score: 6.1

CVSS v2

Risk Factor: Medium

Base Score: 5.8

Temporal Score: 4.5

Vector: CVSS2#AV:N/AC:M/Au:N/C:N/I:P/A:P

CVSS Score Source: CVE-2019-6111

CVSS v3

Risk Factor: High

Base Score: 7

Temporal Score: 6.3

Vector: CVSS:3.0/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H

Temporal Vector: CVSS:3.0/E:P/RL:O/RC:C

CVSS Score Source: CVE-2021-41617

Vulnerability Information

CPE: p-cpe:/a:alibabacloud:alibaba_cloud_linux_3:openssh-debugsource, p-cpe:/a:alibabacloud:alibaba_cloud_linux_3:openssh-keycat-debuginfo, cpe:/o:alibabacloud:alibaba_cloud_linux_3, p-cpe:/a:alibabacloud:alibaba_cloud_linux_3:pam_ssh_agent_auth-debuginfo, p-cpe:/a:alibabacloud:alibaba_cloud_linux_3:openssh-ldap-debuginfo, p-cpe:/a:alibabacloud:alibaba_cloud_linux_3:openssh-server, p-cpe:/a:alibabacloud:alibaba_cloud_linux_3:openssh-cavs, p-cpe:/a:alibabacloud:alibaba_cloud_linux_3:openssh, p-cpe:/a:alibabacloud:alibaba_cloud_linux_3:openssh-clients-debuginfo, p-cpe:/a:alibabacloud:alibaba_cloud_linux_3:openssh-keycat, p-cpe:/a:alibabacloud:alibaba_cloud_linux_3:pam_ssh_agent_auth, p-cpe:/a:alibabacloud:alibaba_cloud_linux_3:openssh-server-debuginfo, p-cpe:/a:alibabacloud:alibaba_cloud_linux_3:openssh-cavs-debuginfo, p-cpe:/a:alibabacloud:alibaba_cloud_linux_3:openssh-askpass, p-cpe:/a:alibabacloud:alibaba_cloud_linux_3:openssh-clients, p-cpe:/a:alibabacloud:alibaba_cloud_linux_3:openssh-ldap, p-cpe:/a:alibabacloud:alibaba_cloud_linux_3:openssh-askpass-debuginfo, p-cpe:/a:alibabacloud:alibaba_cloud_linux_3:openssh-debuginfo

Required KB Items: Host/local_checks_enabled, Host/cpu, Host/Alibaba/release, Host/Alibaba/rpm-list

Exploit Available: true

Exploit Ease: Exploits are available

Patch Publication Date: 12/2/2022

Vulnerability Publication Date: 1/10/2019

Reference Information

CVE: CVE-2018-20685, CVE-2019-6109, CVE-2019-6111, CVE-2020-14145, CVE-2021-41617