| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
Sorry, something went wrong.
This migrate to log4j 1.x fork, reload4j 1.2.18.0 which is drop-in replacement and addresses some immediate CVE and issues. Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
|
@rohityadavcloud a Jenkins job has been kicked to build packages. I'll keep you posted as I make progress. |
Sorry, something went wrong.
|
Tested locally, the build works - pl help review, advise on the PR cc @DaanHoogland @borisstoyanov @vladimirpetrov @sureshanaparti @nvazquez @weizhouapache @shwstppr @mlsorensen |
Sorry, something went wrong.
|
nice ! |
Sorry, something went wrong.
|
Packaging result: ✔️ el7 ✔️ el8 ✔️ debian ✔️ suse15. SL-JID 2396 |
Sorry, something went wrong.
There was a problem hiding this comment.
looks good
Sorry, something went wrong.
| <dependency> | ||
| <groupId>log4j</groupId> | ||
| <artifactId>log4j</artifactId> | ||
| <version>${cs.log4j.version}</version> |
There was a problem hiding this comment.
do we (still) need the version here?
Sorry, something went wrong.
There was a problem hiding this comment.
Not sure, did n't want to refactor/experiment; so I've left all build config as is just replaced log4j with reload4j.
Sorry, something went wrong.
| <dependency> | ||
| <groupId>log4j</groupId> | ||
| <artifactId>log4j</artifactId> | ||
| <version>${cs.log4j.version}</version> |
There was a problem hiding this comment.
do we (still) need the version here?
Sorry, something went wrong.
|
@rohityadavcloud a Trillian-Jenkins test job (centos7 mgmt + kvm-centos7) has been kicked to run smoke tests |
Sorry, something went wrong.
|
Trillian Build Failed (tid-3147) |
Sorry, something went wrong.
|
Trillian Build Failed (tid-3153) |
Sorry, something went wrong.
|
Trillian test result (tid-3146)
|
Sorry, something went wrong.
|
Trillian test result (tid-3148)
|
Sorry, something went wrong.
|
@rohityadavcloud - just looked at the dependency tree with this change. Do we need to move to slf4j 1.7.35? See https://www.slf4j.org/news.html
I'm also seeing esapi pulling in log4j 1.2.17, and contrail plugin pulling in log4j 1.2.16. |
Sorry, something went wrong.
Co-authored-by: Marcus Sorensen <mls@apple.com>
|
Thanks for the review @mlsorensen and the exclusion fix. I'll kick some tests. |
Sorry, something went wrong.
|
@rohityadavcloud a Jenkins job has been kicked to build packages. I'll keep you posted as I make progress. |
Sorry, something went wrong.
|
Packaging result: ✔️ el7 ✔️ el8 ✔️ debian ✔️ suse15. SL-JID 2466 |
Sorry, something went wrong.
|
@sureshanaparti a Trillian-Jenkins matrix job (centos7 mgmt + xs71, centos7 mgmt + vmware65, centos7 mgmt + kvmcentos7) has been kicked to run smoke tests |
Sorry, something went wrong.
|
Trillian test result (tid-3174)
|
Sorry, something went wrong.
|
Trillian test result (tid-3173)
|
Sorry, something went wrong.
|
Trillian test result (tid-3175)
|
Sorry, something went wrong.
|
cc @Pearl1594 are the k8s failures intermittent? |
Sorry, something went wrong.
|
@rohityadavcloud a Jenkins job has been kicked to build packages. I'll keep you posted as I make progress. |
Sorry, something went wrong.
|
Packaging result: ✔️ el7 ✔️ el8 ✔️ debian ✖️ suse15. SL-JID 2482 |
Sorry, something went wrong.
|
@blueorangutan test centos7 vmware-67u3 |
Sorry, something went wrong.
Based on the logs it seems to be due to : |
Sorry, something went wrong.
|
@Pearl1594 a Jenkins job has been kicked to build packages. I'll keep you posted as I make progress. |
Sorry, something went wrong.
|
Packaging result: ✔️ el7 ✔️ el8 ✔️ debian ✔️ suse15. SL-JID 2489 |
Sorry, something went wrong.
|
Trillian test result (tid-3207)
|
Sorry, something went wrong.
There was a problem hiding this comment.
LGTM, managed to build/deploy this and run it with RockyLinux8(CentOS8 eq), centos7, ubuntu20, centos7-ev. There were no exceptions related to logging in management and agent logs.
Sorry, something went wrong.
| Back | FazBrowse Home | New Git URL |
This migrate to log4j 1.x fork, reload4j 1.2.18.0 which is drop-in
replacement and addresses some immediate CVE and issues.
This will require some manual test of logging, as well as smoketests.
Fixes: (from https://reload4j.qos.ch/)
Standardize and sanitize the build - fixed in 1.2.18.0
CVE-2021-4104 (JMSAppender) - fixed in 1.2.18.0 by hardening
CVE-2022-23302 (JMSSink) - fixed in 1.2.18.1 by hardening
CVE-2019-17571 (SocketServer) - fixed in 1.2.18.0 by hardening
CVE-2020-9493 and CVE-2022-23307 (Chainsaw) - fixed in 1.2.18.1 by hardening
CVE-2022-23305 (JDBCAppender) - fixed in 1.2.18.2 by hardening the component.
broken MDC in newer JDKs - fixed in 1.2.18.0
XML entity injection attack - fixed in 1.2.18.3 by hardening
CVE-2020-9488 (SMTPAppender) fixed in 1.2.18.3 by hardening