
Patchen Sie Pulsar Docker-Images mit dem Log4J 2.17.1-Update, um die Apache Log4J-Sicherheitslücken einschließlich Log4Shell zu entschärfen.
Deckt CVE-2021-44228, CVE-2021-45046, CVE-2021-45105 CVE-2021-44832 ab.
Siehe Log4J Security Vulnerabilities and upgrades für weitere Informationen.
Siehe das Dockerfile für die Lösung.
Beispielverwendung:
# build and tag image
docker build --build-arg=ORIGINAL_IMAGE=apachepulsar/pulsar-all:2.8.1 . -t lhotari/pulsar-all:2.8.1-log4j-patched
# verify
docker run --rm -it lhotari/pulsar-all:2.8.1-log4j-patched bash -c 'ls /pulsar/lib' | grep log4j
# push image
docker push lhotari/pulsar-all:2.8.1-log4j-patched