This is an automated email from the ASF dual-hosted git repository.

bstoyanov pushed a commit to branch 4.20
in repository https://gitbox.apache.org/repos/asf/cloudstack.git


The following commit(s) were added to refs/heads/4.20 by this push:
     new 44793da58f2 fix Sensitive Data Exposure Through Exception Logging in 
OVM Hypervis… (#12032)
44793da58f2 is described below

commit 44793da58f29e534562b757bbf905071099507c3
Author: Edward-x <[email protected]>
AuthorDate: Mon Jan 26 19:22:22 2026 +0800

    fix Sensitive Data Exposure Through Exception Logging in OVM Hypervis… 
(#12032)
    
    * fix Sensitive Data Exposure Through Exception Logging in OVM Hypervisor 
Configuration
    
    * extra ‘)’ in log.
    
    Co-authored-by: Abhisar Sinha <[email protected]>
    
    * remove non-descriptive part
    
    Co-authored-by: Suresh Kumar Anaparti <[email protected]>
    
    ---------
    
    Co-authored-by: [email protected] <[email protected]>
    Co-authored-by: dahn <[email protected]>
    Co-authored-by: Abhisar Sinha <[email protected]>
    Co-authored-by: Suresh Kumar Anaparti <[email protected]>
---
 .../ovm/src/main/java/com/cloud/ovm/hypervisor/OvmResourceBase.java     | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 
a/plugins/hypervisors/ovm/src/main/java/com/cloud/ovm/hypervisor/OvmResourceBase.java
 
b/plugins/hypervisors/ovm/src/main/java/com/cloud/ovm/hypervisor/OvmResourceBase.java
index 9d958a9894a..a65e4d778d3 100644
--- 
a/plugins/hypervisors/ovm/src/main/java/com/cloud/ovm/hypervisor/OvmResourceBase.java
+++ 
b/plugins/hypervisors/ovm/src/main/java/com/cloud/ovm/hypervisor/OvmResourceBase.java
@@ -362,7 +362,7 @@ public class OvmResourceBase implements ServerResource, 
HypervisorResource {
 
         sshConnection = SSHCmdHelper.acquireAuthorizedConnection(_ip, 
_username, _password);
         if (sshConnection == null) {
-            throw new CloudRuntimeException(String.format("Cannot connect to 
ovm host(IP=%1$s, username=%2$s, password=%3$s", _ip, _username, _password));
+            throw new CloudRuntimeException(String.format("Cannot connect to 
ovm host(IP=%1$s, username=%2$s)", _ip, _username));
         }
 
         if (!SSHCmdHelper.sshExecuteCmd(sshConnection, "sh 
/usr/bin/configureOvm.sh postSetup")) {

Reply via email to