Skip to content

Conversation

@sust4in
Copy link
Owner

@sust4in sust4in commented Jul 23, 2024

This PR was generated by CodeThreat utilizing authenticated user credentials.

Issue Description

A flaw was found in hibernate-core in versions prior to and including 5.4.23.Final. A SQL injection in the implementation of the JPA Criteria API can permit unsanitized literals when a literal is used in the SQL comments of the query. This flaw could allow an attacker to access unauthorized information or possibly conduct further attacks. The highest threat from this vulnerability is to data confidentiality and integrity.

Changes included in this PR

  • Modifications to the following files to address the vulnerabilities with updated dependencies:
    • pom.xml

Security Issues Addressed

Through Dependency Upgrades:

Issue Upgrade Severity
hibernate-core: SQL injection vulnerability when both hibernate.use_sql_comments and JPQL String literals are used org.hibernate:hibernate-core: 3.6.10.Final -> 5.4.24.Final HIGH

Review the modifications in this PR to confirm they do not introduce any issues to your project.

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.

2 participants