关联漏洞
描述
Patch Pulsar Docker images with Log4J 2.17.1 update to mitigate Apache Log4J Security Vulnerabilities including Log4Shell
介绍
# Patch pulsar images with Apache Log4J 2.17.1 upgrade
Covers [CVE-2021-44228](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-44228), [CVE-2021-45046](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-45046), [CVE-2021-45105](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-45105) [CVE-2021-44832](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-44832)
See [Log4J Security Vulnerabilities and upgrades](https://logging.apache.org/log4j/2.x/security.html) for more information.
see the [Dockerfile](Dockerfile) for the solution
## Building and pushing patched docker images
example usage:
```
# 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
```
文件快照
[4.0K] /data/pocs/8874fc838dabdd51286a34b3f34752cba7963152
├── [ 640] Dockerfile
├── [4.0K] lib
│ ├── [203K] org.apache.logging.log4j-log4j-1.2-api-2.17.1.jar
│ ├── [295K] org.apache.logging.log4j-log4j-api-2.17.1.jar
│ ├── [1.7M] org.apache.logging.log4j-log4j-core-2.17.1.jar
│ ├── [ 24K] org.apache.logging.log4j-log4j-slf4j-impl-2.17.1.jar
│ └── [ 35K] org.apache.logging.log4j-log4j-web-2.17.1.jar
├── [ 11K] LICENSE
└── [ 939] README.md
1 directory, 8 files
备注
1. 建议优先通过来源进行访问。
2. 如果因为来源失效或无法访问,请发送邮箱到 f.jinxu#gmail.com 索取本地快照(把 # 换成 @)。
3. 神龙已为您对POC代码进行快照,为了长期维护,请考虑为本地POC付费,感谢您的支持。