2021-0001: Apache log4j library security advisory
Due to the most recent and past security vulnerabilities of the Apache log4j library, we have unbundled the library from all the installation packages of ePublisher.
While the most recent security vulnerability:
CVE-2021-45046
is not actually present in the version of Apache tools installed by ePublisher, there was enough ambiguity and even a past security vulnerability:
CVE-2019-17571
to warrant removing this library. Also, it was not being used by any part of the ePublisher conversion system, so removing it was just a precaution.
Note:
For information on
log4j
see:
https://logging.apache.org/log4j/2.x/
Security ID(s)
CVE-2021-45046,
CVE-2019-17571
Details
In all versions of ePublisher prior to 2021.1.4107, we included an Apache library called
log4j
.
While this library is
NOT
used by default by any part of ePublisher or its generation process, it has been removed from ePublisher 2021.1.4107 and later versions as a precaution.
By removing this library in entirety it can no longer be a security vulnerability.
Workaround for prior versions of ePublisher
ePublisher 2021.1.4096 and earlier still include the Apache
log4j
library.
You can manually remove it from these versions by following the instructions below.
Note:
By default both
Apache Ant
and
Apache FOP
do not use
log4j
, so removing/replacing the following jar files is only a precaution.
Steps
Remove the following files from your ePublisher installation directory:
[Program Files]/WebWorks/ePublisher/[Version]Helpers/apache-ant/lib/ant-apache-log4j.jar
[Program Files]/WebWorks/ePublisher/[Version]Helpers/apache-ant-1.8/lib/ant-apache-log4j.jar
[Program Files]/WebWorks/ePublisher/[Version]Helpers/apache-ant-1.9/lib/ant-apache-log4j.jar
Download the archive
epublisher-commons-logging-1.0.4.zip
which contains these instructions and an updated
commons-logging-1.0.4.jar
file.
epublisher-commons-logging-1.0.4.zip
Replace the
commons-logging-1.0.4.jar
at the following locations:
[Program Files]/WebWorks/ePublisher/[Version]/Helpers/apache-fop/lib/
[Program Files]/WebWorks/ePublisher/[Version]/Helpers/apache-fop-1.0/lib/
[Program Files]/WebWorks/ePublisher/[Version]/Helpers/apache-fop-1.1/lib/
[Program Files]/WebWorks/ePublisher/[Version]/Helpers/apache-fop-2.0/lib/
[Program Files]/WebWorks/ePublisher/[Version]/Helpers/apache-fop-2.6/lib/
This site works best with JavaScript enabled