Format Strings in Rust 1.58
Code injection is currently the #1 language-related security vulnerability [1][2] in memory-safe languages, which is why languages should be very careful when adding string interpolation as it may well be their most security-sensitive feature: "Templated string injection attack prevention will be of primary concern. The result of template processing can to be used in sensitive applications, such as database queries. Validation of templates and expression values prior to use can prevent catastrophic outcomes." [3].<p>[1]: <a href="https://owasp.org/www-project-top-ten/" rel="nofollow">https://owasp.org/www-project-top-ten/</a><p>[2]: <a href="https://www.softwaretestinghelp.com/sans-top-20-security-vulnerabilities/" rel="nofollow">https://www.softwaretestinghelp.com/sans-top-20-security-vul...</a><p>[3]: <a href="https://openjdk.java.net/jeps/8273943" rel="nofollow">https://openjdk.java.net/jeps/8273943</a>