Skip to content

Commit e3c1101

Browse files
authored
Merge pull request #10136 from atorralba/atorralba/redos-cwe-tag
Java: Add CWE-1333 tag to Java ReDoS queries
2 parents ac79866 + 6b4cfbb commit e3c1101

File tree

3 files changed

+6
-0
lines changed

3 files changed

+6
-0
lines changed

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
* @precision high
99
* @id java/polynomial-redos
1010
* @tags security
11+
* external/cwe/cwe-1333
1112
* external/cwe/cwe-730
1213
* external/cwe/cwe-400
1314
*/

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
* @precision high
1010
* @id java/redos
1111
* @tags security
12+
* external/cwe/cwe-1333
1213
* external/cwe/cwe-730
1314
* external/cwe/cwe-400
1415
*/
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
---
2+
category: queryMetadata
3+
---
4+
* The queries `java/redos` and `java/polynomial-redos` now have a tag for CWE-1333.

0 commit comments

Comments
 (0)