Merge pull request #10180 from erik-krogh/fixTags

Add missing security tags
This commit is contained in:
Erik Krogh Kristensen
2022-09-02 08:04:57 +02:00
committed by GitHub
14 changed files with 17 additions and 7 deletions

View File

@@ -3,9 +3,11 @@
* @description Detects insecure SSL client configurations with an implementation of the `HostKeyCallback` that accepts all host keys.
* @kind path-problem
* @problem.severity warning
* @security-severity 8.2
* @precision high
* @id go/insecure-hostkeycallback
* @tags security
* external/cwe/cwe-322
*/
import go

View File

@@ -0,0 +1,4 @@
---
category: queryMetadata
---
* Added the `security-severity` tag and CWE tag to the `go/insecure-hostkeycallback` query.

View File

@@ -7,7 +7,6 @@
* Such operations could interfere with the EJB container's operation.
* @kind problem
* @problem.severity error
* @security-severity 5.8
* @precision low
* @id java/ejb/container-interference
* @tags reliability

View File

@@ -5,7 +5,6 @@
* for enterprise components.
* @kind problem
* @problem.severity error
* @security-severity 5.8
* @precision low
* @id java/ejb/file-io
* @tags reliability

View File

@@ -4,7 +4,6 @@
* Such use could compromise security and system stability.
* @kind problem
* @problem.severity error
* @security-severity 5.8
* @precision low
* @id java/ejb/native-code
* @tags reliability

View File

@@ -4,7 +4,6 @@
* as this could compromise security.
* @kind problem
* @problem.severity error
* @security-severity 5.8
* @precision low
* @id java/ejb/reflection
* @tags external/cwe/cwe-573

View File

@@ -5,7 +5,6 @@
* This functionality is reserved for the EJB container for security reasons.
* @kind problem
* @problem.severity error
* @security-severity 5.8
* @precision low
* @id java/ejb/security-configuration-access
* @tags external/cwe/cwe-573

View File

@@ -4,7 +4,6 @@
* the Java serialization protocol, since their use could compromise security.
* @kind problem
* @problem.severity error
* @security-severity 5.8
* @precision low
* @id java/ejb/substitution-in-serialization
* @tags external/cwe/cwe-573

View File

@@ -5,7 +5,6 @@
* compromise security or interfere with the EJB container's operation.
* @kind problem
* @problem.severity error
* @security-severity 5.8
* @precision low
* @id java/ejb/socket-or-stream-handler-factory
* @tags reliability

View File

@@ -0,0 +1,4 @@
---
category: queryMetadata
---
* Removed the `@security-severity` tag from several queries not in the `Security/` folder that also had missing `security` tags.

View File

@@ -4,6 +4,7 @@
* to match may be vulnerable to denial-of-service attacks.
* @kind path-problem
* @problem.severity warning
* @security-severity 7.5
* @precision high
* @id py/polynomial-redos
* @tags security

View File

@@ -5,6 +5,7 @@
* attacks.
* @kind problem
* @problem.severity error
* @security-severity 7.5
* @precision high
* @id py/redos
* @tags security

View File

@@ -5,6 +5,7 @@
* exponential time on certain inputs.
* @kind path-problem
* @problem.severity error
* @security-severity 7.5
* @precision high
* @id py/regex-injection
* @tags security

View File

@@ -0,0 +1,4 @@
---
category: queryMetadata
---
* Added the `security-severity` tag the `py/redos`, `py/polynomial-redos`, and `py/regex-injection` queries.