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

Upgrade Solr version for ckan-solr9 to solve security vulnerabilities #11

Closed
drentawc opened this issue Oct 28, 2024 · 4 comments
Closed

Comments

@drentawc
Copy link

I was wondering if the ckan-solr:2.10-solr9 docker image could be updated to use the newest Apache Solr version (9.7.0) to solve two active security vulnerability found here: https://nvd.nist.gov/vuln/detail/CVE-2024-45216 & https://nvd.nist.gov/vuln/detail/CVE-2024-45217.

Apache Solr has upgraded their own base docker image (latest, slim, and 9) to use this new version rather than the 9.5.0 version that the ckan-solr9 is using.

@drentawc
Copy link
Author

drentawc commented Dec 2, 2024

@amercader I was able to clone this repo, and use the Makefile to build a new version of the ckan-solr image locally. Since solr has updated their solr-9 image to properly use 9.7.0, this solves the vulnerability issue I was facing. I tried pushing this image change to the docker hub so that other users could use the newer solr version but I did not have the correct docker hub permissions. Would you be able to push this newer docker image to the ckan-solr docker hub? Thank you in advance

@amercader
Copy link
Member

@drentawc Sorry I missed this, absolutely, we'll update the images and push new versions asap.

@drentawc
Copy link
Author

drentawc commented Dec 4, 2024

No worries at all, thank you for updating those images for me!

@amercader
Copy link
Member

Images are updated now to Solr 9.7. There are now tags available that include the Solr minor version:

    ckan/ckan-solr:2.11-solr9.7
    ckan/ckan-solr:2.11-solr9.7-spatial
    ckan/ckan-solr:2.10-solr9.7
    ckan/ckan-solr:2.10-solr9.7-spatial

If for some reason someone still needs the previous Solr version (9.5) there are also tags for it:

    ckan/ckan-solr:2.11-solr9.5
    ckan/ckan-solr:2.11-solr9.5-spatial
    ckan/ckan-solr:2.10-solr9.5
    ckan/ckan-solr:2.10-solr9.5-spatial

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

No branches or pull requests

3 participants
@amercader @drentawc and others