logo

Database

SANS 25

Last updated: 2024/02/05
logo

CWE/SANS TOP 25 Most Dangerous Software Errors is a demonstrative list of the most common and impactful issues experienced over the previous two calendar years. It presents detailed descriptions of the top 25 software errors along with authoritative guidance for mitigating and avoiding them. The version used in this section is CWE Top 25 2020.

Control-Requirement Mapping

DefinitionRequirements
1. Out-of-bounds Write
2. Improper neutralization of input during web page generation (cross-site scripting)
3. Improper neutralization of special elements used in an SQL command (SQL injection)
4. User after free
5. Improper neutralization of special elements used in an OS command (OS command injection)
6. Improper input validation
7. Out-of-bounds read
8. Improper limitation of a pathname to a restricted directory (path traversal)
9. Cross-site request forgery (CSRF)
10. Unrestricted upload of file with dangerous type
11. Missing authorization
12. NULL pointer dereference
13. Improper authentication
14. Integer overflow or wraparound
15. Deserialization of untrusted data
16. Improper neutralization of special elements used in a command (command injection)
17. Improper restriction of operations within the bounds of a memory buffer
18. Use of hard-coded credentials
19. Server-side request forgery (SSRF)
20. Missing authentication for critical function
21. Concurrent execution using shared resource with improper synchronization (Race condition)
22. Improper Privilege Management
23. Improper Control of Generation of Code ('Code Injection')
24. Incorrect Authorization
25. Incorrect Default Permissions