You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by "oscerd (via GitHub)" <gi...@apache.org> on 2026/06/23 10:02:37 UTC

[PR] CAMEL-23803: block unsafe polymorphic base types by default in camel-jackson-avro and camel-jackson-protobuf (backport to 4.18.x) [camel]

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

   Backport of #24195 to `camel-4.18.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: commits-unsubscribe@camel.apache.org

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


Re: [PR] CAMEL-23803: block unsafe polymorphic base types by default in camel-jackson-avro and camel-jackson-protobuf (backport to 4.18.x) [camel]

Posted by "oscerd (via GitHub)" <gi...@apache.org>.
oscerd merged PR #24197:
URL: https://github.com/apache/camel/pull/24197


-- 
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@camel.apache.org

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