Skip to content

[Snyk] Upgrade org.apache.logging.log4j:log4j-core from 2.3.1 to 2.25.4#4

Open
papicella wants to merge 1 commit into
masterfrom
snyk-upgrade-b9a91e07a4a78e80a79af0cb35a00697
Open

[Snyk] Upgrade org.apache.logging.log4j:log4j-core from 2.3.1 to 2.25.4#4
papicella wants to merge 1 commit into
masterfrom
snyk-upgrade-b9a91e07a4a78e80a79af0cb35a00697

Conversation

@papicella
Copy link
Copy Markdown
Owner

snyk-top-banner

Snyk has created this PR to upgrade org.apache.logging.log4j:log4j-core from 2.3.1 to 2.25.4.

ℹ️ Keep your dependencies up-to-date. This makes it easier to fix existing vulnerabilities and to more quickly identify and fix newly disclosed vulnerabilities when they affect your project.


  • The recommended version is 51 versions ahead of your current version.

  • The recommended version was released a month ago.

Issues fixed by the recommended upgrade:

Issue Score Exploit Maturity
high severity Improper Encoding or Escaping of Output
SNYK-JAVA-ORGAPACHELOGGINGLOG4J-15967769
300 No Known Exploit
medium severity Improper Validation of Certificate with Host Mismatch
SNYK-JAVA-ORGAPACHELOGGINGLOG4J-14532782
300 No Known Exploit
medium severity Arbitrary Code Execution
SNYK-JAVA-ORGAPACHELOGGINGLOG4J-2327339
300 Proof of Concept
critical severity Deserialization of Untrusted Data
SNYK-JAVA-ORGAPACHELOGGINGLOG4J-31409
300 Mature
low severity Man-in-the-Middle (MitM)
SNYK-JAVA-ORGAPACHELOGGINGLOG4J-567761
300 No Known Exploit

Breaking Change Risk

Merge Risk: High

Notice: This assessment is enhanced by AI.


Important

  • Check the changes in this PR to ensure they won't cause issues with your project.
  • This PR was automatically created by Snyk using the credentials of a real user.
  • Max score is 1000. Note that the real score may have changed since the PR was raised.

Note: You are seeing this because you or someone else with access to this repository has authorized Snyk to open upgrade PRs.

For more information:

Snyk has created this PR to upgrade org.apache.logging.log4j:log4j-core from 2.3.1 to 2.25.4.

See this package in maven:
org.apache.logging.log4j:log4j-core

See this project in Snyk:
https://app.snyk.io/org/pas.apicella-41p/project/a6786958-c6a5-4bc8-818b-640ed31d5217?utm_source=github&utm_medium=referral&page=upgrade-pr
@papicella
Copy link
Copy Markdown
Owner Author

Merge Risk: High

This is a major version upgrade across a very wide range of releases, introducing significant breaking changes.

Key Breaking Changes:

  • Java Version Requirement: The target version 2.25.4 requires Java 8 or later. The starting version 2.3.1 only required Java 6. [1, 2, 8] Your application environment must be using at least Java 8.
  • Removed Modules: As of version 2.25.0, several modules are no longer part of the main release and must be managed separately. This includes log4j-flume-ng, log4j-kubernetes, and log4j-mongodb3. [7] If you use the MongoDB v3 appender, you must migrate to log4j-mongodb4 or the latest log4j-mongodb artifact. [7]
  • Configuration Properties: Starting with version 2.24.0, the naming convention for configuration properties was standardized, and old, unofficial property names are no longer supported. [7] You must review your Log4j configuration files for any non-standard property names.
  • Security Hardening & Behavioral Changes: In response to major security vulnerabilities, versions from 2.17.x onwards introduced significant behavioral changes. JNDI lookups are now disabled by default, and scripting features must be explicitly enabled via a system property. [4]

Recommendation: Before merging, verify that your project is running on Java 8 or newer. Carefully review your Log4j configuration (log4j2.xml, log4j2.properties, etc.) to ensure compatibility with the new property naming conventions and check for usage of any removed modules like log4j-mongodb3.

Notice 🤖: This content was augmented using artificial intelligence. AI-generated content may contain errors and should be reviewed for accuracy before use.

@papicella
Copy link
Copy Markdown
Owner Author

papicella commented May 9, 2026

Snyk checks have passed. No issues have been found so far.

Status Scan Engine Critical High Medium Low Total (0)
Open Source Security 0 0 0 0 0 issues
Licenses 0 0 0 0 0 issues
Code Security 0 0 0 0 0 issues

💻 Catch issues earlier using the plugins for VS Code, JetBrains IDEs, Visual Studio, and Eclipse.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants