Thinking about Log4J here. The vulnerability was with an obscure functionality that I’ve never seen used. Sometimes simpler is safer.
Of course, sometimes simpler is “I stored the passwords unhashed”, so you have to find the middle ground.