---
title: "CVE-2023-2283\n    | Ubuntu"
description: Ubuntu is an open source software operating system that runs from the
  desktop, to the cloud, to all your internet connected things.
url: https://ubuntu.com/security/CVE-2023-2283?format=md
keywords: index, follow
---

# CVE-2023-2283

Publication date 9 May 2023

Last updated 26 August 2025

---

Ubuntu priority

**Medium**

[Why this priority?](https://ubuntu.com/security/cves/about#priority )

## Cvss 3 Severity Score

**6.5 · Medium**

[Score breakdown](https://ubuntu.com/security/CVE-2023-2283?format=md#impact-score)

Toggle side navigation

## Description

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.

## Status

Show unmaintained releases

| Package | Ubuntu Release | Status |
| --- | --- | --- |
| libssh | 23.10 mantic | Fixed 0.10.5-2 |
| 23.04 lunar | Fixed 0.10.4-2ubuntu0.1 |
| 22.10 kinetic | Fixed 0.9.6-2ubuntu0.22.10.1 |
| 22.04 LTS jammy | Fixed 0.9.6-2ubuntu0.22.04.1 |
| 20.04 LTS focal | Fixed 0.9.3-2ubuntu2.3 |
| 18.04 LTS bionic | Not affected |
| 16.04 LTS xenial | Not affected |
| 14.04 LTS trusty | Ignored end of standard support |

---

* [How can I get the fixes?](https://ubuntu.com/security/cves/about#security)
* [What do statuses mean?](https://ubuntu.com/security/cves/about#statuses)
* [Patch details](https://ubuntu.com/security/CVE-2023-2283?format=md#patch-details)

### Patch details

For informational purposes only. We recommend not to cherry-pick updates. [How can I get the fixes?](https://ubuntu.com/security/cves/about#security)

| Package | Patch details |
| --- | --- |
| libssh | * Upstream:   [?h=stab](https://git.libssh.org/projects/libssh.git/commit/?h=stable-0.10&id=e8dfbb85a28514e1f869dac3000c6cec6cb8d08d) * Upstream:   [?h=stab](https://git.libssh.org/projects/libssh.git/commit/?h=stable-0.10&id=c68a58575b6d0520e342cb3d3796a8fecd66405d) * Upstream:   [?h=stab](https://git.libssh.org/projects/libssh.git/commit/?h=stable-0.9&id=05de7cb6ac713dd0b7c10039e3bdbd246f3392aa) * Upstream:   [?h=stab](https://git.libssh.org/projects/libssh.git/commit/?h=stable-0.9&id=b3d19cc31d5c4b7bfa7f7e2f1e852732dd0e9be4) |

## Severity score breakdown

CVSS version:
CVSS v3.0

**Base score**

6.5 · Medium

* Base metrics

  | Parameter | Value |
  | --- | --- |
  | Attack vector | Network |
  | Attack complexity | Low |
  | Privileges required | None |
  | User interaction | None |
  | Scope | Unchanged |
  | Confidentiality impact | Low |
  | Integrity impact | Low |
  | Availability impact | None |
* Scores

  | Parameter | Value |
  | --- | --- |
  | Base score | 6.5 · Medium |
  | Exploitability score | - |
  | Impact score | - |

**Vector:** CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N

## References

* [MITRE](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2023-2283)
* [NVD](https://nvd.nist.gov/vuln/detail/CVE-2023-2283)
* [Launchpad](https://launchpad.net/bugs/cve/CVE-2023-2283)
* [Debian](https://security-tracker.debian.org/tracker/CVE-2023-2283)

### Related Ubuntu Security Notices (USN)

+ [USN-6138-1](https://usn.ubuntu.com/USN-6138-1)
+ libssh vulnerabilities
+ 5 June 2023

### Other references

* <https://www.libssh.org/security/advisories/CVE-2023-2283.txt>
* <https://www.cve.org/CVERecord?id=CVE-2023-2283>
