Re:Write a Shell in C (2015)
by fulafel on Tuesday December 06, 2016 @05:59AM
(#13113702)
The security bugs in shells are not of the "executing untrusted shell scripts" variety, but more complex.
Shell scripts are often handling untrusted input and dealing with a untrusted multiuser filesystem, there are lots of ways these can go wrong. Yes, a lot of these are not memory safety bugs. But some are.
Have a look here: http://www.cvedetails.com/product/21050/GNU-Bash.html?vendor...