Skip to content

Commit b6385f7

Browse files
authored
Merge pull request github#15533 from JLLeitschuh/patch-5
Reduce severity of `java/relative-path-command`
2 parents 75a2b94 + e6623eb commit b6385f7

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

java/ql/src/Security/CWE/CWE-078/ExecRelative.ql

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
* malicious changes in the PATH environment variable.
55
* @kind problem
66
* @problem.severity warning
7-
* @security-severity 9.8
7+
* @security-severity 5.4
88
* @precision medium
99
* @id java/relative-path-command
1010
* @tags security
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 `security-severity` score of the query `java/relative-path-command` has been reduced to better adjust it to the specific conditions needed for exploitation.

0 commit comments

Comments
 (0)