Improper Authentication in libssh - CVE-2023-2283

 

Improper Authentication in libssh - CVE-2023-2283

Published: May 4, 2023


Vulnerability identifier: #VU75740
CSH Severity: High
CVSS v4: 9.3 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N]
CVE-ID: CVE-2023-2283
CWE-ID: CWE-287
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote attacker to bypass authentication process.

The vulnerability exists due to an error within the pki_verify_data_signature() function in pki_crypto.c. The pki_key_check_hash_compatible() function can return SSH_OK value if memory allocation error happens later in the function. The  A remote attacker can bypass authentication process and gain unauthorized access to the system.


Affected software

libssh
Debian Linux
Amazon Linux AMI
Oracle Linux
Gentoo Linux
SUSE Linux Enterprise Server for SAP Applications 15
SUSE Linux Enterprise Server 15
SUSE Linux Enterprise High Performance Computing 15
SUSE Linux Enterprise High Performance Computing LTSS 15
SUSE Linux Enterprise Real Time 15
SUSE Linux Enterprise High Performance Computing ESPOS 15
SUSE Linux Enterprise Desktop 15
SUSE Linux Enterprise Server 12
SUSE Linux Enterprise Server for SAP Applications 12
SUSE Linux Enterprise Software Development Kit 12
SUSE Linux Enterprise High Performance Computing 12
SUSE Manager Retail Branch Server
SUSE Manager Server
SUSE Manager Proxy
SUSE Linux Enterprise Micro
SUSE Linux Enterprise Micro for Rancher
openSUSE Leap Micro
SUSE Enterprise Storage
Red Hat Enterprise Linux for x86_64
Anolis OS
Red Hat Enterprise Linux for ARM 64
Red Hat Enterprise Linux for Power, little endian
Red Hat Enterprise Linux for IBM z Systems
Red Hat Enterprise Linux for ARM 64 - Extended Update Support
Red Hat Enterprise Linux Server - TUS
Red Hat Enterprise Linux for Power, little endian - Extended Update Support
Red Hat Enterprise Linux for IBM z Systems - Extended Update Support
Red Hat Enterprise Linux Server - AUS
Red Hat Enterprise Linux for x86_64 - Extended Update Support
Slackware Linux
SUSE Linux Enterprise High Performance Computing 15 SP2 LTSS
SUSE Linux Enterprise Server 15 SP2 LTSS
SUSE Linux Enterprise Server 15 SP3 LTSS
SUSE Linux Enterprise Desktop 15 SP4 LTSS
SUSE Linux Enterprise Server 15 SP4 LTSS
Basesystem Module
openSUSE Leap
openEuler
Ubuntu
Fedora
Isolation Segment
VMware Tanzu Application Service for VMs
Gatekeeper Operator
VolSync
Run Once Duration Override Operator for Red Hat OpenShift
Red Hat CodeReady Workspaces for OpenShift
Service Telemetry Framework
Migration Toolkit for Virtualization
Red Hat Advanced Cluster Management for Kubernetes
Red Hat OpenShift Dev Spaces
IBM Watson Speech Services Cartridge for IBM Cloud Pak for Data
IBM Spectrum Protect Plus
Red Hat OpenStack
Oracle Communications Cloud Native Core Binding Support Function
Oracle Communications Network Analytics Data Director
Oracle Communications Cloud Native Core Network Repository Function
Netcool Operations Insight
IBM MQ Operator
Red Hat Advanced Cluster Security for Kubernetes
IBM Watson Assistant for IBM Cloud Pak for Data
App Connect Enterprise Certified Container
Dell Secure Connect Gateway
IBM Power Hardware Management Console (HMC)
Azure Stack
Node Health Check Operator
Self Node Remediation Operator
OpenShift sandboxed containers
Red Hat OpenShift Serverless
Multicluster Engine for Kubernetes
OpenShift Service Mesh
OpenShift Data Foundation (formerly OpenShift Container Storage)
Node Maintenance Operator
OpenShift Container Platform for Windows Containers
VMware Tanzu Operations Manager
OpenShift Virtualization
Secondary Scheduler Operator for Red Hat OpenShift (OSSO)
OpenShift API for Data Protection (OADP)
Migration Toolkit for Containers
LANTIME Operating System Firmware (LTOS)
AMQ Broker
MySQL Workbench
IBM CICS TX Advanced
MySQL Cluster
RSA Authentication Manager
Red Hat Enterprise Linux Server for Power LE - Update Services for SAP Solutions
libssh-4 (Ubuntu package)
libssh-devel
libssh
libssh-debugsource
libssh-debuginfo
libssh-help
libssh (Red Hat package)
libssh-doc
libssh-config
libssh (Debian package)
libssh4-debuginfo-32bit
libssh4-32bit
libssh4
libssh4-debuginfo
libssh4-32bit-debuginfo
libssh4-64bit
libssh4-64bit-debuginfo
net-libs/libssh
Oracle Communications Cloud Native Core Network Slice Selection Function
Oracle Communications Cloud Native Core Console
Red Hat OpenShift GitOps
PowerStore X
PowerStore T
IBM Cloud Pak for Watson AIOps
Storage Resource Manager
Storage Virtualize
EMC Cloud Tiering Appliance
Dell PowerProtect Cyber Recovery
Robotic Process Automation for Cloud Pak
Dell EMC Storage Monitoring and Reporting (SMR)

How to mitigate CVE-2023-2283

Install updates from vendor's website.

