
تصحيح صور Docker لـ Pulsar باستخدام تحديث Log4J 2.17.1 للتخفيف من ثغرات الأمان في Apache Log4J بما في ذلك Log4Shell
يغطي CVE-2021-44228 و CVE-2021-45046 و CVE-2021-45105 و CVE-2021-44832
راجع ثغرات Log4J الأمنية والترقيات لمزيد من المعلومات.
راجع Dockerfile للحل
مثال على الاستخدام:
# بناء الصورة ووضع علامة عليها
docker build --build-arg=ORIGINAL_IMAGE=apachepulsar/pulsar-all:2.8.1 . -t lhotari/pulsar-all:2.8.1-log4j-patched
# التحقق
docker run --rm -it lhotari/pulsar-all:2.8.1-log4j-patched bash -c 'ls /pulsar/lib' | grep log4j
# دفع الصورة
docker push lhotari/pulsar-all:2.8.1-log4j-patched