Detection of Error Condition Without Action Affecting openssh-ldap package, versions <0:7.4p1-22.amzn2.0.9


Severity

Recommended
0.0
medium
0
10

Based on Amazon Linux security rating.

Threat Intelligence

EPSS
0.04% (12th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-AMZN2-OPENSSHLDAP-9299257
  • published7 Mar 2025
  • disclosed18 Feb 2025

Introduced: 18 Feb 2025

NewCVE-2025-26465  (opens in a new tab)
CWE-390  (opens in a new tab)

How to fix?

Upgrade Amazon-Linux:2 openssh-ldap to version 0:7.4p1-22.amzn2.0.9 or higher.
This issue was patched in ALAS2-2025-2769.

NVD Description

Note: Versions mentioned in the description apply only to the upstream openssh-ldap package and not the openssh-ldap package as distributed by Amazon-Linux. See How to fix? for Amazon-Linux:2 relevant fixed versions and status.

A vulnerability was found in OpenSSH when the VerifyHostKeyDNS option is enabled. A machine-in-the-middle attack can be performed by a malicious machine impersonating a legit server. This issue occurs due to how OpenSSH mishandles error codes in specific conditions when verifying the host key. For an attack to be considered successful, the attacker needs to manage to exhaust the client's memory resource first, turning the attack complexity high.

CVSS Base Scores

version 3.1