Distro advisory · AmazonLinux 1
medium priority package update for openssh
AmazonLinux 1
What it fixes
Package updates are available for Amazon Linux AMI 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
Manual fix · AmazonLinux 1
sudo yum updateinfo info ALAS-2019-1313sudo yum upgrade --advisory=ALAS-2019-1313rpm -q openssh pam_ssh_agent_auth