CVE-2020-25638

high

Description

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.

References

https://bugzilla.redhat.com/show_bug.cgi?id=1881353

https://lists.debian.org/debian-lts-announce/2021/01/msg00000.html

https://www.debian.org/security/2021/dsa-4908

https://www.oracle.com//security-alerts/cpujul2021.html

https://lists.apache.org/thread.html/[email protected]%3Cdev.turbine.apache.org%3E

https://lists.apache.org/thread.html/[email protected]%3Ccommits.turbine.apache.org%3E

https://www.oracle.com/security-alerts/cpuapr2022.html

Details

Source: MITRE

Published: 2020-12-02

Updated: 2022-05-10

Type: CWE-89

Risk Information

CVSS v2

Base Score: 5.8

Vector: AV:N/AC:M/Au:N/C:P/I:P/A:N

Impact Score: 4.9

Exploitability Score: 8.6

Severity: MEDIUM

CVSS v3

Base Score: 7.4

Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N

Impact Score: 5.2

Exploitability Score: 2.2

Severity: HIGH