Skip to content

Commit 4353937

Browse files
committed
PY: add missing security tags on Python queries
1 parent 68bf9f3 commit 4353937

File tree

3 files changed

+3
-0
lines changed

3 files changed

+3
-0
lines changed

python/ql/src/Security/CWE-730/PolynomialReDoS.ql

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
* to match may be vulnerable to denial-of-service attacks.
55
* @kind path-problem
66
* @problem.severity warning
7+
* @security-severity 7.5
78
* @precision high
89
* @id py/polynomial-redos
910
* @tags security

python/ql/src/Security/CWE-730/ReDoS.ql

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
* attacks.
66
* @kind problem
77
* @problem.severity error
8+
* @security-severity 7.5
89
* @precision high
910
* @id py/redos
1011
* @tags security

python/ql/src/Security/CWE-730/RegexInjection.ql

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
* exponential time on certain inputs.
66
* @kind path-problem
77
* @problem.severity error
8+
* @security-severity 7.5
89
* @precision high
910
* @id py/regex-injection
1011
* @tags security

0 commit comments

Comments
 (0)