Read the docs
TI-2023-06322 Aliases CVE-2023-6918GHSA-gpcj-wh2f-rr23

Libssh: missing checks for return values for digests

Priority LOW 27CWE-252Published · Updated

Key facts

Attack vector
Network
Privileges required
None
User interaction
None
Attack complexity
Low
Impact type
—
Confidentiality · integrity · availability
None · None · Low
Fix status
Partial Red Hat: 4 fixed, 2 without a fix

Attack profile from CVSS 3.1 · NVD. Fix status from CNA and Red Hat.

Summary

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.

Why it matters now

EPSS 0.01409 72nd percentileScored 2026-11-07
Fix Partial Red Hat: 2 advisoriesRed Hat: 4 fixed, 2 without a fix

SSVC decision points

Not available: CISA has not published SSVC decision points for this record.

Affected products

VendorProductAffected versionsFixed inStatusSource
Red HatRed Hat Enterprise Linux 8—0.9.6-14.el8Patch availableCNA
Red HatRed Hat Enterprise Linux 8—0.9.6-14.el8Patch availableCNA
Red HatRed Hat Enterprise Linux 9—0.10.4-13.el9Patch availableCNA
Red HatRed Hat Enterprise Linux 9—0.10.4-13.el9Patch availableCNA
Red HatRed Hat Enterprise Linux 6——No fix listedCNA
Red HatRed Hat Enterprise Linux 7——No fix listedCNA
Red HatRed Hat Enterprise Linux 7——No fix listedCNA
  • Red Hat Enterprise Linux 8 VendorRed Hat Affected — Fixed in 0.9.6-14.el8 Patch available CNA
  • Red Hat Enterprise Linux 8 VendorRed Hat Affected — Fixed in 0.9.6-14.el8 Patch available CNA
  • Red Hat Enterprise Linux 9 VendorRed Hat Affected — Fixed in 0.10.4-13.el9 Patch available CNA
  • Red Hat Enterprise Linux 9 VendorRed Hat Affected — Fixed in 0.10.4-13.el9 Patch available CNA
  • Red Hat Enterprise Linux 6 VendorRed Hat Affected — Fixed in — No fix listed CNA
  • Red Hat Enterprise Linux 7 VendorRed Hat Affected — Fixed in — No fix listed CNA
  • Red Hat Enterprise Linux 7 VendorRed Hat Affected — Fixed in — No fix listed CNA

CPE configurations NVD · 5

CPEVersionsRoleVendor
cpe:2.3:a:libssh:libssh:*:*:*:*:*:*:*:*0.9.0 to before 0.9.8; 0.10.0 to before 0.10.6Vulnerablelibssh
cpe:2.3:o:fedoraproject:fedora:38:*:*:*:*:*:*:*38VulnerableFedoraproject
cpe:2.3:o:fedoraproject:fedora:39:*:*:*:*:*:*:*39VulnerableFedoraproject
cpe:2.3:o:redhat:enterprise_linux:8.0:*:*:*:*:*:*:*8.0VulnerableRed Hat
cpe:2.3:o:redhat:enterprise_linux:9.0:*:*:*:*:*:*:*9.0VulnerableRed Hat
  • cpe:2.3:a:libssh:libssh:*:*:*:*:*:*:*:* Versions 0.9.0 to before 0.9.8; 0.10.0 to before 0.10.6 Vulnerable ·libssh
  • cpe:2.3:o:fedoraproject:fedora:38:*:*:*:*:*:*:* Versions 38 Vulnerable ·Fedoraproject
  • cpe:2.3:o:fedoraproject:fedora:39:*:*:*:*:*:*:* Versions 39 Vulnerable ·Fedoraproject
  • cpe:2.3:o:redhat:enterprise_linux:8.0:*:*:*:*:*:*:* Versions 8.0 Vulnerable ·Red Hat
  • cpe:2.3:o:redhat:enterprise_linux:9.0:*:*:*:*:*:*:* Versions 9.0 Vulnerable ·Red Hat

Remediation

Red Hat 2 advisories

  • RHSA-2024:3233 Released 2024-05-22 · Red Hat rating Low
    libssh security update
    • Red Hat Enterprise Linux AppStream (v. 8) libssh-devel-0.9.6-14.el8
    • Red Hat Enterprise Linux BaseOS (v. 8) libssh-0.9.6-14.el8, libssh-config-0.9.6-14.el8
  • RHSA-2024:2504 Released 2024-04-30 · Red Hat rating Low
    libssh security update
    • Red Hat Enterprise Linux AppStream (v. 9) libssh-devel-0.10.4-13.el9
    • Red Hat Enterprise Linux BaseOS (v. 9) libssh-0.10.4-13.el9, libssh-config-0.10.4-13.el9

Vendor assessments

Red Hat

Red Hat rating: Low. Red Hat's page for this CVE →

ProductStatusPlan or fix
Red Hat Enterprise Linux 6AffectedNo fix planned: Out of support scope
Red Hat Enterprise Linux 7AffectedNo fix planned: Out of support scope
Red Hat Enterprise Linux AppStream (v. 8)Fixed RHSA-2024:3233
Red Hat Enterprise Linux AppStream (v. 9)Fixed RHSA-2024:2504
Red Hat Enterprise Linux BaseOS (v. 8)Fixed RHSA-2024:3233
Red Hat Enterprise Linux BaseOS (v. 9)Fixed RHSA-2024:2504

Timeline

  1. 2026-10-02 Threatist record created from CVE-2023-6918
  2. 2026-10-03 Alias added: GHSA-gpcj-wh2f-rr23

References

  • TI-2019-08259 Underflow in PHP-FPM can lead to RCE KEVCVSS 3.1CRITICAL 9.8
  • TI-2018-10530 Code injection in [UNKNOWN] RichFaces KEVCVSS 3.1CRITICAL 9.8
  • TI-2014-05975 GNU Bash through 4.3 bash43-025 processes trailing strings after certain malformed… KEVCVSS 3.1CRITICAL 9.8
  • TI-2014-05157 GNU Bash through 4.3 processes trailing strings after function definitions in the values… KEVCVSS 3.1CRITICAL 9.8
  • TI-2025-23530 Sudo before 1.9.17p1 allows local users to obtain root access because /etc/nsswitch.conf… KEVCVSS 3.1CRITICAL 9.3
  • TI-2021-17490 mod_proxy SSRF KEVCVSS 3.1CRITICAL 9.0
See all 1955 →

Sources