Incorrect Permission Assignment for Critical Resource Affecting pam_ssh_agent_auth package, versions <0:0.10.3-2.16.69.amzn1


Severity

Recommended
low

Based on Amazon Linux security rating.

Threat Intelligence

EPSS
0.36% (72nd 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-PAMSSHAGENTAUTH-1713290
  • published27 Sept 2021
  • disclosed26 Oct 2017

Introduced: 26 Oct 2017

CVE-2017-15906  (opens in a new tab)
CWE-732  (opens in a new tab)

How to fix?

Upgrade Amazon-Linux:2018.03 pam_ssh_agent_auth to version 0:0.10.3-2.16.69.amzn1 or higher.
This issue was patched in ALAS-2018-1018.

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.

The process_open function in sftp-server.c in OpenSSH before 7.6 does not properly prevent write operations in readonly mode, which allows attackers to create zero-length files.

CVSS Scores

version 3.1