I guess I sort of agree with this, but you just "knew" virtually every mainstream OS, database, and web server into "unethically unsafe", and if you believe that: are you going to stop using them right now? Keeping up with the competition isn't a license to surrender your ethics.
I'm just saying it's complicated, and part of that is because we don't really have a good grip on the problem.
It's unethical if there are any safer, viable alternatives. In systems programming, there is little reason not to use Ada for instance (hopefully Rust soon).
Finally, classifying the creation of something as unethical doesn't necessarily entail its use is unethical. An unethically developed cure for cancer would certainly be widely prescribed and used, despite the long history of medical ethics.
That's an important point, but even so, not knowing a lot doesn't mean we know nothing. We certainly know that using source control is important, we know some languages, some APIs and some practice are inherently unsafe, and projects using those should implement stringent security audits in particularly vulnerable deployments. They largely don't, and it's hard to argue that this isn't unethical.