ALAS2023-2023-186


Amazon Linux 2023 Security Advisory: ALAS-2023-186
Advisory Release Date: 2023-05-25 17:41 Pacific
Advisory Updated Date: 2023-06-07 20:08 Pacific
Severity: Medium

Issue Overview:

A NULL pointer dereference was found In libssh during re-keying with algorithm guessing. This issue may allow an authenticated client to cause a denial of service. (CVE-2023-1667)

A vulnerability was found in libssh, where the authentication check of the connecting client can be bypassed in thepki_verify_data_signature function in memory allocation problems. This issue may happen if there is insufficient memory or the memory usage is limited. The problem is caused by the return value rc, which is initialized to SSH_ERROR and later rewritten to save the return value of the function call pki_key_check_hash_compatible. The value of the variable is not changed between this point and the cryptographic verification. Therefore any error between them calls goto error returning SSH_OK. (CVE-2023-2283)


Affected Packages:

libssh


Issue Correction:
Run dnf update libssh --releasever 2023.0.20230607 to update your system.

New Packages:
aarch64:
    libssh-debugsource-0.10.5-1.amzn2023.0.1.aarch64
    libssh-debuginfo-0.10.5-1.amzn2023.0.1.aarch64
    libssh-0.10.5-1.amzn2023.0.1.aarch64
    libssh-devel-0.10.5-1.amzn2023.0.1.aarch64

noarch:
    libssh-config-0.10.5-1.amzn2023.0.1.noarch

src:
    libssh-0.10.5-1.amzn2023.0.1.src

x86_64:
    libssh-debugsource-0.10.5-1.amzn2023.0.1.x86_64
    libssh-debuginfo-0.10.5-1.amzn2023.0.1.x86_64
    libssh-0.10.5-1.amzn2023.0.1.x86_64
    libssh-devel-0.10.5-1.amzn2023.0.1.x86_64