Skip to content

Commit e054948

Browse files
authored
Merge pull request #19429 from owen-mc/fix-cwe-tags-missing-leading-zero
Fix cwe tags to include leading zero
2 parents 817237c + 0863c87 commit e054948

File tree

45 files changed

+104
-39
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

45 files changed

+104
-39
lines changed

cpp/ql/src/Security/CWE/CWE-014/MemsetMayBeDeleted.ql

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
* @security-severity 7.8
99
* @precision high
1010
* @tags security
11-
* external/cwe/cwe-14
11+
* external/cwe/cwe-014
1212
*/
1313

1414
import cpp

cpp/ql/src/Security/CWE/CWE-020/CountUntrustedDataToExternalAPI.ql

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
* to it.
66
* @id cpp/count-untrusted-data-external-api
77
* @kind table
8-
* @tags security external/cwe/cwe-20
8+
* @tags security external/cwe/cwe-020
99
*/
1010

1111
import cpp

cpp/ql/src/Security/CWE/CWE-020/IRCountUntrustedDataToExternalAPI.ql

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
* to it.
66
* @id cpp/count-untrusted-data-external-api-ir
77
* @kind table
8-
* @tags security external/cwe/cwe-20
8+
* @tags security external/cwe/cwe-020
99
*/
1010

1111
import cpp

cpp/ql/src/Security/CWE/CWE-020/IRUntrustedDataToExternalAPI.ql

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
* @precision low
77
* @problem.severity error
88
* @security-severity 7.8
9-
* @tags security external/cwe/cwe-20
9+
* @tags security external/cwe/cwe-020
1010
*/
1111

1212
import cpp

cpp/ql/src/Security/CWE/CWE-020/UntrustedDataToExternalAPI.ql

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
* @precision low
77
* @problem.severity error
88
* @security-severity 7.8
9-
* @tags security external/cwe/cwe-20
9+
* @tags security external/cwe/cwe-020
1010
*/
1111

1212
import cpp
Lines changed: 9 additions & 0 deletions

cpp/ql/src/experimental/Security/CWE/CWE-020/LateCheckOfFunctionArgument.ql

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
* @tags correctness
1111
* security
1212
* experimental
13-
* external/cwe/cwe-20
13+
* external/cwe/cwe-020
1414
*/
1515

1616
import cpp

csharp/ql/src/Configuration/PasswordInConfigurationFile.ql

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
* @precision medium
88
* @id cs/password-in-configuration
99
* @tags security
10-
* external/cwe/cwe-13
10+
* external/cwe/cwe-013
1111
* external/cwe/cwe-256
1212
* external/cwe/cwe-313
1313
*/

csharp/ql/src/Security Features/CWE-011/ASPNetDebug.ql

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
* @tags security
1111
* maintainability
1212
* frameworks/asp.net
13-
* external/cwe/cwe-11
13+
* external/cwe/cwe-011
1414
* external/cwe/cwe-532
1515
*/
1616

csharp/ql/src/Security Features/CWE-016/ASPNetMaxRequestLength.ql

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
* @id cs/web/large-max-request-length
99
* @tags security
1010
* frameworks/asp.net
11-
* external/cwe/cwe-16
11+
* external/cwe/cwe-016
1212
*/
1313

1414
import csharp

0 commit comments

Comments
 (0)