-
Notifications
You must be signed in to change notification settings - Fork 1.2k
fixed Password Exposure in IPMI Tool Command Execution #12028
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
fixed Password Exposure in IPMI Tool Command Execution #12028
Conversation
Updated Javadoc comments for clarity and consistency.
DaanHoogland
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
clgtm
|
@blueorangutan package |
|
@DaanHoogland a [SL] Jenkins job has been kicked to build packages. It will be bundled with KVM, XenServer and VMware SystemVM templates. I'll keep you posted as I make progress. |
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## 4.20 #12028 +/- ##
============================================
- Coverage 16.18% 16.17% -0.01%
+ Complexity 13305 13299 -6
============================================
Files 5657 5657
Lines 498466 498470 +4
Branches 60491 60493 +2
============================================
- Hits 80696 80649 -47
- Misses 408789 408847 +58
+ Partials 8981 8974 -7
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
|
Packaging result [SF]: ✖️ el8 ✖️ el9 ✖️ debian ✖️ suse15. SL-JID 15702 |
|
test error here |
|
@blueorangutan package |
|
@DaanHoogland a [SL] Jenkins job has been kicked to build packages. It will be bundled with KVM, XenServer and VMware SystemVM templates. I'll keep you posted as I make progress. |
|
Packaging result [SF]: ✔️ el8 ✔️ el9 ✔️ el10 ✔️ debian ✔️ suse15. SL-JID 15713 |
|
@blueorangutan test |
|
@DaanHoogland a [SL] Trillian-Jenkins test job (ol8 mgmt + kvm-ol8) has been kicked to run smoke tests |
|
[SF] Trillian test result (tid-14797)
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
This PR addresses a security vulnerability where passwords are exposed in IPMI tool command logs. The fix adds a new regex pattern to redact user IDs and passwords from ipmitool user set password commands.
Key changes:
- Added regex pattern to mask passwords in
ipmitool user set passwordcommands - Added test coverage for the new password redaction pattern
- Minor code formatting improvements to logger statements
Reviewed Changes
Copilot reviewed 2 out of 2 changed files in this pull request and generated 2 comments.
| File | Description |
|---|---|
| ProcessRunner.java | Added new regex pattern to commandLogReplacements for redacting ipmitool user set password command parameters; includes minor formatting improvements to logger statements |
| ProcessRunnerTest.java | Added test case to verify password and userId redaction for ipmitool user set password commands |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
utils/src/main/java/org/apache/cloudstack/utils/process/ProcessRunner.java
Outdated
Show resolved
Hide resolved
utils/src/main/java/org/apache/cloudstack/utils/process/ProcessRunner.java
Show resolved
Hide resolved
utils/src/main/java/org/apache/cloudstack/utils/process/ProcessRunner.java
Outdated
Show resolved
Hide resolved
…sRunner.java Co-authored-by: Vishesh <[email protected]>
|
@blueorangutan package |
|
@DaanHoogland a [SL] Jenkins job has been kicked to build packages. It will be bundled with KVM, XenServer and VMware SystemVM templates. I'll keep you posted as I make progress. |
|
Packaging result [SF]: ✔️ el8 ✔️ el9 ✔️ el10 ✔️ debian ✔️ suse15. SL-JID 15729 |
|
@blueorangutan package |
|
@Damans227 a [SL] Jenkins job has been kicked to build packages. It will be bundled with KVM, XenServer and VMware SystemVM templates. I'll keep you posted as I make progress. |
|
Packaging result [SF]: ✔️ el8 ✔️ el9 ✔️ el10 ✔️ debian ✔️ suse15. SL-JID 15731 |
|
@blueorangutan help |
|
@Damans227 [SL] I understand these words: "help", "hello", "thanks", "package", "test" Blessed contributors for kicking Trillian test jobs: ['rohityadavcloud', 'shwstppr', 'damans227', 'vishesh92', 'Pearl1594', 'harikrishna-patnala', 'nvazquez', 'DaanHoogland', 'weizhouapache', 'borisstoyanov', 'vladimirpetrov', 'kiranchavala', 'andrijapanicsb', 'NuxRo', 'rajujith', 'alexandremattioli', 'sureshanaparti', 'abh1sar', 'sudo87', 'rosi-shapeblue'] |
|
@blueorangutan test keepEnv |
|
@Damans227 a [SL] Trillian-Jenkins test job (ol8 mgmt + kvm-ol8) has been kicked to run smoke tests |
|
[SF] Trillian test result (tid-14813)
|
Description
This PR fixed Password Exposure in IPMI Tool Command Execution. Fixes: #12027