SQL Injection in libhibernate3-java

libhibernate3-java Updated 02 Oct 2025

Summary

03/01/2021
N/A
Yes i
Unrated
Not published

DLA-2512-1: libhibernate3-java - security update. Affects libhibernate3-java versions < 3.6.10.Final-6+deb9u1. Fixed in 3.6.10.Final-6+deb9u1. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored Devnack Mobile apps built by Devnack Design, build and launch iOS and Android apps with a senior product team. From idea to store release Start a project

Background

libhibernate3-java is a Java library that provides object-relational mapping (ORM) capabilities for Hibernate, a popular framework for mapping an object-oriented domain model to a relational database. It allows developers to interact with databases using Java objects and provides a powerful query language called Hibernate Query Language (HQL). However, a vulnerability has been discovered in the implementation of the JPA Criteria API in hibernate-core, which can lead to SQL injection.

Vulnerability Detail

The vulnerability in libhibernate3-java arises from a lack of sanitization of literals used in the SQL comments of a query when using the JPA Criteria API. An attacker can exploit this flaw to inject malicious SQL code, potentially gaining unauthorized access to sensitive information or launching further attacks. This vulnerability affects version 3.6.10.Final-6+deb9u1 of libhibernate3-java.

How To Fix

Minimum fixed version

3.6.10.Final-6+deb9u1

This is the first release that contains the fix.

sudo apt-get install --only-upgrade libhibernate3-java

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Workaround

There is no known workaround for this vulnerability. It is essential to apply the security update mentioned in the 'how_to_fix' section to mitigate the risk.

Conclusion

The SQL injection vulnerability in libhibernate3-java can lead to unauthorized access to sensitive information and potential further attacks. It is crucial to update the libhibernate3-java package to version 3.6.10.Final-6+deb9u1 or later to address this issue. For further support on vulnerability remediation, please contact DevNack.com.

See every vulnerability recorded for libhibernate3-java →

Share this vulnerability

FAQ

libhibernate3-java is a Java library that provides object-relational mapping (ORM) capabilities for Hibernate, allowing developers to interact with databases using Java objects.

The JPA Criteria API is a query API for Java Persistence API (JPA) that allows developers to build type-safe queries programmatically.

SQL injection is a code injection technique where an attacker inserts malicious SQL statements into an application's database query, potentially gaining unauthorized access to data or manipulating the database.

This vulnerability can allow an attacker to access unauthorized information, modify data, or perform other malicious actions on the affected system.

Yes, a fix is available in version 3.6.10.Final-6+deb9u1 of libhibernate3-java. It is recommended to update to this version or later to mitigate the vulnerability.

Related vulnerabilities

Recent vulnerabilities recorded for libhibernate3-java.

How To Fix

Minimum fixed version

3.6.10.Final-6+deb9u1

This is the first release that contains the fix.

sudo apt-get install --only-upgrade libhibernate3-java

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback