Advisory

UBUNTU-CVE-2023-2283

Also known as: CVE-2023-2283

Summary

The record has no summary.

Details

A vulnerability was found in libssh, where the authentication check of the connecting client can be bypassed in thepki_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

Medium Basis: CVSS v3 score 6.5, vector CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N

Dates

Published
2023-05-09 00:00 UTC
Modified
2026-04-22 14:02 UTC

Affected packages and fixes

libssh

Debian packages (deb) · Ubuntu 20.04

Affected

  • introduced 0, fixed 0.9.3-2ubuntu2.3 (ecosystem)

Fixed versions

0.9.3-2ubuntu2.3

Fix

  • Fixed version 0.9.3-2ubuntu2.3
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

libssh

Debian packages (deb) · Ubuntu 22.04

Affected

  • introduced 0, fixed 0.9.6-2ubuntu0.22.04.1 (ecosystem)

Fixed versions

0.9.6-2ubuntu0.22.04.1

Fix

  • Fixed version 0.9.6-2ubuntu0.22.04.1
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: Ubuntu Security Notices · CC BY-SA 4.0

Sources & licences