
Apache Log4J सुरक्षा कमजोरियों (Log4Shell सहित) को कम करने के लिए Log4J 2.17.1 अपडेट के साथ Pulsar Docker छवियों को पैच करें।
शामिल हैं CVE-2021-44228, CVE-2021-45046, CVE-2021-45105 CVE-2021-44832
अधिक जानकारी के लिए Log4J Security Vulnerabilities and upgrades देखें।
समाधान के लिए Dockerfile देखें
उदाहरण उपयोग:
# 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