Hello all,
Here's an important security message from the Wikibase development team.
We are aware of the vulnerability in log4j announced on December 9, 2021: CVE-2021-44228 [1] aka log4shell [2]. In our Wikibase Docker install, the only piece of software affected by this vulnerability is the version of Elasticsearch we currently use, 6.5.4. This is an older version of Elasticsearch. For now, users of the wikibase-release-pipeline Docker images should circumvent this vulnerability by disabling log4j lookups.
To circumvent the vulnerability, you can add the following Java option to the ES_JAVA_OPTS variable specified in your docker-compose(-extra).yml file and restart your Docker images:
-Dlog4j2.formatMsgNoLookups=true
This patch is also available on our github mirror [3].
Going forward we will carefully vet any new software or new versions of existing software to ensure the log4shell vulnerability is not present.
Feel free to respond here or on our questions page [4] with any questions or concerns. Thanks for your attention. This announcement is also available as a web page here [5].
Best regards, Léa Lacroix
[1] https://www.cve.org/CVERecord?id=CVE-2021-44228
[2] https://en.wikipedia.org/wiki/Log4Shell
[3] https://github.com/wmde/wikibase-release-pipeline/commit/6b1342e94b1d75df103...
[4] https://www.mediawiki.org/wiki/Talk:Wikibase/FAQ?dtenable=1
[5] https://www.mediawiki.org/wiki/Wikibase/Announcements/2021-12-14