Incorrect Authorization Affecting pam_ssh_agent_auth package, versions <0:0.10.3-2.21.73.amzn1


Severity

Recommended
0.0
medium
0
10

Based on Amazon Linux security rating.

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 Learn

Learn about Incorrect Authorization vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-AMZN201803-PAMSSHAGENTAUTH-1720970
  • published27 Sept 2021
  • disclosed10 Jan 2019

Introduced: 10 Jan 2019

CVE-2018-20685  (opens in a new tab)
CWE-863  (opens in a new tab)

How to fix?

Upgrade Amazon-Linux:2018.03 pam_ssh_agent_auth to version 0:0.10.3-2.21.73.amzn1 or higher.
This issue was patched in ALAS-2019-1313.

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.

In OpenSSH 7.9, scp.c in the scp client allows remote SSH servers to bypass intended access restrictions via the filename of . or an empty filename. The impact is modifying the permissions of the target directory on the client side.

CVSS Scores

version 3.1