Upstream information

CVE-2021-3634 at MITRE

Description

A flaw has been found in libssh in versions prior to 0.9.6. The SSH protocol keeps track of two shared secrets during the lifetime of the session. One of them is called secret_hash and the other session_id. Initially, both of them are the same, but after key re-exchange, previous session_id is kept and used as an input to new secret_hash. Historically, both of these buffers had shared length variable, which worked as long as these buffers were same. But the key re-exchange operation can also change the key exchange method, which can be based on hash of different size, eventually creating "secret_hash" of different size than the session_id has. This becomes an issue when the session_id memory is zeroed or when it is used again during second key re-exchange.

SUSE information

Overall state of this security issue: Analysis

This issue is currently rated as having moderate severity.

SUSE Bugzilla entry: 1189608 [IN_PROGRESS]

No SUSE Security Announcements cross referenced.

List of released packages

Product(s) Fixed package version(s) References
openSUSE Tumbleweed
  • libssh-config >= 0.9.6-1.2
  • libssh-devel >= 0.9.6-1.2
  • libssh4 >= 0.9.6-1.2
  • libssh4-32bit >= 0.9.6-1.2
Patchnames:
openSUSE Tumbleweed GA libssh-config-0.9.6-1.2


Status of this issue by product and package

Please note that this evaluation state might be work in progress, incomplete or outdated. Also information for service packs in the LTSS phase is only included for issues meeting the LTSS criteria. If in doubt, feel free to contact us for clarification.

Product(s) Source package State
SUSE CaaS Platform 4.0 libssh Analysis
SUSE Enterprise Storage 6 libssh Analysis
SUSE Linux Enterprise High Performance Computing 12 SP5 libssh Not affected
SUSE Linux Enterprise High Performance Computing 15 LTSS libssh Not affected
SUSE Linux Enterprise High Performance Computing 15 SP1 LTSS libssh Analysis
SUSE Linux Enterprise Module for Basesystem 15 SP2 libssh Analysis
SUSE Linux Enterprise Server 12 SP4 ESPOS libssh Not affected
SUSE Linux Enterprise Server 12 SP4 LTSS libssh Not affected
SUSE Linux Enterprise Server 12 SP5 libssh Not affected
SUSE Linux Enterprise Server 15 LTSS libssh Not affected
SUSE Linux Enterprise Server 15 SP1 Business Critical Linux libssh Analysis
SUSE Linux Enterprise Server 15 SP1 LTSS libssh Analysis
SUSE Linux Enterprise Server ESPOS 15 libssh Not affected
SUSE Linux Enterprise Server for SAP Applications 12 SP4 libssh Not affected
SUSE Linux Enterprise Server for SAP Applications 12 SP5 libssh Not affected
SUSE Linux Enterprise Server for SAP Applications 15 libssh Not affected
SUSE Linux Enterprise Server for SAP Applications 15 SP1 libssh Analysis
SUSE Manager Proxy 4.0 libssh Unsupported
SUSE Manager Retail Branch Server 4.0 libssh Unsupported
SUSE Manager Server 4.0 libssh Unsupported
SUSE OpenStack Cloud 9 libssh Not affected
SUSE OpenStack Cloud Crowbar 9 libssh Not affected