Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 2b4635c

Browse files
authored
Merge pull request #6539 from smowton/smowton/admin/downgrade-sql-unescaped
Downgrade precision of java/concatenated-sql-query
2 parents 2689c13 + 7f73efe commit 2b4635c

2 files changed

Lines changed: 3 additions & 1 deletion

File tree

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
lgtm,codescanning
2+
* Query `java/concatenated-sql-query` has been downgraded to medium precision in view of its heuristic nature, which is inherently prone to false positives. This means its alerts will not be visible by default on lgtm.com. Code Scanning will also no longer run the query by default.

java/ql/src/Security/CWE/CWE-089/SqlUnescaped.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 8.8
8-
* @precision high
8+
* @precision medium
99
* @id java/concatenated-sql-query
1010
* @tags security
1111
* external/cwe/cwe-089

0 commit comments

Comments
 (0)