SQL Injection Affecting org.hibernate:hibernate-core package, versions [,5.4.24.Final)


Severity

Recommended
0.0
high
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.53% (78th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about SQL Injection vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-JAVA-ORGHIBERNATE-1041788
  • published19 Nov 2020
  • disclosed19 Nov 2020
  • creditUnknown

Introduced: 19 Nov 2020

CVE-2020-25638  (opens in a new tab)
CWE-89  (opens in a new tab)

How to fix?

Upgrade org.hibernate:hibernate-core to version 5.4.24.Final or higher.

Overview

org.hibernate:hibernate-core is a library providing Object/Relational Mapping (ORM) support to applications, libraries, and frameworks.

Affected versions of this package are vulnerable to SQL Injection. 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.

CVSS Scores

version 3.1