This issue is resolved in the following releases:
- vRealize Operations 8.1.1 Hot Fix 10
- vRealize Operations 8.2 Hot Fix 10
- vRealize Operations 8.3 Hot Fix 9
- vRealize Operations 8.4 Hot Fix 6
- vRealize Operations 8.5 Hot Fix 5
- vRealize Operations 8.6.2
Note: These Hot Fixes are not applicable for non-native and Third Party Management Packs. Non-native and Third Party Management Packs should be upgraded to safe versions. Failure to do so could leave vRealize Operations vulnerable due to these management packs introducing the security risk.
The workarounds described in this document are meant to be a temporary solution only.
Upgrades documented in the aforementioned advisory should be applied to remediate CVE-2021-44228 and CVE-2021-45046 when available.
Workaround:
Notice: The below content has been updated as of 12/15/2021 to add workaround steps for the related CVE-2021-45046 as noted above. Please re-run all of the below steps even if you have already implemented the original CVE-2021-44228 workaround steps by running the data-rc-witness-log4j-fix.sh and cp-log4j-fix.sh scripts.
To apply the workaround for CVE-2021-44228 and CVE-2021-45046 to vRealize Operations, perform the following steps:
For Analytic (Primary, Replica, Data), Remote Collector and Witness nodes:
- Log into the vRealize Operations Manager Admin UI as the local admin user.
- Click Take Offline under Cluster Status.
Note: Wait for Cluster Status to show as Offline.
- Copy the attached data-rc-witness-log4j-fix.sh and vrops-log4j-fix.sh files to the /tmp directory on all Analytic, Remote Collector and Witness nodes in the cluster using an SCP utility.
- Log into each Analytic, Remote Collector and Witness node as root via SSH or Console, pressing ALT+F1 in a Console to log in.
- Change to the /tmp directory on all nodes:
cd /tmp
- Run the following command on all nodes to make the data-rc-witness-log4j-fix.sh script executable:
chmod +x data-rc-witness-log4j-fix.sh
- Run the following command on all nodes to make the vrops-log4j-fix.sh script executable:
chmod +x vrops-log4j-fix.sh
- Run te following command on all nodes to execute the data-rc-witness-log4j-fix.sh script:
./data-rc-witness-log4j-fix.sh
Note: Ensure there are no ERROR messages in the script output.
- Run the following command on all nodes to execute the vrops-log4j-fix.sh script:
./vrops-log4j-fix.sh
Note: Ensure there are no ERROR messages in the script output.
- Run the following command on all nodes to restart the CaSA service:
service vmware-casa restart
- Log into the vRealize Operations Manager Admin UI as the local admin user.
- Click Bring Online under Cluster Status.
Note: Wait for Cluster Status to show as Online.
For Cloud Proxies
- Copy the attached cp-log4j-fix.sh and vrops-log4j-fix.sh files to the /tmp directory on all Cloud Proxies using an SCP utility.
- Log into each Cloud Proxy as root via SSH or Console, pressing ALT+F1 in a Console to log in.
- Change to the /tmp directory on all Cloud Proxies:
cd /tmp
- Run the following command on all Cloud Proxies to make the cp-log4j-fix.sh script executable:
chmod +x cp-log4j-fix.sh
- Run the following command on all Cloud Proxies to make the vrops-log4j-fix.sh script executable:
chmod +x vrops-log4j-fix.sh
- Run the following command on all Cloud Proxies to execute the cp-log4j-fix.sh script:
./cp-log4j-fix.sh
Note: Ensure there are no ERROR messages in the script output.
- Run the following command on all Cloud Proxies to execute the vrops-log4j-fix.sh script:
./vrops-log4j-fix.sh
Note: Ensure there are no ERROR messages in the script output.
- Run the following command on all Cloud Proxy nodes to restart the CaSA and Collector services:
service vmware-casa restart; service collector restart
To verify the workaround for CVE-2021-44228 has been correctly applied to vRealize Operations, perform the following steps:
- Log into each node as root via SSH or Console, pressing ALT+F1 in a Console to log in.
- Run the following command to verify if the data-rc-witness-log4j-fix.sh script was successful:
ps axf | grep --color log4j2.formatMsgNoLookups | grep -v grep
Note: There should be output from the above command. If there was no output on any particular node(s), that node(s) was not successfully modified. Re-run the script on that node(s) following the instructions above.
- Run the following command to verify if the vrops-log4j-fix.sh script was successful:
./tmp/vrops-log4j-fix.sh
Note: You should receive output reading:
Searching for impacted .jar files. Please wait...
No impacted .jar files found