cve.bz

CVE-2023-2283 Improper Authentication

6.5 mediumEPSS 1.1%

Medium (6.5). EPSS 1.1% estimated probability of exploitation activity in the next 30 days.

On this page
A vulnerability was found in libssh, where the authentication check of the connecting client can be bypassed in the`pki_verify_data_signature` function in memory allocation problems. This issue may happen if there is insufficient memory or the memory usage is limited. The problem is caused by the return value `rc,` which is initialized to SSH_ERROR and later rewritten to save the return value of the function call `pki_key_check_hash_compatible.` The value of the variable is not changed between this point and the cryptographic verification. Therefore any error between them calls `goto error` returning SSH_OK.

Severity

CVSS 3.1

6.5 medium
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N
EPSS
1.1% (unchanged from 1.1% a week ago; 1.1% 30 days ago) estimated probability of exploitation activity in the next 30 days; 65th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CWE
CWE-287 Improper Authentication
OWASP Top 10
A07:2025 Authentication Failures
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2023-2283 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2023-2283?via=ask-ai-copy and https://cve.bz/cve/CVE-2023-2283?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2023-2283 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
libssh:libsshfrom 0.9.1 through 0.9.6
libssh:libsshfrom 0.10.0 through 0.10.4
fedoraproject:fedora37
redhat:enterprise_linux8.0
redhat:enterprise_linux9.0

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian11libssh0.9.7-0+deb11u1DSA-5409-1
Debian12, 13, 14libssh0.10.5-1DEBIAN-CVE-2023-2283
Ubuntu20.04:LTSlibssh0.9.3-2ubuntu2.3UBUNTU-CVE-2023-2283 USN-6138-1
Ubuntu22.04:LTSlibssh0.9.6-2ubuntu0.22.04.1UBUNTU-CVE-2023-2283 USN-6138-1
Red Hatenterprise_linux:8::appstreamlibssh-devel, libssh-debuginfo, libssh-debugsource0:0.9.6-10.el8_8RHSA-2023:3839
Red Hatenterprise_linux:8::baseoslibssh, libssh-config, libssh-debuginfo and 1 more0:0.9.6-10.el8_8RHSA-2023:3839
Red Hatenterprise_linux:9::appstreamlibssh-devel, libssh-debuginfo, libssh-debugsource0:0.10.4-11.el9RHSA-2023:6643
Red Hatenterprise_linux:9::baseoslibssh, libssh-config, libssh-debuginfo and 1 more0:0.10.4-11.el9RHSA-2023:6643
Red Hatrhel_eus:8.6::appstreamlibssh-devel, libssh-debuginfo, libssh-debugsource0:0.9.6-4.el8_6RHSA-2024:0538
Red Hatrhel_eus:8.6::baseoslibssh, libssh-config, libssh-debuginfo and 1 more0:0.9.6-4.el8_6RHSA-2024:0538
SUSEEnterprise Storage 7.1, Linux Enterprise High Performance Computing 15 SP2-LTSS, Linux Enterprise High Performance Computing 15 SP3-LTSS and 6 morelibssh0.9.8-150200.13.3.1SUSE-SU-2024:0525-1
SUSELinux Enterprise High Performance Computing 15 SP4-ESPOS, Linux Enterprise High Performance Computing 15 SP4-LTSS, Linux Enterprise Micro 5.3 and 8 morelibssh0.9.8-150400.3.3.1SUSE-SU-2024:0140-1
SUSELinux Enterprise Server 12 SP5, Linux Enterprise Server for SAP Applications 12 SP5, Linux Enterprise Software Development Kit 12 SP5libssh0.9.8-3.12.2SUSE-SU-2024:0539-1
openSUSELeap 15.5, Leap Micro 5.3, Leap Micro 5.4libssh0.9.8-150400.3.3.1SUSE-SU-2024:0140-1
openSUSETumbleweedlibssh0.10.5-1.1openSUSE-SU-2024:12914-1
AlmaLinux8libssh, libssh-devel, libssh-config0.9.6-10.el8_8ALSA-2023:3839
AlmaLinux9libssh, libssh-devel, libssh-config0.10.4-11.el9ALSA-2023:6643
Rocky Linux8libssh0:0.9.6-10.el8_8RLSA-2023:3839

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; SUSE security data, CC BY 4.0; AlmaLinux's OSV database, MIT; Rocky Linux's errata, BSD-3-Clause. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat · SUSE · openSUSE.

Red Hat

Red Hat rates this Moderate.

ProductPackageStateAdvisory
Red Hat Enterprise Linux 8libssh-0:0.9.6-10.el8_8Fixed 2023-06-27RHSA-2023:3839
Red Hat Enterprise Linux 8.6 Extended Update Supportlibssh-0:0.9.6-4.el8_6Fixed 2024-01-29RHSA-2024:0538
Red Hat Enterprise Linux 9libssh-0:0.10.4-11.el9Fixed 2023-11-07RHSA-2023:6643
CloudForms Management Engine 5libssh2Out of support scope
Red Hat Enterprise Linux 6libssh2Out of support scope
Red Hat Enterprise Linux 7libsshOut of support scope
Red Hat Enterprise Linux 7libssh2Out of support scope

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2023-2283.

Attack patterns (CAPEC)

  • CAPEC-22 Exploiting Trust in Client Likelihood: High · Severity: High
  • CAPEC-57 Utilizing REST's Trust in the System Resource to Obtain Sensitive Data Likelihood: Medium · Severity: Very High
  • CAPEC-94 Adversary in the Middle (AiTM) Likelihood: High · Severity: Very High
  • CAPEC-114 Authentication Abuse Severity: Medium
  • CAPEC-115 Authentication Bypass Severity: Medium
  • CAPEC-151 Identity Spoofing Likelihood: Medium · Severity: Medium
  • CAPEC-194 Fake the Source of Data Severity: Medium
  • CAPEC-593 Session Hijacking Likelihood: High · Severity: Very High
  • CAPEC-633 Token Impersonation Severity: Medium
  • CAPEC-650 Upload a Web Shell to a Web Server Severity: High

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON