Implementing Vcenter 6.7 Update 3f patch in a VMware Cloud Foundation 3.9.1 environment.
search cancel

Implementing Vcenter 6.7 Update 3f patch in a VMware Cloud Foundation 3.9.1 environment.

book

Article ID: 325203

calendar_today

Updated On:

Products

VMware

Issue/Introduction

This document provides steps to patch VMware Cloud Foundation 3.9.1 deployment with the security patch vCenter 6.7u3f.

For more information on this vulnerability, please refer to the advisory 
VMSA-2020-0006  and also the vCenter 6.7. U3f Release Notes

Symptoms:
  • vCenter Server 6.7 (embedded or external PSC) prior to 6.7u3f is affected by CVE-2020-3952 if it was upgraded from a previous release line such as 6.0 or 6.5.
  • VMware Cloud Foundation introduced vCenter 6.7 with VCF 3.5 and 6.7 U3b with VCF 3.9.1. Between VMware Cloud Foundation 3.5 and VMware Cloud Foundation 3.9.1 there are different versions of vCenter Server ranging from 6.7 u1, u2 and u3.
  • Environments that are vulnerable to this are the VMware Cloud Foundation migrations migrating from 2.3.x to 3.5.1 and any that upgraded from 3.0.x to 3.5 and beyond. These environments will require the vCenter Server 6.7u3f security patch.
  • VMware Cloud Foundation deployments with fresh installs of version 3.5 and beyond will not impacted by this vulnerability.


Resolution

This is a known issue. Please see the below workaround if you are affected by this vulnerability.

Workaround:
  1. Using a file transfer utility, like WinSCP, copy the /opt/vmware/vcf/lcm/lcm-tools directory on the VMware SDDC Manager VM to a computer with internet access.
  2.  Edit the lcm.depot.adapter.remote.index.filename property in the /lcm-tools/conf/application-prod.properties file from "index.v3" to "index.offline".
Example:
lcm.depot.adapter.remote.index.filename=index.offline 
  1. To download the vCenter Server bundle (bundle-22962), the tool needs to be run with bundle specific ID. Open a command prompt on the internet facing machine and run the following command:
./lcm-bundle-transfer-util --download --outputDirectory <Output-dir> --depotUser 'Customer [email protected]' --bundle bundle-22962
  1. Open an SSH session to the SDDC Manager VM and change to the root user:

su -

  1. Create a directory on the SDDC Manager:

mkdir /nfs/vmware/vcf/nfs-mount/VC-67

  1.  Once the bundle is downloaded, copy the update bundle directory from the external computer to the SDDC Manager VM in the /nfs/vmware/vcf/nfs-mount/VC-67 directory.
  2.  In the SDDC Manager VM, change the ownership and permissions of the uploaded bundles.

chmod -R 0777 /nfs/vmware/vcf/nfs-mount/VC-67
chown -R vcf_lcm:vcf /nfs/vmware/vcf/nfs-mount/VC-67

  1. In the SDDC Manager SSH session, upload the bundle file to the internal LCM repository
cd /opt/vmware/vcf/lcm/lcm-tools/bin

./lcm-bundle-transfer-util -upload -bundleDirectory /nfs/vmware/vcf/nfs-mount/VC-67/ --bundle bundle-22962  
  1. The vCenter Server Update bundle should now be available with the SDDC Manager UI, Proceed with applying the vCenter patch bundle. 
 
 


Additional Information

Impact/Risks:
As this process requires the environment to be on VMware Cloud Foundation 3.9.1, lower versions of VMware Cloud Foundation will be required to be upgraded to 3.9.1 before consuming this patch. Skip level upgrade could be used to get to 3.9.1.