VMware Cloud Community
PaxtonRoberts
Contributor
Contributor

Log4j Workaround in VCSA 6.7 Traceback Error

When attempting to execute the vc_log4j_mitigator.py script I receive the following:

Traceback (most recent call last):
File "vc_log4j_mitigator.py", line 211, in <module>
ENV = Environment()
File "vc_log4j_mitigator.py", line 151, in __init__
version = version.rsplit(' ', 1)[1]
IndexError: list index out of range

Steps taken prior to this point:

1. Transferred the vc_log4j_mitigator.py to the /tmp directory

2. Changed permissions on the file to 770 and ownership to root:root

3. Tried execution from the /tmp, / and /var/tmp directories and all failed with the same output.

0 Kudos
0 Replies