CVE-2023-6918 Libssh: missing checks for return values for digests
Attackers can cause denial of service in libssh by triggering unchecked return values in digest operations, leading to crashes or connection termination.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2023-6918?
CVE-2023-6918 is a low-severity vulnerability in Fedoraproject Fedora, published on 18 Dec 2023. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
A flaw was found in the libssh implements abstract layer for message digest (MD) operations implemented by different supported crypto backends. The return values from these were not properly checked, which could cause low-memory situations failures, NULL dereferences, crashes, or usage of the uninitialized memory as an input for the KDF. In this case, non-matching keys will result in decryption/integrity failures, terminating the connection.
Weakness: CWE-252
Which versions are affected by CVE-2023-6918?
It affects 3 products.
Products include Fedoraproject Fedora, Libssh Libssh, Redhat Enterprise Linux.
How do I fix CVE-2023-6918?
Apply the vendor's patch.
Is CVE-2023-6918 being exploited?
There is no known exploitation of CVE-2023-6918 in the wild and no public exploit code.
Other vulnerabilities in Fedoraproject Fedora
Sources
Also known as AZL-32199, AZL-34943, BELL-CVE-2023-6918, DEBIAN-CVE-2023-6918, GHSA-gpcj-wh2f-rr23, OESA-2024-1042 and 2 more.