Advisory

USN-6592-1

Also known as: CVE-2023-6004, CVE-2023-6918

Summary

libssh vulnerabilities

Details

It was discovered that libssh incorrectly handled the ProxyCommand and the
ProxyJump features. A remote attacker could possibly use this issue to
inject malicious code into the command of the features mentioned through
the hostname parameter. (CVE-2023-6004)

It was discovered that libssh incorrectly handled return codes when
performing message digest operations. A remote attacker could possibly use
this issue to cause libssh to crash, obtain sensitive information, or
execute arbitrary code. (CVE-2023-6918)

Severity

Not rated by the source.

Dates

Published
2024-01-22 13:05 UTC
Modified
2026-04-22 10:43 UTC

Affected packages and fixes

libssh

Debian packages (deb) · Ubuntu 20.04

Affected

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

Fixed versions

0.9.3-2ubuntu2.5

Fix

  • Fixed version 0.9.3-2ubuntu2.5
    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.3 (ecosystem)

Fixed versions

0.9.6-2ubuntu0.22.04.3

Fix

  • Fixed version 0.9.6-2ubuntu0.22.04.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.

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