Access Restriction Bypass Affecting openssh-debuginfo package, versions <0:6.6.1p1-31.62.amzn1


Severity

Recommended
medium

Based on Amazon Linux security rating.

Threat Intelligence

EPSS
0.04% (5th 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-AMZN201803-OPENSSHDEBUGINFO-1703907
  • published27 Sept 2021
  • disclosed1 May 2016

Introduced: 1 May 2016

CVE-2015-8325  (opens in a new tab)
CWE-264  (opens in a new tab)

How to fix?

Upgrade Amazon-Linux:2018.03 openssh-debuginfo to version 0:6.6.1p1-31.62.amzn1 or higher.
This issue was patched in ALAS-2016-770.

NVD Description

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

The do_setup_env function in session.c in sshd in OpenSSH through 7.2p2, when the UseLogin feature is enabled and PAM is configured to read .pam_environment files in user home directories, allows local users to gain privileges by triggering a crafted environment for the /bin/login program, as demonstrated by an LD_PRELOAD environment variable.