Bug 1881353 (CVE-2020-25638) - CVE-2020-25638 hibernate-core: SQL injection vulnerability when both hibernate.use_sql_comments and JPQL String literals are used
Summary: CVE-2020-25638 hibernate-core: SQL injection vulnerability when both hibernat...
Keywords:
Status: CLOSED ERRATA
Alias: CVE-2020-25638
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
high
high
Target Milestone: ---
Assignee: Red Hat Product Security
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks: 1877830
TreeView+ depends on / blocked
 
Reported: 2020-09-22 08:57 UTC by Ted (Jong Seok) Won
Modified: 2020-11-23 17:34 UTC (History)
102 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
A flaw was found in hibernate-core in versions prior to and including 5.4.23.Final. 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.
Clone Of:
Environment:
Last Closed: 2020-11-23 17:34:00 UTC


Attachments (Terms of Use)


Links
System ID Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2020:5174 None None None 2020-11-23 13:27:43 UTC
Red Hat Product Errata RHSA-2020:5175 None None None 2020-11-23 13:34:17 UTC

Description Ted (Jong Seok) Won 2020-09-22 08:57:38 UTC
A flaw was found in Hibernate ORM of all versions before and including 5.4.23.Final. 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 retrieve/update/delete unauthorized information if only the attacker already has the table names and column names.

Comment 5 Ted (Jong Seok) Won 2020-09-22 12:23:46 UTC
This vulnerability is out of security support scope for the following products:
 * Red Hat Enterprise Application Platform 6
 * Red Hat Enterprise Application Platform 5
 * Red Hat JBoss Operations Network 3
 * Red Hat JBoss BPMS 6
 * Red Hat JBoss BRMS 6
 * Red Hat JBoss BRMS 5
 * Red Hat JBoss Data Virtualization 6
 * Red Hat JBoss Fuse 6
 * Red Hat JBoss Fuse Service Works 6
 * Red Hat JBoss SOA Platform 5

Please refer to https://access.redhat.com/support/policy/updates/jboss_notes for more details.

Comment 31 errata-xmlrpc 2020-11-23 13:27:40 UTC
This issue has been addressed in the following products:

  EAP 7.3.3

Via RHSA-2020:5174 https://access.redhat.com/errata/RHSA-2020:5174

Comment 32 errata-xmlrpc 2020-11-23 13:34:13 UTC
This issue has been addressed in the following products:

  Red Hat JBoss Enterprise Application Platform 7.3 for RHEL 6
  Red Hat JBoss Enterprise Application Platform 7.3 for RHEL 7
  Red Hat JBoss Enterprise Application Platform 7.3 for RHEL 8

Via RHSA-2020:5175 https://access.redhat.com/errata/RHSA-2020:5175

Comment 33 Product Security DevOps Team 2020-11-23 17:34:00 UTC
This bug is now closed. Further updates for individual products will be reflected on the CVE page(s):

https://access.redhat.com/security/cve/cve-2020-25638


Note You need to log in before you can comment on or make changes to this bug.