Skip to content
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

SMHE-191: An external SIG analysis fix #1173

Merged
merged 2 commits into from
Feb 19, 2024

Conversation

kroesctrl
Copy link
Contributor

SMHE-191: An external SIG analysis, recommended to make this not a public class.

This class could be vulnerable to arbitrary command execution. The reason is that this class executes a command on the operating system.

…blic class.

This class could be vulnerable to arbitrary command execution.
The reason is that this class executes a command on the operating system.

Signed-off-by: Gerben Kroes <[email protected]>
* This class could be vulnerable to arbitrary command execution.
* The reason is that this class executes a command on the operating system.
*/
class CommandExecutor {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Deze zou nog private gemaakt kunnen worden.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Makes the testability a lot harder, so i leave it package private

Copy link

@kroesctrl kroesctrl merged commit 4e93866 into development Feb 19, 2024
5 checks passed
@jasperkamerling jasperkamerling deleted the feature/SMHE-1919_os_command_executor branch June 12, 2024 12:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants