CWE-59: Improper Link Resolution Before File Access

The product attempts to access a file based on the filename, but it does not properly prevent that filename from identifying a link or shortcut that resolves to an unintended resource.

1,066 published CVE records name this weakness. Abstraction: Base. Status: Draft. CWE-59 at MITRE

CVETitleCVSSEPSSPublished
CVE-2016-8641 nagios: Improper Link Resolution Before File Access 6.7 medium 1.14% 1 Aug 2018
CVE-2017-15097 Red Hat postgresql init script: Improper Link Resolution Before File Access 6.5 medium 0.54% 27 Jul 2018
CVE-2016-9602 unspecified Qemu: Improper Link Resolution Before File Access 7.6 high 3.65% 26 Apr 2018
CVE-2018-1063 SELinux Project policycoreutils: Improper Link Resolution Before File Access – 0.40% 2 Mar 2018
CVE-2018-6954 systemd-tmpfiles in systemd through 237 mishandles symlinks present in non-terminal path components, which allows local users to obtain… 7.8 high 0.52% 13 Feb 2018
CVE-2017-7501 Red Hat, Inc. rpm: Improper Link Resolution Before File Access – 0.39% 22 Nov 2017
CVE-2017-12172 Red Hat, Inc. postgresql: Improper Link Resolution Before File Access – 0.59% 22 Nov 2017
CVE-2017-12258 n/a Cisco Unified Communications Manager: Improper Link Resolution Before File Access – 1.69% 5 Oct 2017
CVE-2015-5287 KEV Red Hat Automatic Bug Reporting Tool Privilege Escalation Vulnerability 7.8 high 5.00% 7 Dec 2015
CVE-2015-1130 KEV Apple OS X Authentication Bypass Vulnerability 7.8 high 9.89% 10 Apr 2015
CVE-2010-4226 cpio, as used in build 2007.05.10, 2010.07.28, and possibly other versions, allows remote attackers to overwrite arbitrary files via a… 7.2 high 2.84% 6 Feb 2014
CVE-2013-4392 systemd, when updating file permissions, allows local users to change the permissions and SELinux security contexts for arbitrary files… 5.0 medium 0.47% 28 Oct 2013
CVE-2013-0248 The default configuration of javax.servlet.context.tempdir in Apache Commons FileUpload 1.0 through 1.2.2 uses the /tmp directory for… 6.8 medium 0.80% 15 Mar 2013
CVE-2013-0261 Packstack: packstack: arbitrary file overwrite via symlink attack 8.8 high 0.36% 8 Mar 2013
CVE-2008-4996 init in initramfs-tools 0.92f allows local users to overwrite arbitrary files via a symlink attack on the /tmp/initramfs.debug temporary… 5.5 medium 0.43% 7 Nov 2008
CVE-2004-1901 Portage before 2.0.50-r3 allows local users to overwrite arbitrary files via a hard link attack on the lockfiles 5.5 medium 0.37% 10 May 2005