GHSA-98vm-qgxx-5rjm
Record from GitHub Advisory Database · Published May 24, 2022
In libssh2 before 1.9.0, kex_method_diffie_hellman_group_exchange_sha256_key_exchange in kex.c has an integer overflow that could lead to an out-of-bounds write in the way packets are read from the server. A remote attacker who compromises a SSH server may be able to execute code on the client system when a user connects to the server. This is related to an _libssh2_check_length mistake, and is different from the various issues fixed in 1.8.1, such as CVE-2019-3855.
Risk scores
Timeline
- May 24, 2022 CVE Published
- Apr 29, 2026 Security Advisory
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln GHSA-98vm-qgxx-5rjm
vulnetix vdb fixes GHSA-98vm-qgxx-5rjm
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/GHSA-98vm-qgxx-5rjm/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart
References
- https://blog.semmle.com/libssh2-integer-overflow url
- https://libssh2.org/changes.html url
- https://lists.apache.org/thread.html/rf4c02775860db415b4955778a131c2795223f61cb8c6a450893651e4@%3Cissues.bookkeeper.apache.org%3E url
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/M7IF3LNHOA75O4WZWIHJLIRMA5LJUED3 url
- https://support.f5.com/csp/article/K13322484?utm_source=f5support&utm_medium=RSS url
- http://packetstormsecurity.com/files/172834/libssh2-1.8.2-Out-Of-Bounds-Read.html url
- https://github.com/libssh2/libssh2/compare/02ecf17...42d37aa url
- https://lists.debian.org/debian-lts-announce/2019/07/msg00024.html url
- https://security.netapp.com/advisory/ntap-20190806-0002 url
- https://support.f5.com/csp/article/K13322484 url
- https://nvd.nist.gov/vuln/detail/CVE-2019-13115 advisory
- https://github.com/libssh2/libssh2/pull/350 url
- https://lists.apache.org/thread.html/r58af02e294bd07f487e2c64ffc0a29b837db5600e33b6e698b9d696b@%3Cissues.bookkeeper.apache.org%3E url
- https://lists.debian.org/debian-lts-announce/2021/12/msg00013.html url
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/6LUNHPW64IGCASZ4JQ2J5KDXNZN53DWW url