
@filpizlo Ok, how about CVE-2021-3560 (polkit, in CISA KEV)? A fn returned TRUE on err with uid still 0-initialized, so any local user gets root. Every mem access is valid; behavior in Fil-C would be identical. In Rust, a Result would've been used which can't be Ok and Err at the same time
Post summary
The tweet highlights CVE-2021-3560 (polkit) as a known actively exploited vulnerability in CISA KEV, allowing local privilege escalation to root due to a logic flaw. It provides technical details about the vulnerability's mechanics and compares language-specific behavior in handling errors.






