If you think introducing Rust (as an example) solves these kinds of problems you are sorely mistaken.
Languages can make it easier for some things, but they're not a magical fix all. If it weren't this problem it would be something else, something that even "the great mythical Rust" can't prevent.