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.66% (80th 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-1713290
  • published 27 Sep 2021
  • disclosed 26 Oct 2017

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
Expand this section

NVD

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