REDHAT-BUG-2498176: Medium severity libssh libssh vulnerability
A flaw was found in libssh channel handling. In sshpacketchannelopen() in src/messages.c and sshpacketchannelopenconf() in src/channels.c, the implementation accepts a peer-controlled maximum packet size of 0 in channel open messages. That zero value is stored in channel state and later reaches channelwritecommon(), where forward progress depends on the remote maximum packet size being positive; with 0, the remaining length is never reduced and the write path loops indefinitely, consuming CPU and causing denial of service. A remote authenticated peer can trigger this by advertising a zero maximum packet size in SSHMSGCHANNELOPEN or SSHMSGCHANNELOPENCONFIRMATION.
Affected Software
Event History
Frequently Asked Questions
What is the severity of REDHAT-BUG-2498176?
The severity of REDHAT-BUG-2498176 is classified as medium.
What is the risk level associated with REDHAT-BUG-2498176?
The risk level associated with REDHAT-BUG-2498176 is rated at 19.
How do I fix REDHAT-BUG-2498176?
To fix REDHAT-BUG-2498176, ensure that your libssh version is updated to a patched release that addresses the flaw.
What components are affected by REDHAT-BUG-2498176?
The components affected by REDHAT-BUG-2498176 include the libssh library.
What is the nature of the flaw in REDHAT-BUG-2498176?
The flaw in REDHAT-BUG-2498176 involves improper handling of a peer-controlled maximum packet size of zero in channel open messages.