The sudoedit personality of Sudo before 1.9.5 may allow a local unprivileged user to perform arbitrary directory-existence tests by winning a sudo_edit.c race condition in replacing a user-controlled directory by a symlink to an arbitrary path.
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.
Link | Tags |
---|---|
https://bugzilla.suse.com/show_bug.cgi?id=CVE-2021-23239 | issue tracking exploit third party advisory |
https://www.sudo.ws/stable.html#1.9.5 | release notes vendor advisory |
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/EE42Y35SMJOLONAIBNYNFC7J44UUZ2Y6/ | vendor advisory |
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/GMY4VSSBIND7VAYSN6T7XIWJRWG4GBB3/ | vendor advisory |
https://security.gentoo.org/glsa/202101-33 | third party advisory vendor advisory |
https://security.netapp.com/advisory/ntap-20210129-0010/ | third party advisory |
https://lists.debian.org/debian-lts-announce/2022/11/msg00007.html | third party advisory mailing list |