Improper Encoding or Escaping of Output Affecting pam_ssh_agent_auth package, versions <0:0.10.3-2.21.73.amzn1


Severity

Recommended
medium

Based on Amazon Linux security rating

    Threat Intelligence

    EPSS
    0.22% (60th 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-1719810
  • published 27 Sep 2021
  • disclosed 31 Jan 2019

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.

An issue was discovered in OpenSSH 7.9. Due to missing character encoding in the progress display, a malicious server (or Man-in-The-Middle attacker) can employ crafted object names to manipulate the client output, e.g., by using ANSI control codes to hide additional files being transferred. This affects refresh_progress_meter() in progressmeter.c.

CVSS Scores

version 3.1
Expand this section

NVD

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