[Aikido] Fix critical issue in hibernate-core via major version upgrade from 3.6.10 to 5.1.17#1
Open
aikido-autofix[bot] wants to merge 1 commit intomasterfrom
Conversation
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.
$TASK_REF
Upgrade Hibernate Core to mitigate critical XXE vulnerability enabling potential remote code execution and XML external entity attacks.
✅ Code not affected by breaking changes.
No breaking changes from the dom4j upgrade affect this codebase directly. The codebase does not contain any direct imports or usage of dom4j classes - it's only used internally by Hibernate 3.6.10.Final as a transitive dependency.
While the changelog mentions that dom4j 2.0.0 requires Java 5+ (previously supported earlier versions), this project already targets Java 8, so this requirement is satisfied.
Note: Although this analysis shows low risk for direct code impact, upgrading dom4j independently from Hibernate could potentially cause runtime issues with Hibernate's internal XML parsing. It's recommended to test thoroughly or consider upgrading Hibernate to a version that officially supports dom4j 2.x.
✅ 1 CVE resolved by this upgrade, including 1 critical 🚨 CVE
This PR will resolve the following CVEs: