From the course: Programming Foundations: Secure Coding

Unlock the full course today

Join today to access over 22,600 courses taught by industry experts or purchase this course individually.

Memory management issues

Memory management issues

From the course: Programming Foundations: Secure Coding

Start my 1-month free trial

Memory management issues

- Memory management vulnerabilities are a very special class in that they're only exposed in certain languages and certain situations. The most common and the one that I will focus on is the buffer overflow attack. I want to start by providing a clear indication of how bad buffer overflow vulnerabilities are. There are several yearly contests that result in large sums of prize money for security researchers that compromise systems, often called rooting. Some of the most profitable vulnerabilities are called Zero Days are a result of buffer overflow attacks. These attacks are catastrophic and can be expensive to say the least and unfortunately are hard for those developers who deal with higher level languages to see or understand. In higher level languages, for instance, we seldom deal with raw memory allocations. Even in languages like Go, Java and C#, where we have pointers, we're not usually able to manipulate…

Contents