2019 CWE Top 25 Most Dangerous Software Errors mapped to Klocwork checkers
Rank | CWE ID | Description | Klocwork Issue Code |
---|---|---|---|
1 | 119 | Improper Restriction of Operations within the Bounds of a Memory Buffer | C/C++:
C#: |
2 | 79 | Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') |
C/C++: C#: Java: |
3 | 20 | Improper Input Validation | C/C++:
C#: CS.SV.TAINTED.CALL.INDEX_ACCESS CS.SV.TAINTED.CALL.LOOP_BOUND.RESOURCE Java: |
4 | 200 | Information Exposure |
C/C++: C#: Java: |
5 | 125 | Out-of-bounds Read | C/C++:
C#: |
6 | 89 | Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection') |
C/C++: C#: Java: |
7 | 416 | Use After Free | C/C++:
C#: |
8 | 190 | Integer Overflow or Wraparound | C/C++:
C#: Java: |
9 | 352 | Cross-Site Request Forgery (CSRF) |
C#: Java: |
10 | 22 | Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') | C/C++:
C#: Java: |
11 | 78 | Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection') | C/C++:
C#: Java: |
12 | 787 | Out-of-bounds Write | C/C++:
C#: |
13 | 287 | Improper Authentication |
C/C++ Java: |
14 | 476 | NULL Pointer Dereference | C/C++:
C#: Java: |
15 | 732 | Incorrect Permission Assignment for Critical Resource | C/C++:
C#: Java: |
16 | 434 | Unrestricted Upload of File with Dangerous Type |
Java: |
17 | 611 | Improper Restriction of XML External Entity Reference |
C#: Java: |
18 | 94 | Improper Control of Generation of Code ('Code Injection') | C/C++:
C#: Java: |
19 | 798 | Use of Hard-coded Credentials | C/C++: C#: Java: |
20 | 400 | Uncontrolled Resource Consumption | C/C++:
C#: CS.SV.TAINTED.LOOP_BOUND.RESOURCE Java: |
21 | 772 | Missing Release of Resource after Effective Lifetime | C/C++:
C#: Java: |
22 | 426 | Untrusted Search Path | C/C++:
C#: Java: |
23 | 502 | Deserialization of Untrusted Data |
C#: Java: |
24 | 269 | Improper Privilege Management | C/C++:
C#: Java: |
25 | 295 | Improper Certificate Validation |
C#: Java: |