On January 27th, exactly one week ago today, we reported on a vulnerability in Sudo affecting Linux-based operating systems. That was our understanding, based on the official information, which listed Ubuntu, Debian, and Fedora as affected systems. They also mentioned that it likely affected other distributions as well, and today we've learned that other UNIX-based operating systems, such as BSD and Apple's macOS , are also among those affected.
The vulnerability was discovered by Qualys, a California-based company, or more precisely, they were the ones who managed to exploit a vulnerability that had existed for about ten years. Linux users are now protected, but macOS users still are not. This has been confirmed by Matthew Hickey of Hacker House, who stated that the Sudo vulnerability also affects the system used by Macs.
More difficult to fix on macOS than on Linux
CVE-2021-3156 also impacts @apple MacOS Big Sur (unpatched at present), you can enable exploitation of the issue by symlinking sudo to sudoedit and then triggering the heap overflow to escalate one's privileges to 1337 uid=0. Fun for @p0sixninja pic.twitter.com/tyXFB3odxE
—Hacker Fantastic? (@hackerfantastic) February 2, 2021
CVE-2021-3156 also affects Apple's macOS Big Sur (currently unpatched), you can enable exploiting the problem by symbolically linking sudo to sudoedit and then activating heap overflow to scale privileges from one to 1337 uid = 0 . Fun for @ p0sixninja.
According to Hickey's Twitter account , this is one of the most devastating vulnerabilities in UNIX/Linux history , as it affected Linux and continues to affect macOS, Solaris, and other non-glibc systems. As for Apple's system, developers can create the patch, but the company may still take some time to implement it. It affects up to macOS 11.2.
Some developers, like osxreserver , find it amusing that, although they know how to fix it themselves, they can't because of proprietary rights . So they'll have to wait for Apple to release an update to fix a bug that was fixed in Linux a week ago. And that's one of the advantages of using software like the kind we use here.