mirror of
https://github.com/github/codeql.git
synced 2026-04-19 14:04:09 +02:00
Rust: Use CWE 20 for regex injection query
This commit is contained in:
@@ -3,12 +3,12 @@
|
||||
* @description
|
||||
* @kind path-problem
|
||||
* @problem.severity error
|
||||
* @security-severity 7.5
|
||||
* @security-severity 7.8
|
||||
* @precision high
|
||||
* @id rust/regex-injection
|
||||
* @tags security
|
||||
* external/cwe/cwe-730
|
||||
* external/cwe/cwe-400
|
||||
* external/cwe/cwe-020
|
||||
* external/cwe/cwe-074
|
||||
*/
|
||||
|
||||
private import rust
|
||||
@@ -1,2 +1,2 @@
|
||||
query: queries/security/CWE-730/RegexInjection.ql
|
||||
query: queries/security/CWE-020/RegexInjection.ql
|
||||
postprocess: utils/test/InlineExpectationsTestQuery.ql
|
||||
Reference in New Issue
Block a user