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.
The product performs a calculation that can produce an integer overflow or wraparound, when the logic assumes that the resulting value will always be larger than the original value. This can introduce other weaknesses when the calculation is used for resource management or execution control.
Name | Vendor | Start Version | End Version |
---|---|---|---|
Libssh2 | Libssh2 | 1.2.8 (including) | 1.8.0 (including) |
Red Hat Enterprise Linux 6 | RedHat | libssh2-0:1.4.2-3.el6_10.1 | * |
Red Hat Enterprise Linux 7 | RedHat | libssh2-0:1.4.3-12.el7_6.2 | * |
Red Hat Enterprise Linux 7.3 Advanced Update Support | RedHat | libssh2-0:1.4.3-11.el7_3.1 | * |
Red Hat Enterprise Linux 7.3 Telco Extended Update Support | RedHat | libssh2-0:1.4.3-11.el7_3.1 | * |
Red Hat Enterprise Linux 7.3 Update Services for SAP Solutions | RedHat | libssh2-0:1.4.3-11.el7_3.1 | * |
Red Hat Enterprise Linux 7.4 Extended Update Support | RedHat | libssh2-0:1.4.3-11.el7_4.1 | * |
Red Hat Enterprise Linux 7.5 Extended Update Support | RedHat | libssh2-0:1.4.3-11.el7_5.1 | * |
Red Hat Enterprise Linux 8 | RedHat | virt:rhel-8000020190510171727.55190bc5 | * |
Libssh2 | Ubuntu | bionic | * |
Libssh2 | Ubuntu | cosmic | * |
Libssh2 | Ubuntu | esm-apps/bionic | * |
Libssh2 | Ubuntu | esm-apps/xenial | * |
Libssh2 | Ubuntu | trusty | * |
Libssh2 | Ubuntu | trusty/esm | * |
Libssh2 | Ubuntu | xenial | * |