GEODE-10543: Upgrade Log4j from 2.17.2 to 2.25.3 to remediate CVE-202… #7975
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
GEODE-10543: Upgrade Log4j from 2.17.2 to 2.25.3
Description
This PR upgrades Apache Log4j from version 2.17.2 to 2.25.3 to remediate security vulnerability CVE-2025-68161.
Changes Made
1. Dependency Version Update
log4j.versionfrom2.17.2to2.25.3inDependencyConstraints.groovylog4j-core-testto dependency management for test utilities2. Build Configuration
geode-log4j/build.gradle-Alog4j.graalvm.groupIdand-Alog4j.graalvm.artifactId3. Integration Test Migration
org.apache.logging.log4j.junit.LoggerContextRule→org.apache.logging.log4j.core.test.junit.LoggerContextRuleorg.apache.logging.log4j.test.appender.ListAppender→org.apache.logging.log4j.core.test.appender.ListAppender4. Documentation Updates
geode-docs/managing/logging/configuring_log4j2.html.md.erbgeode-docs/managing/logging/how_logging_works.html.md.erbgeode-docs/tools_modules/http_session_mgmt/weblogic_setting_up_the_module.html.md.erb5. Test Resources
geode-all-bom/expected-pom.xmlwith 5 log4j dependency versionsFiles Changed
Testing
Security Impact
Related Issues
For all changes, please confirm:
develop)?gradlew buildrun cleanly?