Access Restriction Bypass Affecting pam_ssh_agent_auth package, versions <0:0.9.3-5.8.41.amzn1


Severity

Recommended
medium

Based on Amazon Linux security rating

    Threat Intelligence

    EPSS
    0.3% (70th 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 ID SNYK-AMZN201803-PAMSSHAGENTAUTH-1675611
  • published 27 Sep 2021
  • disclosed 18 Mar 2014

How to fix?

Upgrade Amazon-Linux:2018.03 pam_ssh_agent_auth to version 0:0.9.3-5.8.41.amzn1 or higher.
This issue was patched in ALAS-2014-369.

NVD Description

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

sshd in OpenSSH before 6.6 does not properly support wildcards on AcceptEnv lines in sshd_config, which allows remote attackers to bypass intended environment restrictions by using a substring located before a wildcard character.

CVSS Scores

version 3.1
Expand this section

Red Hat

3.1 low
  • Attack Vector (AV)
    Network
  • Attack Complexity (AC)
    High
  • Privileges Required (PR)
    Low
  • User Interaction (UI)
    None
  • Scope (S)
    Unchanged
  • Confidentiality (C)
    None
  • Integrity (I)
    Low
  • Availability (A)
    None