by coder543 · 5y ago · 0 comments
Please find me a well-known C code base that doesn't suffer from memory safety CVEs. You're the one making the claim that they exist... I can't prove that such a thing doesn't exist, but I can point to how curl[0][1], sqlite[2][3], the linux kernel[4][5], and any other popular, respected C code base that I can think of suffers from numerous memory safety issues that memory safe languages are built to prevent.
Writing secure software is hard enough without picking a memory unsafe language as the foundation of that software.
"Just find/be a better programmer" isn't the solution. We've tried that for decades with little success. The continued prevalence of memory safety vulnerability in these C code bases shows that existing static analysis tools are insufficient for handling the many ways that things can go wrong in C.
I think you mentioned railcar elsewhere in this thread, and I would find it easier to be interested in a runc alternative that is written in a memory safe language... which railcar is.
[0]: https://curl.se/docs/CVE-2019-5482.html
[1]: https://curl.se/docs/CVE-2019-3823.html
(among numerous others)
[2]: https://www.darkreading.com/attacks-breaches/researchers-sho...
[3]: http://cve.mitre.org/cgi-bin/cvekey.cgi?keyword=SQLite
(the second link has quite a few memory safety issues that are readily apparent, including several from SQLite that affected Chrome)
No comments yet.