How to detect sudo's CVE-2021-3156 using Falco
Blog post from Sysdig
A recently discovered vulnerability, CVE-2021-3156, identified in the widely-used Unix utility sudo, allows unprivileged users to escalate their privileges to root, posing a significant security risk across Linux and Unix systems. This vulnerability, which has been present for nearly a decade, affects all legacy sudo versions from 1.8.2 to 1.8.31p2 and stable versions from 1.9.0 to 1.9.5p1. Falco, an open-source runtime threat detection tool, can identify exploit attempts by leveraging its customizable rules to monitor for abnormal behavior, thus providing a method to detect and potentially prevent exploitation until systems can be patched. Additionally, Sysdig Secure extends Falco's capabilities by blocking threats, facilitating runtime policy management, and embedding security across the DevOps process, offering comprehensive protection against this and similar vulnerabilities.