VDB
Sign up
HIGH8.3

GHSA-2p5w-cvg5-gc5c

Hibernate vulnerable to SQL Injection

Quick fix

GHSA-2p5w-cvg5-gc5c — org.hibernate:hibernate-core: upgrade to the fixed version with the command below.

# pom.xml: bump <version>5.3.38</version> for org.hibernate:hibernate-core

Details

A flaw was found in Hibernate. A remote attacker with low privileges could exploit a second-order SQL injection vulnerability by providing specially crafted, unsanitized non-alphanumeric characters in the ID column when the InlineIdsOrClauseBuilder is used. This could lead to sensitive information disclosure, such as reading system files, and allow for data manipulation or deletion within the application's database, resulting in an application level denial of service.

Are you affected?

Enter the version of the package you're using.

Affected packages

Maven/org.hibernate:hibernate-core
Introduced in: 5.2.8Fixed in: 5.3.38
Fix# pom.xml: bump <version>5.3.38</version> for org.hibernate:hibernate-core

References