libssh - addressed in versions 0.9.7, 0.10.5
Node Health Check Operator - update to 0.4.1
Self Node Remediation Operator - update to 0.5.1
VolSync - addressed in versions 0.5.4, 0.6.3, 0.7.3
Secondary Scheduler Operator for Red Hat OpenShift (OSSO) - update to 1.1.2
Run Once Duration Override Operator for Red Hat OpenShift - update to 1.0.1
OpenShift API for Data Protection (OADP) - addressed in versions 1.0.11, 1.1.6
OpenShift sandboxed containers - update to 1.4.1
Service Telemetry Framework - update to 1.5.4
Migration Toolkit for Containers - addressed in versions 1.7.11, 1.7.12
Red Hat OpenShift Serverless - update to 1.29.1
Multicluster Engine for Kubernetes - addressed in versions 2.1.8, 2.2.7
OpenShift Service Mesh - addressed in versions 2.2.8, 2.2.10, 2.3.5, 2.4.1
Migration Toolkit for Virtualization - update to 2.4.3
Red Hat Advanced Cluster Management for Kubernetes - addressed in versions 2.6.7, 2.7.7, 2.8.1
Red Hat OpenShift Dev Spaces - update to 3.7.1
IBM Watson Speech Services Cartridge for IBM Cloud Pak for Data - update to 4.8.0
OpenShift Data Foundation (formerly OpenShift Container Storage) - addressed in versions 4.10.14, 4.11.9, 4.12.5
Node Maintenance Operator - update to 5.0.1
OpenShift Container Platform for Windows Containers - update to 6.0.1
LANTIME Operating System Firmware (LTOS) - update to 7.08.002
AMQ Broker - update to 7.11.1
MySQL Workbench - update to 8.0.36
MySQL Cluster - update to 8.0.35
IBM Spectrum Protect Plus - update to 10.1.15.1
libssh-4 (Ubuntu package) - addressed in versions 0.9.3-2ubuntu2.3, 0.9.6-2ubuntu0.22.04.1, 0.9.6-2ubuntu0.22.10.1, 0.10.4-2ubuntu0.1
libssh-devel - addressed in versions 0.9.4-8, 0.9.6-7
libssh - addressed in versions 0.9.4-8, 0.9.6-7
libssh-debugsource - addressed in versions 0.9.4-8, 0.9.6-7
libssh-debuginfo - addressed in versions 0.9.4-8, 0.9.6-7
libssh-help - addressed in versions 0.9.4-8, 0.9.6-7
libssh (Red Hat package) - addressed in versions 0.9.6-4.el8_6, 0.9.6-10.el8_8, 0.10.4-11.el9
libssh-doc - update to 0.9.6-7
libssh-config - update to 0.9.6-7
libssh-devel - update to 0.9.6-7
libssh - update to 0.9.6-7
libssh (Debian package) - update to 0.9.7-0+deb11u1
libssh4-debuginfo-32bit - update to 0.9.8-3.12.2
libssh4-32bit - addressed in versions 0.9.8-3.12.2, 0.9.8-150200.13.3.1, 0.9.8-150400.3.3.1
libssh-config - addressed in versions 0.9.8-3.12.2, 0.9.8-150200.13.3.1, 0.9.8-150400.3.3.1
libssh-debugsource - addressed in versions 0.9.8-3.12.2, 0.9.8-150200.13.3.1, 0.9.8-150400.3.3.1
libssh4 - addressed in versions 0.9.8-3.12.2, 0.9.8-150200.13.3.1, 0.9.8-150400.3.3.1
libssh4-debuginfo - addressed in versions 0.9.8-3.12.2, 0.9.8-150200.13.3.1, 0.9.8-150400.3.3.1
libssh-devel - addressed in versions 0.9.8-3.12.2, 0.9.8-150200.13.3.1, 0.9.8-150400.3.3.1
libssh4-32bit-debuginfo - addressed in versions 0.9.8-150200.13.3.1, 0.9.8-150400.3.3.1
libssh4-64bit - update to 0.9.8-150400.3.3.1
libssh4-64bit-debuginfo - update to 0.9.8-150400.3.3.1
libssh - update to 0.10.5
net-libs/libssh - update to 0.10.5
libssh - update to 0.10.5-1
libssh - addressed in versions 0.10.5-1.fc37, 0.10.5-1.fc38
Netcool Operations Insight - update to 1.6.12
Red Hat OpenShift GitOps - addressed in versions 1.10.0, 1.11
IBM MQ Operator - addressed in versions 2.0.13, 2.4.1
VMware Tanzu Operations Manager - update to 3.0.12
PowerStore X - update to 3.2.1.4-2386214
PowerStore T - update to 4.0.0.2-2365061
Red Hat Advanced Cluster Security for Kubernetes - update to 4.1
IBM Cloud Pak for Watson AIOps - update to 4.2.0
IBM Watson Assistant for IBM Cloud Pak for Data - update to 4.7.4
Storage Resource Manager - update to 4.10.0.3
Dell EMC Storage Monitoring and Reporting (SMR) - update to 4.10.0.3
OpenShift Virtualization - update to 4.12.5
App Connect Enterprise Certified Container - addressed in versions 5.0.9, 9.1.0
Dell Secure Connect Gateway - update to 5.24.00.14
Storage Virtualize - addressed in versions 8.4.0.14, 8.5.0.12, 8.6.0.4, 8.7.0.0
RSA Authentication Manager - update to 8.7 SP2 Patch 2
IBM CICS TX Advanced - update to 10.1.0.0 ifix21
IBM Power Hardware Management Console (HMC) - addressed in versions 10.1.1020.0 SP3, 10.2.1040.0 SP2, 10.3.1050.0 SP1
Azure Stack - update to 10.2402
EMC Cloud Tiering Appliance - update to 13.2.0.2.29
Dell PowerProtect Cyber Recovery - update to 19.14.0.2
Robotic Process Automation for Cloud Pak - addressed in versions 21.0.7.11, 23.0.12

External References

Related Security Bulletins