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

[FEATURE] Upgrade druid version to > 1.2.4 #2679

Open
jmashalk opened this issue May 16, 2024 · 5 comments
Open

[FEATURE] Upgrade druid version to > 1.2.4 #2679

jmashalk opened this issue May 16, 2024 · 5 comments
Labels
enhancement New feature or request

Comments

@jmashalk
Copy link

Is your feature request related to a problem?
The version of druid used in legacy code path is outdated leading to certain issues with respect to security.

What solution would you like?
Druid version to be upgraded to >1.2.4

What alternatives have you considered?
Other alternatives are to override the version externally, however it is not compatible with some of the code in legacy path of sql plugin.

Do you have any additional context?
Additional context has been sent in an email to the security team of opensearch.

@jmashalk jmashalk added enhancement New feature or request untriaged labels May 16, 2024
@noCharger
Copy link
Collaborator

noCharger commented May 16, 2024

The version of druid used in legacy code path is outdated leading to certain issues with respect to security

@jmashalk, could you elaborate on the specific security issues? We are also very willing to review your PR if you'd like to contribute.

@jmashalk
Copy link
Author

jmashalk commented May 16, 2024 via email

@noCharger
Copy link
Collaborator

@jmashalk

This CVE has no impact on SQL plugin because the concerning code block is a seperate path which loading static sources for druid web stats feature. Also verified in current SQL plugin source code there's no usage of the class com.alibaba.druid.util.Utils https://github.com/search?q=repo%3Aopensearch-project%2Fsql+com.alibaba.druid.util.Utils&type=code.

Fix commit: alibaba/druid@b1e8264
Ref: alibaba/druid#5840 (comment)

@terryquigleysas
Copy link

I completely appreciate that the code is not vulnerable but an upgrade would be helpful as this is continually flagged up in customer security scans. This change would certainly help us and save our customers time.

@terryquigleysas
Copy link

terryquigleysas commented Oct 16, 2024

I completely appreciate that the code is not vulnerable but an upgrade would be helpful as this is continually flagged up in customer security scans. This change would certainly help us and save our customers time.

In the hope that the version bump for this library would be trivial I looked at updating to the first known version with the CVE fix that affects us from 1.0.15 -> 1.1.20.

I found that there were several classes that no longer exist in the newer version (so won't compile) and had no immediately obvious alternative (the same is still true for recent code. ). Both are several years old.

Considering that I also agree that there is no impact on this plugin from the cited CVE I couldn't justify the time it would take me to do the further research required and upgrade legacy functionality.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants