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

Update plexus-archiver and poi dependency #6362

Merged
merged 1 commit into from
Jan 10, 2025

Conversation

BartChris
Copy link
Collaborator

@BartChris BartChris commented Jan 6, 2025

While working on #6174 i encountered the problem that the currently installed versions of plexus-archiver and apache-poi require different versions of Apache commons-compress. (https://commons.apache.org/proper/commons-compress/)
Via plexus-archiver a older version (1.23.0) of commons-compress is installed as transitive dependency which seems to be incompatible with the installed version of apache poi. The incompatibility only manifests itself when generating modern generation Excel files, which seem to rely on commons-compress.

In addition to that there are vulnerabilities for the installed version (1.23.0) of commons-compress (https://mvnrepository.com/artifact/org.apache.commons/commons-compress)

To adress both the incompatbility as well as the security issues, this PR updates apache-poi and plexus-archiver to their latest version. This brings commons-compress to version 1.26.2. I have not yet discovered any issues by doing so. PDF and Excel file generation are still working.

@solth solth requested a review from stweil January 10, 2025 09:00
Copy link
Member

@stweil stweil left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for this update to the latest releases.

@solth solth merged commit d6ef0f0 into kitodo:main Jan 10, 2025
5 checks passed
@BartChris BartChris deleted the update_common_compress branch January 10, 2025 11:47
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

Successfully merging this pull request may close these issues.

3 participants