geyanggang opened a new issue, #11053: URL: https://github.com/apache/gravitino/issues/11053
### What would you like to be improved? The project currently uses Log4j 2.24.3. The Log4j 2.25.x series includes fixes for log injection via CRLF sequences in Rfc5424Layout, malformed XML output in Log4j1XmlLayout, malformed XML in XmlLayout with StAX, and invalid JSON output in JsonTemplateLayout for non-finite floating-point values. While Gravitino only uses PatternLayout and is not directly affected by these issues, upgrading to the latest patch release (2.25.4) keeps the dependency current and eliminates potential concerns from security scanners. ### How should we improve? Upgrade `log4j` version from `2.24.3` to `2.25.4` in `gradle/libs.versions.toml`. Log4j 2.25.4 is a patch release on the 2.25.x line (released 2026-03-28). Gravitino uses only standard PatternLayout with common date patterns, so the 2.25.0 behavioral changes (date formatting switch to DateTimeFormatter, exception converter defaults) do not impact the project. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
