Skip to content

Commit 2b349b3

Browse files
authored
Merge pull request #7295 from geoffw0/cwe260
C++: Add CWE tags to some queries.
2 parents f10f053 + 3043ac8 commit 2b349b3

File tree

3 files changed

+5
-0
lines changed

3 files changed

+5
-0
lines changed

cpp/ql/src/Likely Bugs/Protocols/TlsSettingsMisconfiguration.ql

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,10 @@
33
* @description Using the TLS or SSLv23 protocol from the boost::asio library, but not disabling deprecated protocols, or disabling minimum-recommended protocols.
44
* @kind problem
55
* @problem.severity error
6+
* @security-severity 7.5
67
* @id cpp/boost/tls-settings-misconfiguration
78
* @tags security
9+
* external/cwe/cwe-326
810
*/
911

1012
import cpp

cpp/ql/src/Likely Bugs/Protocols/UseOfDeprecatedHardcodedProtocol.ql

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,10 @@
33
* @description Using a deprecated hard-coded protocol using the boost::asio library.
44
* @kind problem
55
* @problem.severity error
6+
* @security-severity 7.5
67
* @id cpp/boost/use-of-deprecated-hardcoded-security-protocol
78
* @tags security
9+
* external/cwe/cwe-327
810
*/
911

1012
import cpp

cpp/ql/src/Security/CWE/CWE-311/CleartextFileWrite.ql

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
* @precision high
99
* @id cpp/cleartext-storage-file
1010
* @tags security
11+
* external/cwe/cwe-260
1112
* external/cwe/cwe-313
1213
*/
1314

0 commit comments

Comments
 (0)