Incorrect Authorization Affecting pam_ssh_agent_auth package, versions <0:0.10.3-2.21.73.amzn1
Threat Intelligence
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-1720970
- published 27 Sep 2021
- disclosed 10 Jan 2019
Introduced: 10 Jan 2019
CVE-2018-20685 Open this link in a new tabHow 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.
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.
References
- http://www.securityfocus.com/bid/106531
- https://security.netapp.com/advisory/ntap-20190215-0001/
- http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2018-20685
- https://www.debian.org/security/2019/dsa-4387
- https://security.gentoo.org/glsa/201903-16
- https://security.gentoo.org/glsa/202007-53
- https://cvsweb.openbsd.org/cgi-bin/cvsweb/src/usr.bin/ssh/scp.c.diff?r1=1.197&r2=1.198&f=h
- https://github.com/openssh/openssh-portable/commit/6010c0303a422a9c5fa8860c061bf7105eb7f8b2
- https://sintonen.fi/advisories/scp-client-multiple-vulnerabilities.txt
- https://www.oracle.com/technetwork/security-advisory/cpuapr2019-5072813.html
- https://www.oracle.com/technetwork/security-advisory/cpuoct2019-5072832.html
- https://lists.debian.org/debian-lts-announce/2019/03/msg00030.html
- https://access.redhat.com/errata/RHSA-2019:3702
- https://usn.ubuntu.com/3885-1/
- https://cert-portal.siemens.com/productcert/pdf/ssa-412672.pdf