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.
The product constructs all or part of an SQL command using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the intended SQL command when it is sent to a downstream component. Without sufficient removal or quoting of SQL syntax in user-controllable inputs, the generated SQL query can cause those inputs to be interpreted as SQL instead of ordinary user data.
Link | Tags |
---|---|
https://bugzilla.redhat.com/show_bug.cgi?id=1881353 | third party advisory issue tracking |
https://lists.debian.org/debian-lts-announce/2021/01/msg00000.html | third party advisory mailing list |
https://www.debian.org/security/2021/dsa-4908 | third party advisory vendor advisory |
https://www.oracle.com//security-alerts/cpujul2021.html | third party advisory patch |
https://lists.apache.org/thread.html/r833c1276e41334fa675848a08daf0c61f39009f9f9a400d9f7006d44%40%3Cdev.turbine.apache.org%3E | mailing list |
https://lists.apache.org/thread.html/rf2378209c676a28b71f9b604a3b3517c448540b85367160e558ef9df%40%3Ccommits.turbine.apache.org%3E | mailing list |
https://www.oracle.com/security-alerts/cpuapr2022.html | third party advisory patch |
https://www.oracle.com/security-alerts/cpujul2022.html | third party advisory patch |