vSphere 6.5

Install VMware VCSA vCenter Appliance Photon OS Security Patches

A quick look at Photon OS monthly updates and how to Install VMware VCSA vCenter Appliance Photon OS Security Patches using the GUI or command line
As we have detailed on previous posts, VMware is committed to using Photon OS in just about all the appliances that are being deployed with various products now. The new vCenter Server appliance is a case in point to that.ย  Since Photon OS is a custom built OS from VMware, they can achieve a much more aggressive patch/support schedule.ย  VMware announced on September 22, 2017 that they are committed to monthly patchesย on the vSphere VCSA vCenter appliance.ย  This is a great change from a security perspective as historically, VCSA patches when running on SuSE were not released that often.ย  VMware has documented in their security response policy that patch releases will be based on the vulnerability severity.ย  Let’s take a look at how toย install VMware VCSA vCenter appliance Photon OS security patches.

Current VCSA Security Patches

The following are patches that the first security update for VCSA 6.5 Update 1 from VMware contains:

Release Date Build Number Patch Name Affected Package New Package Versions CVEs Addressed
21 September 2017 6671409 6.5 U1a
(security fixes for PhotonOS)
Linux

Httpd

Pycrypto

Linux

Ncurses

4.4.77-1

2.24.27-1

2.7a1-3

4.4.79-1

6.0-5

CVE-2017-11473

CVE-2017-3167

CVE-2013-7459

CVE-2017-11176

CVE-2017-10684,ย CVE-2017-10685

Install VMware VCSA Security Patches GUI

The method that most will be familiar with in patching a VCSA appliance is from the GUI interface.ย  We can get to theย Update functionality by browsing out to the VAMI interfaceย https://<your vcenter IP>:5480.ย  Choose theย Update menu option.

VCSA-patch-login-to-VAMI
VCSA patch login to VAMI

Select the Update option.

VCSA-VAMI-GUI-patch-install
VCSA VAMI GUI patch install

Under theย Check Updates menu, click theย Check Repository option.ย  This will pull updates from the online VCSA update repository.

Check-online-repository-for-patches-updates
Check online repository for patches updates

As shown below, theย 6.5.0.10100 Build Number 6671409 update is available.ย  We can choose toย Install All Updates.

Choose-to-Install-All-Updates
Choose to Install All Updates

We will be presented with the EULA for the update.ย  Click theย Accept button.

Accept-the-End-User-License-Agreement
Accept the End User License Agreement

You can choose whether or not you want to join the CEIP program by checking or unchecking the box.ย  Then click theย Install button.

Configure-the-CEIP-options
Configure the CEIP options

The patches are staged for installation.

VCSA-patch-GUI-start-staging-patches
VCSA patch GUI start staging patches

The update process runs a few pre-install scripts.ย  You can select theย Show Details button to reveal the specifics of the process.

Update-GUI-pre-install-scripts-running
Update GUI pre-install scripts running

The packages will begin updating after the pre-install scripts run.

Package-updates-start-on-VCSA-appliance
Package updates start on VCSA appliance

After the update is finished, you will see the message thatย aย reboot is required to complete installation.

Security-patches-applied-successfully-reboot-pending
Security patches applied successfully reboot pending

If we go back to theย Update menu, we will see the current build number is showing now, however, we still see the reboot directive.

Current-build-shown-reboot
Current build shown reboot

We can easily reboot from the VAMI interface, by going to theย Summary tab and selecting theย Reboot option.

VAMI-Summary-tab-select-reboot
VAMI Summary tab select reboot

Selectย Yes on the reboot the system directive.

Confirm-VCSA-reboot
Confirm VCSA reboot

Install VMware VCSA Security Patches Command Line

A very easy and powerful way to install patches to VMware VCSA appliance is by using the command line.ย  We can pull the updates directly from the VMware online repository as well.ย  We can find the URL for patching from the online repository by logging into the VCSA VAMI interfaceย https://<your vcenter IP>:5480 and choosingย Update >> Settings.ย  Under theย Repository Settings you will see the URL for the online repository.ย  We can copy that and use it from the command line.

Get-the-Default-Repository-URL-for-updating
Get the Default Repository URL for updating

Login via SSH to your VCSA appliance.ย  Make sure your shell is set to the default appliance shell.ย  We will use theย software-packages install –url command to stage and install the patches.ย  We use the URL we copied from the VAMI interface Update settings.

Pull-patches-from-the-online-default-patch-repository
Pull patches from the online default patch repository

We will see the EULA presented from the command line.ย  You can also use the following command to accept the EULAs automatically:

software-packages install --url  --acceptEulas
Accept-the-license-agreement
Accept the license agreement

After the EULA, we type outย yes to the “Do you accept the terms and conditions?”ย question.

Type-yes-at-the-license-agreement
Type yes at the license agreement
VCSA-6.5-patches-are-applied-reboot-system
VCSA 6.5 patches are applied reboot system
Enter-the-shutdown-reboot-command-with-reason
Enter the shutdown reboot command with reason

After the reboot of the VCSA 6.5 appliance, we will have the latest patches/security patches installed.

Takeways

The new security posture from VMware regarding the Photon OS is a welcomed change for all wanting to stay current with security updates and patching known or zero day vulnerabilities.ย  The VMware Photon OS is a great platform that is allowing VMware to be more agile and aggressive with development and patching on all fronts.ย  With the new monthly updates, all canย Install VMware VCSA vCenter Appliance Photon OS Security Patches and stay current with the platform.ย  As shown the updates can easily be applied using the VAMI GUI or by command line.

Subscribe to VirtualizationHowto via Email ๐Ÿ””

Enter your email address to subscribe to this blog and receive notifications of new posts by email.



Brandon Lee

Brandon Lee is the Senior Writer, Engineer and owner at Virtualizationhowto.com, and a 7-time VMware vExpert, with over two decades of experience in Information Technology. Having worked for numerous Fortune 500 companies as well as in various industries, He has extensive experience in various IT segments and is a strong advocate for open source technologies. Brandon holds many industry certifications, loves the outdoors and spending time with family. Also, he goes through the effort of testing and troubleshooting issues, so you don't have to.

Related Articles

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.