remove plexus-utils from production image due to CVE-2025-67030#428
Merged
remove plexus-utils from production image due to CVE-2025-67030#428
Conversation
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
artem-shelkovnikov
approved these changes
Apr 1, 2026
Member
What are these failures? |
Contributor
Author
|
@artem-shelkovnikov Sorry, I should have clarified. In order to test that this change doesn't break anything, I ran the full test suite inside the wolfi production image. Before and after the change, we had 4 sitemap related test failures. These failures only happen inside the production image. |
github-actions bot
pushed a commit
that referenced
this pull request
Apr 1, 2026
elastic/search-team#13576 plexus-utils-3.5.1.jar (CVE-2025-67030, directory traversal) is bundled inside ruby-maven-libs-3.9.9, which ships Apache Maven. Maven is only used at build time for JAR dependency resolution via jar-dependencies and is not needed at runtime. This PR removes ruby-maven and ruby-maven-libs gems from both Docker images after the build step, eliminating the vulnerable library from the production artifact. Verified locally: plexus-utils-3.5.1.jar is no longer present in the built image All default gems load successfully Test suite passes (4 pre-existing sitemap test failures unrelated to this change) Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Apmats
added a commit
that referenced
this pull request
Apr 1, 2026
…#428) (#429) Backports the following commits to 0.4: - remove plexus-utils from production image due to CVE-2025-67030 (#428) Co-authored-by: Apostolos Matsagkas <Apmats@users.noreply.github.com> Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
elastic/search-team#13576
plexus-utils-3.5.1.jar (CVE-2025-67030, directory traversal) is bundled inside ruby-maven-libs-3.9.9, which ships Apache Maven. Maven is only used at build time for JAR dependency resolution via jar-dependencies and is not needed at runtime.
This PR removes ruby-maven and ruby-maven-libs gems from both Docker images after the build step, eliminating the vulnerable library from the production artifact.
Verified locally:
plexus-utils-3.5.1.jar is no longer present in the built image
All default gems load successfully
Test suite passes (4 pre-existing sitemap test failures unrelated to this change)