ALSA-2022:2031 - libssh security, bug fix, and enhancement update

libssh Updated 02 Oct 2025

Summary

10/05/2022
N/A
Yes i
Unrated
Not published

ALSA-2022:2031: Low: libssh security, bug fix, and enhancement update. Affects libssh versions < 0.9.6-3.el8. Fixed in 0.9.6-3.el8. 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 Devnack Penetration testing for web, API and mobile Manual testing by engineers who build software, not an auditor's checklist. Trusted by teams at Swift and Google Talk to Devnack

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 in various software applications.

Vulnerability Detail

The libssh library has been found to have a possible heap-based buffer overflow vulnerability when rekeying, which could potentially be exploited by an attacker. This vulnerability, identified as CVE-2021-3634, could lead to arbitrary code execution or denial of service attacks. The impact of this vulnerability can vary depending on the specific implementation and usage of the library.

How To Fix

Minimum fixed version

0.9.6-3.el8

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 →

Workaround

There is no specific workaround mentioned for this vulnerability. It is advised to apply the recommended fix by updating the libssh package to the latest version.

Conclusion

The libssh library has been updated to address a security vulnerability that could potentially lead to arbitrary code execution or denial of service attacks. It is recommended to update the libssh package to the latest version to mitigate this vulnerability. For further support on vulnerability remediation, you can reach out to DevNack.com.

See every vulnerability recorded for libssh →

Share this vulnerability

FAQ

libssh is a library that implements the SSH protocol, allowing secure communication over networks.

The vulnerability could potentially lead to arbitrary code execution or denial of service attacks.

To fix this vulnerability, update the libssh package to version 0.9.6-3.el8 or later.

There are no specific workarounds mentioned for this vulnerability.

You can find more information about this vulnerability in the CVE page(s) listed in the References section of the advisory.

Related vulnerabilities

Recent vulnerabilities recorded for libssh.

How To Fix

Minimum fixed version

0.9.6-3.el8

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