Videos
I'm going kind of nuts at this point.
I found website yesterday that has a list of programming languages, and within each language there is an example set of vulnerable code along with how it should be fixed in order to make it secure.
But, for the life of me, I cannot seem to find it again. I've been searching for the past couple hours and 80% of the stuff I see is basically just articles that loosely cover the topic without any real examples of what that insecure code looks like. Does anyone happen to know what site I'm describing?
This Github repository contain several different code snippets vulnerabilities to practice your code analysis. The code snippets are beginner friendly but suitable for all levels! Hope you will like it 🤘
Open Security Training has some great resources to teach developers about secure code practices including a virtual machine with compilers and vulnerable code samples
Also look at NIST's SAMATE TEST Suite for C and C++ vulnerable code, For e.g. C test suite contains good examples of Format String, Buffer overflow vulnerabilities in C.
You can find vulnerable versions of open source software like Wireshark on SAMATE as well. You might also want to look at exploit-db.com once your students are comfortable with simple vulnerabilities.
Finding security issues in Wireshark, VLC or any media libraries can be a great exercise for students and also improves security of open source projects.
DevIL is an image library with quite a lot of stack overflows in it.