A flaw was found in the libssh library in versions less than 0.11.2. An out-of-bounds read can be triggered in the sftp_handle function due to an incorrect comparison check that permits the function to access memory beyond the valid handle list and to return an invalid pointer, which is used in further processing. This vulnerability allows an authenticated remote attacker to potentially read unintended memory regions, exposing sensitive information or affect service behavior.
The product reads data past the end, or before the beginning, of the intended buffer.
| Name | Vendor | Start Version | End Version |
|---|---|---|---|
| Openshift_container_platform | Redhat | 4.0 (including) | 4.0 (including) |
| Enterprise_linux | Redhat | 8.0 (including) | 8.0 (including) |
| Enterprise_linux | Redhat | 9.0 (including) | 9.0 (including) |
| Enterprise_linux | Redhat | 10.0 (including) | 10.0 (including) |
| Red Hat Enterprise Linux 10 | RedHat | libssh-0:0.11.1-4.el10_0 | * |
| Red Hat Enterprise Linux 8 | RedHat | libssh-0:0.9.6-15.el8_10 | * |
| Red Hat Enterprise Linux 8 | RedHat | libssh-0:0.9.6-15.el8_10 | * |
| Red Hat Enterprise Linux 8.6 Advanced Mission Critical Update Support | RedHat | libssh-0:0.9.6-4.el8_6.1 | * |
| Red Hat Enterprise Linux 8.6 Telecommunications Update Service | RedHat | libssh-0:0.9.6-4.el8_6.1 | * |
| Red Hat Enterprise Linux 8.6 Update Services for SAP Solutions | RedHat | libssh-0:0.9.6-4.el8_6.1 | * |
| Red Hat Enterprise Linux 8.8 Telecommunications Update Service | RedHat | libssh-0:0.9.6-13.el8_8.1 | * |
| Red Hat Enterprise Linux 8.8 Update Services for SAP Solutions | RedHat | libssh-0:0.9.6-13.el8_8.1 | * |
| Red Hat Enterprise Linux 9 | RedHat | libssh-0:0.10.4-15.el9_6 | * |
| Red Hat Enterprise Linux 9 | RedHat | libssh-0:0.10.4-15.el9_6 | * |
| Red Hat Enterprise Linux 9.4 Extended Update Support | RedHat | libssh-0:0.10.4-13.el9_4.1 | * |
| Libssh | Ubuntu | esm-infra/bionic | * |
| Libssh | Ubuntu | esm-infra/focal | * |
| Libssh | Ubuntu | esm-infra/xenial | * |
| Libssh | Ubuntu | jammy | * |
| Libssh | Ubuntu | noble | * |
| Libssh | Ubuntu | oracular | * |
| Libssh | Ubuntu | plucky | * |
| Libssh | Ubuntu | upstream | * |