Skip to content

Commit f1ec2e3

Browse files
authored
Merge pull request #8426 from atorralba/atorralba/missing-severities
Java: Add missing security-severity scores
2 parents fa8791f + 1f4f420 commit f1ec2e3

14 files changed

+17
-0
lines changed

java/ql/src/Security/CWE/CWE-074/JndiInjection.ql

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
* object and to execution of arbitrary code.
55
* @kind path-problem
66
* @problem.severity error
7+
* @security-severity 9.8
78
* @precision high
89
* @id java/jndi-injection
910
* @tags security

java/ql/src/Security/CWE/CWE-074/XsltInjection.ql

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
* information disclosure or execution of arbitrary code.
55
* @kind path-problem
66
* @problem.severity error
7+
* @security-severity 9.8
78
* @precision high
89
* @id java/xslt-injection
910
* @tags security

java/ql/src/Security/CWE/CWE-094/GroovyInjection.ql

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
* may lead to arbitrary code execution.
55
* @kind path-problem
66
* @problem.severity error
7+
* @security-severity 9.3
78
* @precision high
89
* @id java/groovy-injection
910
* @tags security

java/ql/src/Security/CWE/CWE-094/MvelInjection.ql

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
* may lead to remote code execution.
55
* @kind path-problem
66
* @problem.severity error
7+
* @security-severity 9.3
78
* @precision high
89
* @id java/mvel-expression-injection
910
* @tags security

java/ql/src/Security/CWE/CWE-094/SpelInjection.ql

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
* may lead to remote code execution.
55
* @kind path-problem
66
* @problem.severity error
7+
* @security-severity 9.3
78
* @precision high
89
* @id java/spel-expression-injection
910
* @tags security

java/ql/src/Security/CWE/CWE-200/TempDirLocalInformationDisclosure.ql

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
* @description Writing information without explicit permissions to a shared temporary directory may disclose it to other users.
44
* @kind path-problem
55
* @problem.severity warning
6+
* @security-severity 6.5
67
* @precision medium
78
* @id java/local-temp-file-or-directory-information-disclosure
89
* @tags security

java/ql/src/Security/CWE/CWE-273/UnsafeCertTrust.ql

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
* the app vulnerable to man-in-the-middle attacks.
66
* @kind problem
77
* @problem.severity warning
8+
* @security-severity 9.8
89
* @precision medium
910
* @id java/unsafe-cert-trust
1011
* @tags security

java/ql/src/Security/CWE/CWE-312/CleartextStorageAndroidDatabase.ql

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
* privileges or unexpected exposure from chained vulnerabilities.
66
* @kind problem
77
* @problem.severity warning
8+
* @security-severity 7.5
89
* @precision medium
910
* @id java/android/cleartext-storage-database
1011
* @tags security

java/ql/src/Security/CWE/CWE-312/CleartextStorageAndroidFilesystem.ql

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
* from chained vulnerabilities.
66
* @kind problem
77
* @problem.severity warning
8+
* @security-severity 7.5
89
* @precision medium
910
* @id java/android/cleartext-storage-filesystem
1011
* @tags security

java/ql/src/Security/CWE/CWE-312/CleartextStorageSharedPrefs.ql

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
* privileges or unexpected exposure from chained vulnerabilities.
66
* @kind problem
77
* @problem.severity warning
8+
* @security-severity 7.5
89
* @precision medium
910
* @id java/android/cleartext-storage-shared-prefs
1011
* @tags security

0 commit comments

Comments
 (0)