VMware Cloud Community
Taylan_Otp
Contributor
Contributor

6.5 Log4J Mitigation problem

Hi All,

I follow the inscructions in (https://kb.vmware.com/s/article/87088) but no way. I put the vmsa-2021-0028-kb87081.py script file in to /tmp folder than run the sctipt with "python /tmp/vmsa-2021-0028-kb87081.py" command but below error returns;

Traceback (most recent call last):
File "/tmp/vmsa-2021-0028-kb87081.py", line 10, in <module>
sys.path.append(os.environ['VMWARE_PYTHON_PATH'])
File "/build/mts/release/bora-4564106/bora/build/esx/release/vmvisor/sys-boot/lib64/python3.5/os.py", line 683, in __getitem__
KeyError: 'VMWARE_PYTHON_PATH'

Also i have tried to follow manual way for 6.5.x but can't find  "/usr/lib/vmware-vmon/java-wrapper-vmon" there is no such file or directory.

Anyone success the mitigation for 6.5.0 ?

Regards.

 

Reply
0 Kudos
1 Reply
baijup
VMware Employee
VMware Employee

@Taylan_Otp based on the error message, looks like you are trying to execute the script on ESXi. This script is applicable only for vCenter Server and will not work on ESXi. As mentioned in KB https://kb.vmware.com/s/article/87068, ESXi is not impacted by the log4j CVE.