Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump Jackson from 2.14.2 to 2.15.0+ in OpenSearch 1.3.x #16014

Open
ssu2-atl opened this issue Sep 20, 2024 · 3 comments
Open

Bump Jackson from 2.14.2 to 2.15.0+ in OpenSearch 1.3.x #16014

ssu2-atl opened this issue Sep 20, 2024 · 3 comments
Labels
bug Something isn't working Libraries Lucene Upgrades and Libraries, Any 3rd party library that Core depends on, ex: nebula; team is respo

Comments

@ssu2-atl
Copy link

ssu2-atl commented Sep 20, 2024

Describe the bug

1.3.x is currently using Jackson 2.14.2. Jackson 2.14.2 is affected by https://security.snyk.io/vuln/SNYK-JAVA-COMFASTERXMLJACKSONCORE-7569538.
Bumping to 2.15.0+ would help with addressing issues raised by security scanners that consider OpenSearch 1.3.x as affected.

Related component

Libraries

To Reproduce

Check Jackson version on the latest 1.3 branch.

Expected behavior

1.3.x is using Jackson 2.15.0+

Additional Details

Additional context
#7286 (which bumps Jackson to 2.15.0) has been merged to future releases

Questions

Is OpenSearch 1.3.x affected by this VULN (https://security.snyk.io/vuln/SNYK-JAVA-COMFASTERXMLJACKSONCORE-7569538)?

@ssu2-atl ssu2-atl added bug Something isn't working untriaged labels Sep 20, 2024
@github-actions github-actions bot added the Libraries Lucene Upgrades and Libraries, Any 3rd party library that Core depends on, ex: nebula; team is respo label Sep 20, 2024
ssu2-atl pushed a commit to ssu2-atl/OpenSearch that referenced this issue Sep 20, 2024
@ssu2-atl
Copy link
Author

Tried backporting the PR but experienced issues with gradle, as Jackson 2.15 is a multi-release jar and the gradle version (6.6.1 on OS 1.3) doesn't handle that
#16032 (comment)

@ssu2-atl
Copy link
Author

Tried backporting the PR but experienced issues with gradle, as Jackson 2.15 is a multi-release jar and the gradle version (6.6.1 on OS 1.3) doesn't handle that #16032 (comment)

Gradle 7.6.4 handles multi-release jars, however #1657 (comment) notes that:

As per discussion opensearch-project/opensearch-build#1247, the decision was taken to keep 1.x on Gradle 6.x in order to not disrupt the plugin developers.

@peternied
Copy link
Member

@ssu2-atl Thanks for creating this - we are looking into this issue

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working Libraries Lucene Upgrades and Libraries, Any 3rd party library that Core depends on, ex: nebula; team is respo
Projects
None yet
Development

No branches or pull requests

2 participants