TPS-5082 (cumulative patch)
Info | Value |
---|---|
Patch Name | Patch_20220131_TPS-5082_v1 |
Release Date | 2022-01-31 |
Target Verson | 20220131_1-V8.0.1 |
Product affected | LogServer |
Introduction
This patch is cumulative. It includes all previous generally available patches for Talend LogServer 8.0.1.
NOTE: For information on how to obtain this patch, reach out to your Support contact at Talend.
Fixed issues
This patch contains the following fixes:
- TPS-5057: [8.0.1] Patch log4j CVE in LogServer
- TPS-5082: [8.0.1] Updated log4j to 2.17.1
Prerequisites
Consider the following requirements for your system:
- Talend LogServer 8.0.1 must be installed.
Installation
- Stop LogServer
- Create a backup directory
$ mkdir -p <backup_dir>
- Copy original
elasticsearch-*
andlogstash-*
folders to the backup directory$ cp -a <TALEND>/logserv/elasticsearch-* <backup_dir> $ cp -a <TALEND>/logserv/logstash-* <backup_dir>
- Remove vulnerable dependencies (for
logstash-plugin
please use.bat
version on Windows, it may print warnings which can be ignored, as long as in the end it reports that the plugin removed successfully)$ rm -rf <TALEND>/logserv/elasticsearch-*/lib/log4j*.jar $ rm -rf <TALEND>/logserv/logstash-*/logstash-core/lib/jars/log4j*.jar $ rm -rf <TALEND>/logserv/elasticsearch-*/bin/elasticsearch-sql-cli* $ cd <TALEND>/logserv/logstash-*/ $ bin/logstash-plugin remove logstash-input-graphite $ bin/logstash-plugin remove logstash-input-tcp $ rm -rf <TALEND>/logserv/logstash-*/vendor/bundle/jruby/2.5.0/gems/logstash-input-tcp-* $ rm -rf <TALEND>/logserv/logstash-*/vendor/bundle/jruby/2.5.0/gems/logstash-input-graphite-* $ rm -rf <TALEND>/logserv/logstash-*/vendor/bundle/jruby/2.5.0/specifications/logstash-input-tcp-* $ rm -rf <TALEND>/logserv/logstash-*/vendor/bundle/jruby/2.5.0/specifications/logstash-input-graphite-*
- Uzip the patch file in the root of LogServer
Note: if asked to override files please select yes/all
$ cd <TALEND>/logserv $ unzip Patch_20220131_TPS-5082_v1.zip
- Start LogServer
Uninstallation
- Stop LogServer
- Remove patched directories and files
$ rm -rf <TALEND>/logserv/elasticsearch-*/lib $ rm -rf <TALEND>/logserv/logstash-*/logstash-core/lib/jars
- Copy saved folders from the backup directory
$ cp -rf <backup_dir>/elasticsearch-*/lib <TALEND>/logserv/elasticsearch-*/lib $ cp -rf <backup_dir>/logserv/logstash-*/logstash-core/lib/jars <TALEND>/logserv/logstash-*/logstash-core/lib/jars
- Start LogServer
Affected files for this patch
The following files are installed by this patch:
- log4j-api.jar
- log4j-core.jar
- log4j-slf4j-impl.jar