OESA-2023-1305

Source
https://www.openeuler.org/en/security/security-bulletins/detail/?id=openEuler-SA-2023-1305
Import Source
https://repo.openeuler.org/security/data/osv/OESA-2023-1305.json
JSON Data
https://api.test.osv.dev/v1/vulns/OESA-2023-1305
Upstream
Published
2023-06-03T11:05:18Z
Modified
2025-08-12T05:17:42.840980Z
Summary
libssh security update
Details

The ssh library was designed to be used by programmers needing a working SSH implementation by the mean of a library. The complete control of the client is made by the programmer. With libssh, you can remotely execute programs, transfer files, use a secure and transparent tunnel for your remote programs. With its Secure FTP implementation, you can play with remote files easily, without third-party programs others than libcrypto (from openssl).

Security Fix(es):

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 SSHERROR 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 SSHOK.(CVE-2023-2283)

Database specific
{
    "severity": "Medium"
}
References

Affected packages

openEuler:22.03-LTS-SP1 / libssh

Package

Name
libssh
Purl
pkg:rpm/openEuler/libssh&distro=openEuler-22.03-LTS-SP1

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
0.9.6-7.oe2203sp1

Ecosystem specific

{
    "src": [
        "libssh-0.9.6-7.oe2203sp1.src.rpm"
    ],
    "x86_64": [
        "libssh-0.9.6-7.oe2203sp1.x86_64.rpm",
        "libssh-devel-0.9.6-7.oe2203sp1.x86_64.rpm",
        "libssh-debugsource-0.9.6-7.oe2203sp1.x86_64.rpm",
        "libssh-debuginfo-0.9.6-7.oe2203sp1.x86_64.rpm"
    ],
    "aarch64": [
        "libssh-debugsource-0.9.6-7.oe2203sp1.aarch64.rpm",
        "libssh-0.9.6-7.oe2203sp1.aarch64.rpm",
        "libssh-devel-0.9.6-7.oe2203sp1.aarch64.rpm",
        "libssh-debuginfo-0.9.6-7.oe2203sp1.aarch64.rpm"
    ],
    "noarch": [
        "libssh-help-0.9.6-7.oe2203sp1.noarch.rpm"
    ]
}