You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pulsar.apache.org by "wirror800 (via GitHub)" <gi...@apache.org> on 2026/05/22 07:52:07 UTC

[I] [Sec] log4j: Improper serialization of non-finite floating-point values in JsonTemplateLayout #CVE-2026-34481 [pulsar]

wirror800 opened a new issue, #25853:
URL: https://github.com/apache/pulsar/issues/25853

   ### Search before reporting
   
   - [x] I searched in the [issues](https://github.com/apache/pulsar/issues) and found nothing similar.
   
   
   ### Read release policy
   
   - [x] I understand that [unsupported versions](https://pulsar.apache.org/contribute/release-policy/#supported-versions) don't get bug fixes. I will attempt to reproduce the issue on a supported version of Pulsar client and Pulsar broker.
   
   
   ### User environment
   
   Broker version: 4.2.1
   
   ### Issue Description
   
   Apache Log4j’s [JsonTemplateLayout](https://logging.apache.org/log4j/2.x/manual/json-template-layout.html), in versions up to and including 2.25.3, produces invalid JSON output when log events contain non-finite floating-point values (NaN, Infinity, or -Infinity), which are prohibited by RFC 8259. This may cause downstream log processing systems to reject or fail to index affected records.
   
   An attacker can exploit this issue only if both of the following conditions are met:
   
   The application uses JsonTemplateLayout.
   
   The application logs a MapMessage containing an attacker-controlled floating-point value.
   
   Remediation
   Users are advised to upgrade to Apache Log4j JSON Template Layout version 2.25.4, which corrects this issue.
   
   ### Error messages
   
   ```text
   
   ```
   
   ### Reproducing the issue
   
   upgrade to Apache Log4j JSON Template Layout version 2.25.4
   
   ### Additional information
   
   _No response_
   
   ### Are you willing to submit a PR?
   
   - [ ] I'm willing to submit a PR!


-- 
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: commits-unsubscribe@pulsar.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] [Sec] log4j: Improper serialization of non-finite floating-point values in JsonTemplateLayout #CVE-2026-34481 [pulsar]

Posted by "lhotari (via GitHub)" <gi...@apache.org>.
lhotari closed issue #25853: [Sec] log4j: Improper serialization of non-finite floating-point values in JsonTemplateLayout #CVE-2026-34481
URL: https://github.com/apache/pulsar/issues/25853


-- 
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: commits-unsubscribe@pulsar.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] [Sec] log4j: Improper serialization of non-finite floating-point values in JsonTemplateLayout #CVE-2026-34481 [pulsar]

Posted by "lhotari (via GitHub)" <gi...@apache.org>.
lhotari commented on issue #25853:
URL: https://github.com/apache/pulsar/issues/25853#issuecomment-4518160323

   already addressed by #25521, #25530, #25531. 4.0.11 & 4.2.2 releases will include the fix. ETA first week of June. 


-- 
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: commits-unsubscribe@pulsar.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org