[
https://issues.apache.org/jira/browse/OAK-12541?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18146002#comment-18146002
]
Rishabh Daim commented on OAK-12541:
------------------------------------
[~fortino] [~reschke]
* *Remove (recommended):* Oak explicitly uses Jackson 2; Elasticsearch's
Jackson 3 adapters are unused. Exclude both {{tools.jackson.core}} artifacts
and generated {{tools.jackson.*}} OSGi imports. *Pros:* smaller bundle, no
unused Jackson 3 to patch. *Cons:* Jackson 3 adapters become unusable; revisit
on Elasticsearch upgrades.
* *Upgrade:* pin Jackson 3 core/databind to {{3.1.8}}, addressing the
identified advisories while retaining upstream adapters. *Pros:* preserves
compatibility; no import suppression. *Cons:* retains unused libraries and
future patching work.
Both approaches passed locally on Java 17: Elasticsearch 593 tests (17
skipped), plus 17 OSGi integration tests; no failures/errors.
> Address unused Jackson 3 dependencies in oak-search-elastic
> -----------------------------------------------------------
>
> Key: OAK-12541
> URL: https://issues.apache.org/jira/browse/OAK-12541
> Project: Jackrabbit Oak
> Issue Type: Improvement
> Reporter: Rishabh Daim
> Assignee: Rishabh Daim
> Priority: Major
>
> Elasticsearch 9.5.6 brings vulnerable Jackson 3.1.0 libraries into
> oak-search-elastic, although Oak uses Jackson 2. Remove the unused
> dependencies or upgrade them to a patched version.
--
This message was sent by Atlassian Jira
(v10.3.26#10030026)