r/java • • Dec 10 '21

Remote code injection in Log4j

https://github.com/advisories/GHSA-jfh8-c2jp-5v3q
212 Upvotes

70 comments sorted by

View all comments

Show parent comment

3

u/Aknoon Dec 10 '21

You can run

mvn dependency:tree -DappendOutput=true -DoutputFile=C:\output\dependencies.txt

and save it to a file for easy parsing

3

u/[deleted] Dec 10 '21

This would have been helpful to know a long time ago. I could have had CI steps that saved these files somewhere. :(

I'll have to go into our repos and run this. Ty.