A flaw was found in libssh2 before 1.8.1. A server could send a multiple keyboard interactive response messages whose total length are greater than unsigned char max characters. This value is used as an index to copy memory causing in an out of bounds memory write error.
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.8.1 (excluding) |
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 | * |