Missing Critical Step in Authentication Affecting openssh-portable package, versions [,9.6)


Severity

Recommended
0.0
medium
0
10

CVSS assessment made by Snyk's Security Team. Learn more

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-UNMANAGED-OPENSSHPORTABLE-6132375
  • published20 Dec 2023
  • disclosed18 Dec 2023
  • creditUnknown

Introduced: 18 Dec 2023

CVE-2023-51384  (opens in a new tab)
CWE-304  (opens in a new tab)

How to fix?

Upgrade openssh-portable to version 9.6 or higher.

Overview

Affected versions of this package are vulnerable to Missing Critical Step in Authentication due to improper enforcement of security constraints on PKCS#11-hosted private keys. An attacker can bypass intended security restrictions by exploiting the issue where only the first key is constrained, even when multiple keys are returned from a PKCS#11 token. This is only exploitable if destination constraints are defined and multiple keys are returned from a PKCS#11 token.

Note: Use of regular private keys, FIDO tokens and unconstrained keys are unaffected.

CVSS Scores

version 3.1