Skip to content

Java: Add missing security-severity scores #8426

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Mar 31, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions java/ql/src/Security/CWE/CWE-074/JndiInjection.ql
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
* object and to execution of arbitrary code.
* @kind path-problem
* @problem.severity error
* @security-severity 9.8
* @precision high
* @id java/jndi-injection
* @tags security
Expand Down
1 change: 1 addition & 0 deletions java/ql/src/Security/CWE/CWE-074/XsltInjection.ql
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
* information disclosure or execution of arbitrary code.
* @kind path-problem
* @problem.severity error
* @security-severity 9.8
* @precision high
* @id java/xslt-injection
* @tags security
Expand Down
1 change: 1 addition & 0 deletions java/ql/src/Security/CWE/CWE-094/GroovyInjection.ql
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
* may lead to arbitrary code execution.
* @kind path-problem
* @problem.severity error
* @security-severity 9.3
* @precision high
* @id java/groovy-injection
* @tags security
Expand Down
1 change: 1 addition & 0 deletions java/ql/src/Security/CWE/CWE-094/MvelInjection.ql
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
* may lead to remote code execution.
* @kind path-problem
* @problem.severity error
* @security-severity 9.3
* @precision high
* @id java/mvel-expression-injection
* @tags security
Expand Down
1 change: 1 addition & 0 deletions java/ql/src/Security/CWE/CWE-094/SpelInjection.ql
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
* may lead to remote code execution.
* @kind path-problem
* @problem.severity error
* @security-severity 9.3
* @precision high
* @id java/spel-expression-injection
* @tags security
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
* @description Writing information without explicit permissions to a shared temporary directory may disclose it to other users.
* @kind path-problem
* @problem.severity warning
* @security-severity 6.5
* @precision medium
* @id java/local-temp-file-or-directory-information-disclosure
* @tags security
Expand Down
1 change: 1 addition & 0 deletions java/ql/src/Security/CWE/CWE-273/UnsafeCertTrust.ql
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
* the app vulnerable to man-in-the-middle attacks.
* @kind problem
* @problem.severity warning
* @security-severity 9.8
* @precision medium
* @id java/unsafe-cert-trust
* @tags security
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
* privileges or unexpected exposure from chained vulnerabilities.
* @kind problem
* @problem.severity warning
* @security-severity 7.5
* @precision medium
* @id java/android/cleartext-storage-database
* @tags security
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
* from chained vulnerabilities.
* @kind problem
* @problem.severity warning
* @security-severity 7.5
* @precision medium
* @id java/android/cleartext-storage-filesystem
* @tags security
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
* privileges or unexpected exposure from chained vulnerabilities.
* @kind problem
* @problem.severity warning
* @security-severity 7.5
* @precision medium
* @id java/android/cleartext-storage-shared-prefs
* @tags security
Expand Down
1 change: 1 addition & 0 deletions java/ql/src/Security/CWE/CWE-522/InsecureBasicAuth.ql
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
* the data vulnerable to packet sniffing.
* @kind path-problem
* @problem.severity warning
* @security-severity 8.8
* @precision medium
* @id java/insecure-basic-auth
* @tags security
Expand Down
1 change: 1 addition & 0 deletions java/ql/src/Security/CWE/CWE-749/UnsafeAndroidAccess.ql
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
* application files and web resources from any origin exposing them to attack.
* @kind path-problem
* @problem.severity warning
* @security-severity 6.1
* @precision medium
* @id java/android/unsafe-android-webview-fetch
* @tags security
Expand Down
1 change: 1 addition & 0 deletions java/ql/src/Security/CWE/CWE-917/OgnlInjection.ql
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
* lead to execution of arbitrary code.
* @kind path-problem
* @problem.severity error
* @security-severity 9.8
* @precision high
* @id java/ognl-injection
* @tags security
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
---
category: queryMetadata
---
* Added the `security-severity` tag to several queries.