Skip to content

Commit 23cbc6a

Browse files
authored
Merge pull request #19723 from apsscolari/update-precision-java-concatenated-command-line
Update precision java concatenated command line
2 parents fdf1dca + a07ce30 commit 23cbc6a

File tree

3 files changed

+5
-2
lines changed

3 files changed

+5
-2
lines changed

java/ql/integration-tests/java/query-suite/java-code-scanning.qls.expected

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@ ql/java/ql/src/Security/CWE/CWE-023/PartialPathTraversalFromRemote.ql
1212
ql/java/ql/src/Security/CWE/CWE-074/JndiInjection.ql
1313
ql/java/ql/src/Security/CWE/CWE-074/XsltInjection.ql
1414
ql/java/ql/src/Security/CWE/CWE-078/ExecTainted.ql
15-
ql/java/ql/src/Security/CWE/CWE-078/ExecUnescaped.ql
1615
ql/java/ql/src/Security/CWE/CWE-079/XSS.ql
1716
ql/java/ql/src/Security/CWE/CWE-089/SqlTainted.ql
1817
ql/java/ql/src/Security/CWE/CWE-090/LdapInjection.ql

java/ql/src/Security/CWE/CWE-078/ExecUnescaped.ql

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
* @kind problem
66
* @problem.severity error
77
* @security-severity 9.8
8-
* @precision high
8+
* @precision medium
99
* @id java/concatenated-command-line
1010
* @tags security
1111
* external/cwe/cwe-078
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
---
2+
category: queryMetadata
3+
---
4+
* Adjusts the `@precision` from high to medium for `java/concatenated-command-line` because it is producing false positive alerts when the concatenated strings are hard-coded.

0 commit comments

Comments
 (0)