Out-of-bounds Write Affecting libssh2 package, versions <0:1.4.3-12.amzn2.2
Threat Intelligence
Do your applications use this vulnerable package?
In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.
Test your applications- Snyk ID SNYK-AMZN2-LIBSSH2-1669994
- published 27 Sep 2021
- disclosed 25 Mar 2019
How to fix?
Upgrade Amazon-Linux:2
libssh2
to version 0:1.4.3-12.amzn2.2 or higher.
This issue was patched in ALAS2-2019-1199
.
NVD Description
Note: Versions mentioned in the description apply only to the upstream libssh2
package and not the libssh2
package as distributed by Amazon-Linux
.
See How to fix?
for Amazon-Linux:2
relevant fixed versions and status.
An integer overflow flaw which could lead to an out of bounds write was discovered in libssh2 before 1.8.1 in the way SSH_MSG_CHANNEL_REQUEST packets with an exit signal are parsed. 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.
References
- https://seclists.org/bugtraq/2019/Apr/25
- https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2019-3857
- https://security.netapp.com/advisory/ntap-20190327-0005/
- http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2019-3857
- https://www.debian.org/security/2019/dsa-4431
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/5DK6VO2CEUTAJFYIKWNZKEKYMYR3NO2O/
- https://www.libssh2.org/CVE-2019-3857.html
- https://www.oracle.com/technetwork/security-advisory/cpuoct2019-5072832.html
- https://lists.debian.org/debian-lts-announce/2019/03/msg00032.html
- https://access.redhat.com/errata/RHSA-2019:0679
- https://access.redhat.com/errata/RHSA-2019:1175
- https://access.redhat.com/errata/RHSA-2019:1652
- https://access.redhat.com/errata/RHSA-2019:1791
- https://access.redhat.com/errata/RHSA-2019:1943
- https://access.redhat.com/errata/RHSA-2019:2399
- http://lists.opensuse.org/opensuse-security-announce/2019-03/msg00040.html
- http://lists.opensuse.org/opensuse-security-announce/2019-04/msg00003.html
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/5DK6VO2CEUTAJFYIKWNZKEKYMYR3NO2O/