The Vigil@nce team watches public vulnerabilities impacting your computers, and then offers security solutions, a vigilance database and tools to fix them.

Vulnerability of Hibernate ORM: SQL injection via Comments

Synthesis of the vulnerability 

An attacker can use a SQL injection via Comments of Hibernate ORM, in order to read or alter data.
Impacted software: Debian, Hibernate ORM, JBoss EAP by Red Hat, Red Hat SSO.
Severity of this computer vulnerability: 2/4.
Creation date: 19/11/2020.
Références of this announce: CVE-2020-25638, DLA-2512-1, RHSA-2020:5174-01, RHSA-2020:5175-01, RHSA-2020:5254-01, RHSA-2020:5340-01, RHSA-2020:5341-01, RHSA-2020:5342-01, RHSA-2020:5344-01, RHSA-2020:5526-01, RHSA-2020:5527-01, RHSA-2020:5528-01, RHSA-2020:5533-01, VIGILANCE-VUL-33940.

Description of the vulnerability 

An attacker can use a SQL injection via Comments of Hibernate ORM, in order to read or alter data.
Full bulletin, software filtering, emails, fixes, ... (Request your free trial)

This weakness impacts software or systems such as Debian, Hibernate ORM, JBoss EAP by Red Hat, Red Hat SSO.

Our Vigil@nce team determined that the severity of this vulnerability announce is medium.

The trust level is of type confirmed by the editor, with an origin of user account.

An attacker with a expert ability can exploit this threat bulletin.

Solutions for this threat 

Hibernate ORM: version 5.4.24.
The version 5.4.24 is fixed:
  https://hibernate.org/orm/releases/5.4/#get-it

Hibernate ORM: version 5.3.20.
The version 5.3.20 is fixed:
  https://hibernate.org/orm/releases/5.3/#get-it

Hibernate ORM: workaround for Comments.
A workaround is to set:
  hibernate.use_sql_comments=false

Debian 9: new libhibernate3-java packages.
New packages are available:
  Debian 9: libhibernate3-java 3.6.10.Final-6+deb9u1

Red Hat JBoss EAP: version 7.3.4.
The version 7.3.4 is fixed:
  https://access.redhat.com/jbossnetwork/restricted/listSoftware.html?product=appplatform&downloadType=securityPatches&version=7.3

Red Hat JBoss Enterprise Application Platform: patch for hibernate-core.
A patch is available:
  https://access.redhat.com/jbossnetwork/restricted/listSoftware.html?downloadType=securityPatches&product=appplatform&version=7.3

Red Hat Single Sign-On: patch for Hibernate.
A patch is available:
  https://access.redhat.com/security/cve/CVE-2020-25638

Red Hat Single Sign-On: version 7.4.4.
The version 7.4.4 is fixed:
  https://access.redhat.com/errata/RHSA-2020:5533
Full bulletin, software filtering, emails, fixes, ... (Request your free trial)

Computer vulnerabilities tracking service 

Vigil@nce provides a network vulnerability patch. The Vigil@nce team tracks computer vulnerabilities impacting systems and applications.