The drive to rewrite existing, tried and tested code in the new trendy language is crazy. Hopefully problems like this will be a bit of a reality check for those cheerleading it.
What kind of reality check would it be when the original sudo got two even more serious security issues this year, even though it's "tried and tested"?