نسخههای متأثر
Ubuntu22.04:LTS/libssh2
- نسخههای متأثر
- *
- نسخهٔ اصلاحشده
- اعلام نشده
Ubuntu24.04:LTS/libssh2
- نسخههای متأثر
- <1.11.0-4.1ubuntu0.24.04.2
- نسخهٔ اصلاحشده
- 1.11.0-4.1ubuntu0.24.04.2
Ubuntu25.10/libssh2
- نسخههای متأثر
- <1.11.1-1ubuntu0.25.10.2
- نسخهٔ اصلاحشده
- 1.11.1-1ubuntu0.25.10.2
Ubuntu26.04:LTS/libssh2
- نسخههای متأثر
- <1.11.1-1ubuntu0.26.04.2
- نسخهٔ اصلاحشده
- 1.11.1-1ubuntu0.26.04.2
UbuntuPro:14.04:LTS/libssh2
- نسخههای متأثر
- *
- نسخهٔ اصلاحشده
- اعلام نشده
UbuntuPro:16.04:LTS/libssh2
- نسخههای متأثر
- *
- نسخهٔ اصلاحشده
- اعلام نشده
UbuntuPro:18.04:LTS/libssh2
- نسخههای متأثر
- *
- نسخهٔ اصلاحشده
- اعلام نشده
UbuntuPro:20.04:LTS/libssh2
- نسخههای متأثر
- *
- نسخهٔ اصلاحشده
- اعلام نشده
شرح آسیبپذیری
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.
پیوندها
- https://github.com/libssh2/libssh2/pull/1705
- https://github.com/libssh2/libssh2/pull/1717
- https://ubuntu.com/security/CVE-2025-15661
- https://ubuntu.com/security/notices/USN-8486-1
- https://www.cve.org/CVERecord?id=CVE-2025-15661
- https://www.vulncheck.com/advisories/libssh2-heap-buffer-over-read-via-sftp-symlink-in-sftp-c

