Skip to content

Commit a0dd3d9

Browse files
authored
Merge pull request github#6815 from asgerf/js/adjust-security-severity-scores
Approved by erik-krogh, esbena
2 parents d8d9073 + 3a20ca9 commit a0dd3d9

File tree

8 files changed

+10
-8
lines changed

8 files changed

+10
-8
lines changed

javascript/ql/src/Security/CWE-078/IndirectCommandInjection.ql

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
* command-line injection vulnerabilities.
66
* @kind path-problem
77
* @problem.severity warning
8-
* @security-severity 9.8
8+
* @security-severity 6.3
99
* @precision medium
1010
* @id js/indirect-command-line-injection
1111
* @tags correctness

javascript/ql/src/Security/CWE-078/ShellCommandInjectionFromEnvironment.ql

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
* environment may cause subtle bugs or vulnerabilities.
55
* @kind path-problem
66
* @problem.severity warning
7-
* @security-severity 9.8
7+
* @security-severity 6.3
88
* @precision high
99
* @id js/shell-command-injection-from-environment
1010
* @tags correctness

javascript/ql/src/Security/CWE-078/UnsafeShellCommandConstruction.ql

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
* user to change the meaning of the command.
55
* @kind path-problem
66
* @problem.severity error
7-
* @security-severity 9.8
7+
* @security-severity 6.3
88
* @precision high
99
* @id js/shell-command-constructed-from-input
1010
* @tags correctness

javascript/ql/src/Security/CWE-078/UselessUseOfCat.ql

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
* @description Using the `cat` process to read a file is unnecessarily complex, inefficient, unportable, and can lead to subtle bugs, or even security vulnerabilities.
44
* @kind problem
55
* @problem.severity error
6-
* @security-severity 9.8
6+
* @security-severity 6.3
77
* @precision high
88
* @id js/unnecessary-use-of-cat
99
* @tags correctness

javascript/ql/src/Security/CWE-094/CodeInjection.ql

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,12 @@
44
* code execution.
55
* @kind path-problem
66
* @problem.severity error
7-
* @security-severity 6.1
7+
* @security-severity 9.3
88
* @precision high
99
* @id js/code-injection
1010
* @tags security
1111
* external/cwe/cwe-094
12+
* external/cwe/cwe-095
1213
* external/cwe/cwe-079
1314
* external/cwe/cwe-116
1415
*/

javascript/ql/src/Security/CWE-134/TaintedFormatString.ql

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
* @description Using external input in format strings can lead to garbled output.
44
* @kind path-problem
55
* @problem.severity warning
6-
* @security-severity 9.3
6+
* @security-severity 7.3
77
* @precision high
88
* @id js/tainted-format-string
99
* @tags security

javascript/ql/src/Security/CWE-834/LoopBoundInjection.ql

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,11 @@
44
* property can cause indefinite looping.
55
* @kind path-problem
66
* @problem.severity warning
7-
* @security-severity 6.5
7+
* @security-severity 7.5
88
* @id js/loop-bound-injection
99
* @tags security
1010
* external/cwe/cwe-834
11+
* external/cwe/cwe-730
1112
* @precision high
1213
*/
1314

javascript/ql/src/Security/CWE-912/HttpToFileAccess.ql

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
* @description Writing network data directly to the file system allows arbitrary file upload and might indicate a backdoor.
44
* @kind path-problem
55
* @problem.severity warning
6-
* @security-severity 9.8
6+
* @security-severity 6.3
77
* @precision medium
88
* @id js/http-to-file-access
99
* @tags security

0 commit comments

Comments
 (0)