Description (CNA)
libssh2 1.11.1, fixed in commit 97acf3d, contains an out-of-bounds write vulnerability in ssh2_transport_read() that fails to enforce upper bounds on packet_length field. Remote attackers can send crafted SSH packets with excessively large packet_length values to corrupt heap memory and achieve remote code execution.
Affected (CNA)
| Vendor / product | Versions |
|---|---|
| libssh2 / libssh2 | affected 1.11.1; affected 1c3f1b7da588f2652260285529ec3c1f1125eb4e before 97acf3dfda80c91c3a8c9f2372546301d4a1a7a8 |
CWE
CWE-680
References
- https://github.com/libssh2/libssh2/pull/2052
- https://github.com/libssh2/libssh2/commit/97acf3dfda80c91c3a8c9f2372546301d4a1a7a8
- https://www.vulncheck.com/advisories/libssh2-out-of-bounds-write-via-unchecked-packet-length-in-transport-c
ADP enrichment
No English description supplied.