cloudera / cloudera-scripts-for-log4j

Scripts for addressing log4j zero day security issue
Apache License 2.0
86 stars 68 forks source link

Existence of unzip is not properly tested inside delete_jndi_from_jar_files #20

Closed StrongestNumber9 closed 2 years ago

StrongestNumber9 commented 2 years ago

https://github.com/cloudera/cloudera-scripts-for-log4j/blob/d30e17f9d98fb8a351bcdaffa9905dd609b8081f/cm_cdp_cdh_log4j_jndi_removal.sh#L114

./cm_cdp_cdh_log4j_jndi_removal.sh: line 114: unzip: command not found
sunilgovind commented 2 years ago

Yes. The latest commit fixes this issue. Thank you for the findings.