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 inco...
Affected packages
| Package | Affected → Fixed | |
|---|---|---|
| Alpine:v3.22libssh |
< 0.11.2-r0→ 0.11.2-r0 |
0.11.2-r0 |
| Alpine:v3.23libssh |
< 0.11.2-r0→ 0.11.2-r0 |
0.11.2-r0 |
| Alpine:v3.24libssh |
< 0.11.2-r0→ 0.11.2-r0 |
0.11.2-r0 |
Original description The description as published by the source.
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.
Source: OSV.dev (Open Source Vulnerabilities) OSV
References
- advisory security.alpinelinux.org