WE HAVE SUNSET THIS LISTSERV - Join us at collectionspace@lyrasislists.org
View all threadsHi All,
If you're running CollectionSpace 6.0 or above, patches are now available to upgrade log4j to 2.17.0, in order to mitigate continuing log4j vulnerabilities.
If you have your own fork of the CollectionSpace serviceshttps://github.com/collectionspace/services code, first pull the upstream release branch (v6.0-branchhttps://github.com/collectionspace/services/tree/v6.0-branch, v6.1-branchhttps://github.com/collectionspace/services/tree/v6.1-branch, or v7.0-branchhttps://github.com/collectionspace/services/tree/v7.0-branch) into your fork.
To upgrade:
Stop the CollectionSpace server.
In your services source code directory (typically /opt/collectionspace/services or /home/cspace/collectionspace-source/services), pull the latest code for your release branch. Perform these steps as the user that builds and runs CollectionSpace, typically collectionspace.
sudo su - collectionspace
cd /opt/collectionspace/services
git pull
Build the services source code.
mvn clean install -DskipTests
Redeploy the services web application.
ant undeploy deploy
To verify that log4j has been upgraded, check the jar files that exist in the tomcat lib directory:
cd $CSPACE_JEESERVER_HOME/lib
ls log4j*.jar
All of the listed filenames should end with -2.17.0.jar.
Start the CollectionSpace server.
Reply to the talk list if you have any questions or run into any problems.
Thanks,
Ray