Low: libssh security update

libssh Updated 02 Oct 2025

Summary

30/04/2024
N/A
Yes i
Unrated
Not published

ALSA-2024:2504: Low: libssh security update. Affects libssh versions < 0.10.4-13.el9. Fixed in 0.10.4-13.el9. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored MarkAI Find prospects already talking about the problem you solve AI watches the communities your customers use to find qualified prospects, then alerts you when a conversation is worth joining. See MarkAI

Background

libssh is a library that implements the SSH protocol, allowing the development of client and server applications. It provides a secure means of communication over networks and is widely used for remote administration and file transfers. The library offers various features and functionalities to facilitate SSH connections and data exchange.

Vulnerability Detail

The libssh library is affected by two security vulnerabilities:

  1. ProxyCommand/ProxyJump features allow the injection of malicious code through the hostname (CVE-2023-6004). This vulnerability enables an attacker to execute arbitrary commands on the target system by manipulating the SSH connection parameters.

  2. Missing checks for return values for digests (CVE-2023-6918). This vulnerability allows an attacker to bypass the integrity checks of SSH connections, potentially leading to unauthorized access or data tampering.

These vulnerabilities pose a risk to systems utilizing libssh, as they can be exploited to compromise the confidentiality, integrity, and availability of SSH connections and the underlying systems.

How To Fix

Minimum fixed version

0.10.4-13.el9

This is the first release that contains the fix.

sudo dnf update libssh

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Conclusion

libssh is affected by two security vulnerabilities that can be exploited to execute arbitrary commands and bypass integrity checks. To mitigate these risks, it is crucial to update the libssh package to version 0.10.4-13.el9 or later. This update includes patches that address the identified vulnerabilities. For further support on vulnerability remediation, please contact DevNack.com.

See every vulnerability recorded for libssh →

Share this vulnerability

FAQ

libssh is a library that implements the SSH protocol, allowing the development of client and server applications for secure remote administration and file transfers.

CVE-2023-6004 allows an attacker to inject malicious code through the hostname, potentially leading to the execution of arbitrary commands on the target system.

CVE-2023-6918 allows an attacker to bypass integrity checks of SSH connections, potentially leading to unauthorized access or data tampering.

To fix these vulnerabilities, update the libssh package to version 0.10.4-13.el9 or later using the package manager of the AlmaLinux 9 distribution.

No specific workaround has been provided for these vulnerabilities. It is recommended to apply the available security update.

Related vulnerabilities

Recent vulnerabilities recorded for libssh.

How To Fix

Minimum fixed version

0.10.4-13.el9

This is the first release that contains the fix.

sudo dnf update libssh

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback