Insufficiently Protected Credentials Affecting openssh-portable package, versions [,5.7)


Severity

Recommended
0.0
low
0
10

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

Threat Intelligence

EPSS
0.32% (71st 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-2319277
  • published14 Dec 2021
  • disclosed27 Jan 2012
  • creditUnknown

Introduced: 27 Jan 2012

CVE-2012-0814  (opens in a new tab)
CWE-255  (opens in a new tab)

How to fix?

Upgrade openssh-portable to version 5.7 or higher.

Overview

Affected versions of this package are vulnerable to Insufficiently Protected Credentials. The auth_parse_options function in auth-options.c in sshd in OpenSSH before 5.7 provides debug messages containing authorized_keys command options, which allows remote authenticated users to obtain potentially sensitive information by reading these messages, as demonstrated by the shared user account required by Gitolite. NOTE: this can cross privilege boundaries because a user account may intentionally have no shell or filesystem access, and therefore may have no supported way to read an authorized_keys file in its own home directory.

CVSS Scores

version 3.1