Anolis OS update for openssh



| Updated: 2025-03-29
Risk High
Patch available YES
Number of vulnerabilities 3
CVE-ID CVE-2023-25136
CVE-2023-38408
CVE-2016-10009
CWE-ID CWE-415
CWE-426
CWE-20
Exploitation vector Network
Public exploit Public exploit code for vulnerability #1 is available.
Public exploit code for vulnerability #2 is available.
Public exploit code for vulnerability #3 is available.
Vulnerable software
Anolis OS
Operating systems & Components / Operating system

openssh-doc
Operating systems & Components / Operating system package or component

pam_ssh_agent_auth
Operating systems & Components / Operating system package or component

openssh-server
Operating systems & Components / Operating system package or component

openssh-keycat
Operating systems & Components / Operating system package or component

openssh-clients
Operating systems & Components / Operating system package or component

openssh-askpass
Operating systems & Components / Operating system package or component

openssh
Operating systems & Components / Operating system package or component

Vendor OpenAnolis

Security Bulletin

This security bulletin contains information about 3 vulnerabilities.

1) Double Free

EUVDB-ID: #VU71771

Risk: High

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

CVE-ID: CVE-2023-25136

CWE-ID: CWE-415 - Double Free

Exploit availability: Yes

Description

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

The vulnerability exists due to a boundary error within the sshd(8) daemon. A remote non-authenticated attacker can send  specially crafted data to the application, trigger a double free error and execute arbitrary code on the target system.

The vendor believes exploitation of this vulnerability has limitations as double free occurs "in the unprivileged pre-auth process that is subject to chroot(2) and is further sandboxed on most major platforms". Nevertheless we assign a high risk to this vulnerability.

Mitigation

Install updates from vendor's repository.

Vulnerable software versions

Anolis OS: 23

openssh-doc: before 9.0p1-9

pam_ssh_agent_auth: before 0.10.4-7.9

openssh-server: before 9.0p1-9

openssh-keycat: before 9.0p1-9

openssh-clients: before 9.0p1-9

openssh-askpass: before 9.0p1-9

openssh: before 9.0p1-9

CPE2.3 External links

https://anas.openanolis.cn/errata/detail/ANSA-2023:0793


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.

2) Untrusted search path

EUVDB-ID: #VU78454

Risk: Medium

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

CVE-ID: CVE-2023-38408

CWE-ID: CWE-426 - Untrusted Search Path

Exploit availability: Yes

Description

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

The vulnerability exists due to usage of an insecure search path within the PKCS#11 feature in ssh-agent. A remote attacker can trick the victim into connecting to a malicious SSH server and execute arbitrary code on the system, if an agent is forwarded to an attacker-controlled system.

Note, this vulnerability exists due to incomplete fix for #VU2015 (CVE-2016-10009).

Mitigation

Install updates from vendor's repository.

Vulnerable software versions

Anolis OS: 23

openssh-doc: before 9.0p1-9

pam_ssh_agent_auth: before 0.10.4-7.9

openssh-server: before 9.0p1-9

openssh-keycat: before 9.0p1-9

openssh-clients: before 9.0p1-9

openssh-askpass: before 9.0p1-9

openssh: before 9.0p1-9

CPE2.3 External links

https://anas.openanolis.cn/errata/detail/ANSA-2023:0793


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.

3) Improper input validation

EUVDB-ID: #VU2015

Risk: Low

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

CVE-ID: CVE-2016-10009

CWE-ID: CWE-20 - Improper input validation

Exploit availability: Yes

Description

The vulnerability allows a remote attacker to execute arbitrary code on vulnerable ssh client.

The vulnerability exists due to incorrect handling of data passed to PKCS#11 module within ssh-agent. A remote attacker with control over sshd service can execute arbitrary code on vulnerable client.

Successful exploitation of this vulnerability may allow a remote attacker to execute arbitrary code on vulnerable client system but requires that client is connected to malicious SSH server.

Mitigation

Install updates from vendor's repository.

Vulnerable software versions

Anolis OS: 23

openssh-doc: before 9.0p1-9

pam_ssh_agent_auth: before 0.10.4-7.9

openssh-server: before 9.0p1-9

openssh-keycat: before 9.0p1-9

openssh-clients: before 9.0p1-9

openssh-askpass: before 9.0p1-9

openssh: before 9.0p1-9

CPE2.3 External links

https://anas.openanolis.cn/errata/detail/ANSA-2023:0793


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