I feel bad for the admins who are stuck with these systems.
So, basically, don't use software. Actually, given the horrific state of modern software, I can get behind that.
I'm all for re-using code when rebuilding the wheel would be a hassle but it has to be balanced with proper code review before it should be included. Developers are much too quick to include outside code with the assumption that other people have already done the necessary reviews and this is where a lot of devs are getting bit.
https://en.wikipedia.org/wiki/Nirvana_fallacy
https://www.cvedetails.com/product/194/Microsoft-Exchange-Se...
(yes, if you are expert open source is easier top secure maybe, at least that was my experience 20+ years ago. Now I mostly pay companies like microsoft to host my stuff so I can do billable shit).
Is there any widely used software that doesn't have any vulnerabilities?