oscerd opened a new pull request, #24198:
URL: https://github.com/apache/camel/pull/24198

   Backport of #24195 to `camel-4.14.x`.
   
   `camel-jackson-avro`'s and `camel-jackson-protobuf`'s 
`createNewObjectMapper()` now build their default `AvroMapper` / 
`ProtobufMapper` with `MapperFeature.BLOCK_UNSAFE_POLYMORPHIC_BASE_TYPES` 
enabled, mirroring the hardening applied to `camel-jackson` (CAMEL-23786) and 
`camel-jacksonxml` (CAMEL-23787) and to their respective `transform/` mappers. 
Defense-in-depth against gadget-chain deserialization; ordinary 
marshalling/unmarshalling is unchanged. Opt out via the `objectMapper` option.
   
   Code + test only — the upgrade-guide entry lives on `main` (per the 
docs-on-main policy).
   
   ---
   _AI-generated by Claude Code on behalf of Andrea Cosentino._


-- 
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]

Reply via email to