Advisory Database
  • Advisories
  • Dependency Scanning
  1. maven
  2. ›
  3. org.hibernate/hibernate-core
  4. ›
  5. CVE-2020-25638

CVE-2020-25638: SQL Injection

December 2, 2020 (updated October 18, 2021)

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

  • bugzilla.redhat.com/show_bug.cgi?id=1881353
  • nvd.nist.gov/vuln/detail/CVE-2020-25638

Code Behaviors & Features

Detect and mitigate CVE-2020-25638 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 5.3.20, all versions starting from 5.4.0 before 5.4.24

Fixed versions

  • 5.3.20.Final
  • 5.4.24.Final

Solution

Upgrade to versions 5.3.20.Final, 5.4.24.Final or above.

Impact 7.4 HIGH

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

Learn more about CVSS

Weakness

  • CWE-89: Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')

Source file

maven/org.hibernate/hibernate-core/CVE-2020-25638.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:14:53 +0000.