Vulnerability record · OpenEuler 20.03-LTS-SP4
An update for libssh2 is now available for openEuler-20.03-LTS-SP4
OpenEuler 20.03-LTS-SP4
What it fixes
Synopsis:
libssh2 security updateSummary:
An update for libssh2 is now available for openEuler-20.03-LTS-SP4Description:
libssh2 is a library implementing the SSH2 protocol as defined by Internet Drafts: SECSH-TRANS(22), SECSH-USERAUTH(25), SECSH-CONNECTION(23), SECSH-ARCH(20), SECSH-FILEXFER(06)*, SECSH-DHGEX(04), and SECSH-NUMBERS(10).
libssh2 through 1.11.1, fixed in commit 2dae302, contains an out-of-bounds heap read vulnerability in the sftp_symlink() function in src/sftp.c that allows a malicious SSH server or man-in-the-middle attacker to disclose heap memory contents or cause a crash by sending a crafted SSH_FXP_NAME response. Attackers can supply a link_len value larger than the actual packet data in SSH_FXP_NAME responses for SFTP READLINK and REALPATH operations, triggering a heap buffer over-read of up to target_len minus one bytes due to the missing validation of available packet buffer size before the memcpy operation.(CVE-2025-15661)Topic:
An update for libssh2 is now available for openEuler-20.03-LTS-SP4.
openEuler Security has rated this update as having a security impact of medium. A Common Vunlnerability Scoring System(CVSS)base score,which gives a detailed severity rating, is available for each vulnerability from the CVElink(s) in the References section.Severity:
MediumAffected Component:
libssh2
Manual fix · OpenEuler 20.03-LTS-SP4
sudo dnf upgrade libssh2 libssh2-devel libssh2-helprpm -q libssh2 libssh2-devel libssh2-helpSources