VDB
Sign up
HIGH8.3

GHSA-2p5w-cvg5-gc5c

Hibernate vulnerable to SQL Injection

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.8

No fixed version published yet for org.hibernate:hibernate-core (maven). Pin to a known-safe version or switch to an alternative.

References