Software Vulnerability
- Memory safety violations
input validation errors- Format string attacks
SQL injectionCode injectionE-mail injectionDirectory traversalCross-site scripting in web applicationsHTTP header injectionHTTP response splitting
- Race conditions
- Time-of-check-to-time-of-use bugs
Symlink races
Privilege-confusion bugsCross-site request forgery in web applicationsClickjackingFTP bounce attack
- Privilege escalation
User interface failuresWarning fatigue or user conditioning.Blaming the Victim Prompting a user to make a security decision without giving the user enough information to answer itRace Conditions
- Side-channel attack
In the above classification of software vulnerabilities, memory safety violations is classified by spatial and temporal memory safety violation.
Buffer Overflow is spatial memory safety violations, while Dangling pointer is temporal memory safety violation. This is a coarse-grained classification for memory safety violations. Detailed classification for memory safety violations is as follows:
- Array bounds errors
- Dynamic memory errors
- Dangling pointer
- Double free
- Invalid free
- Null pointer
- Uninitialized variables
- Out-of-memory errors