Skip to content
OpenAdvisories
Medium ALAS2-2019-1216 3 CVEs

Moderate: openssh security update (Amazon Linux 2)

Published May 29, 2019 · Updated May 30, 2019

Summary

Package updates are available for Amazon Linux 2 that fix the following vulnerabilities: CVE-2019-6111: An issue was discovered in OpenSSH 7.9. Due to the scp implementation being derived from 1983 rcp, the server chooses which files/directories are sent to the client. However, the scp client only performs cursory validation of the object name returned (only directory traversal attacks are prevented). A malicious scp server (or Man-in-The-Middle attacker) can overwrite arbitrary files in the scp client target directory. If recursive operation (-r) is performed, the server can manipulate subdirectories as well (for example, to overwrite the .ssh/authorized_keys file). 1666127: CVE-2019-6111 openssh: Improper validation of object names allows malicious server to overwrite files via scp client CVE-2019-6109: 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. 1666119: CVE-2019-6109 openssh: Missing character encoding in progress display allows for spoofing of scp client output CVE-2018-20685: 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. 1665785: CVE-2018-20685 openssh: scp client improper directory name validation

Fixed packages 10

ReleasePackageFixed in
Amazon Linux · 2 openssh 0:7.4p1-16.amzn2.0.6
Amazon Linux · 2 openssh-askpass 0:7.4p1-16.amzn2.0.6
Amazon Linux · 2 openssh-cavs 0:7.4p1-16.amzn2.0.6
Amazon Linux · 2 openssh-clients 0:7.4p1-16.amzn2.0.6
Amazon Linux · 2 openssh-debuginfo 0:7.4p1-16.amzn2.0.6
Amazon Linux · 2 openssh-keycat 0:7.4p1-16.amzn2.0.6
Amazon Linux · 2 openssh-ldap 0:7.4p1-16.amzn2.0.6
Amazon Linux · 2 openssh-server 0:7.4p1-16.amzn2.0.6
Amazon Linux · 2 openssh-server-sysvinit 0:7.4p1-16.amzn2.0.6
Amazon Linux · 2 pam_ssh_agent_auth 0:0.10.3-2.16.amzn2.0.6

Vulnerabilities 3

References

  • web
    https://alas.aws.amazon.com/cve/html/CVE-2018-20685.html
  • web
    https://alas.aws.amazon.com/cve/html/CVE-2019-6109.html
  • web
    https://alas.aws.amazon.com/cve/html/CVE-2019-6111.html