-
Notifications
You must be signed in to change notification settings - Fork 142
subprocess call with shell=True identified, security issue. #1954
Comments
For the convenience of the Seagate development team, this issue has been mirrored in a private Seagate Jira Server: https://jts.seagate.com/browse/CORTX-33346. Note that community members will not be able to access that Jira server but that is not a problem since all activity in that Jira mirror will be copied into this GitHub issue. |
This issue/pull request has been marked as |
This issue/pull request has been marked as |
The following pr should address this.
|
There are 2 new codacy issues after fixing the 2 issues. The new warnings is, "subprocess call - check for execution of untrusted input". According to the below issue it seems that we need to manually ignore this if we think that the input is trusted : |
The pr has been merged. |
set shell=False in the sub process module. |
Patch was reviewed and merged. |
We no longer see the critical warning. The newly generated low severity warning which was supposed to be manually verified and ignored has been approved for ignoring as commented in pull request and has been ignored and updated in the table. |
Codacy detected an issue:
Message:
subprocess call with shell=True identified, security issue.
Currently on:
The text was updated successfully, but these errors were encountered: