Build Of QuarkusApplication · Redhat

CVE-2019-14900

MEDIUM · 6.5 CVSS v3.1 Published 2020-07-06
Fix available
A fix is available. Upgrade to 7.8.0 or later.
See remediation →
71/100
Remediation priority · Elevated
Remotely reachable Zero-click

Official description Straight from the sourceThe vendor's or NVD's own wording, published unedited. Authoritative, but often terse — it says what broke, rarely what to do.

NVD · unedited
A flaw was found in Hibernate ORM in versions before 5.3.18, 5.4.18 and 5.5.0.Beta1. A SQL injection in the implementation of the JPA Criteria API can permit unsanitized literals when a literal is used in the SELECT or GROUP BY parts of the query. This flaw could allow an attacker to access unauthorized information or possibly conduct further attacks.

Technical summary Written by usOur analysis, written from the advisory, the CVSS vector and the affected-version data. It adds context the advisory leaves out, and never invents facts that are not in the source.

dbcve analysis · high confidence

SQL injection vulnerability in Hibernate ORM's JPA Criteria API implementation. When literals are used in SELECT or GROUP BY parts of queries without proper sanitization, an attacker can inject malicious SQL to access unauthorized data or conduct further attacks. Affects versions before 5.3.18, 5.4.18, and 5.5.0.Beta1.

MitigationUpgrade Hibernate ORM to version 5.3.18, 5.4.18, or later. Additionally, review all JPA Criteria API queries that use literals in SELECT or GROUP BY clauses to ensure no unsanitized input is passed.

Verify against the referenced sources before acting — the references below are authoritative for this CVE, this summary is not.

Affected products & versions What the vendor confirmedThe version ranges the vendor confirmed as vulnerable. If your version sits inside a range here, treat yourself as exposed until you have upgraded.

NVD · CPE data
Build Of QuarkusApplication
Affected:all versions
Decision ManagerApplication
Affected:= 7.0
FuseApplication
Affected:< 7.8.0
Jboss Data GridApplication
Affected:= 7.0.0
Jboss Enterprise Application PlatformApplication
Affected:all versions= 7.3= 7.4= 7.2
Jboss Middleware Text Only AdvisoriesApplication
Affected:all versions
OpenstackApplication
Affected:= 10= 13= 14
Single Sign OnApplication
Affected:all versions

CVSS breakdown How the score is builtThe industry scoring standard. It rates how the flaw is reached, what it takes to exploit, and what an attacker gains — the score is derived from those, not the other way round.

From the vector
Attack vector
Network
Complexity
Low
Privileges
Low
User interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
None
Availability
None

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

Am I affected? How to checkSteps we derive from the advisory and the affected-version data, so you can decide whether this CVE reaches your setup. They are a guide, not a scan — your own configuration is the authority.

dbcve checks

Work through these to decide whether this CVE applies to you.

  1. Identify Hibernate ORM library presence
    Search for hibernate-core JAR files or Maven/Gradle dependencies containing 'hibernate' in your application dependencies
    Affected if Hibernate ORM is present in the application
  2. Determine Hibernate ORM version
    Check the hibernate-core version in your dependency management (pom.xml, build.gradle, or the JAR manifest)
    Affected if Version is before 5.3.18, before 5.4.18, or before 5.5.0.Beta1 (any version < 5.5.0.Beta1 that is not 5.3.18 or 5.4.18)
  3. Identify JPA Criteria API usage in SELECT clauses
    Search codebase for code using CriteriaQuery.select(), CriteriaBuilder.construct(), or explicit SELECT statements in Criteria queries
    Affected if Code uses Criteria API to select fields with literal values
  4. Identify JPA Criteria API usage in GROUP BY clauses
    Search codebase for code using CriteriaQuery.groupBy() with literal values in the grouping expression
    Affected if Code uses Criteria API with GROUP BY containing literal values
  5. Check for unsanitized input in Criteria queries
    Review all CriteriaQuery implementations that include literals or string concatenation in SELECT or GROUP BY, verify if user-controlled parameters are directly interpolated without parameterization
    Affected if Literals in SELECT or GROUP BY are constructed from untrusted input without sanitization

Your environment is affected if you run any Hibernate ORM version below 5.3.18, 5.4.18, or 5.5.0.Beta1 AND your application uses JPA Criteria API with literal values in SELECT or GROUP BY clauses derived from user input.

Generated from the published advisory. Verify against your own configuration.

Check your environment

Paste your version and any relevant configuration and it will be compared against the affected criteria above. Do not include secrets or credentials.

AI-assisted, checked against the advisory. Informational, not a guarantee.

Remediation Closing itWhat it takes to close this. Where a vendor fix exists we point at it; where none exists we say so plainly, and can build one. Effort estimates are scoped from the advisory, not from your codebase.

From vendor data
Upgrade available Upgrade to 7.8.0 or later
Fixed in 7.8.0
Interim mitigation

Upgrade Hibernate ORM to version 5.3.18, 5.4.18, or later. Additionally, review all JPA Criteria API queries that use literals in SELECT or GROUP BY clauses to ensure no unsanitized input is passed.

Fix this in Build Of Quarkus Scoped from the published advisory
  • Consultation6.0 h
  • Implementation12.0 h
  • Testing16.0 h
  • Review / QA6.0 h
40.0 hours of engineering $6,840
Get the upgrade done

An estimate, not a bill — we confirm scope with you before any work starts. Need it this week? Rush from $10,944.

Scan for this in your stack

Free · runs locally
dbcve dependency scanner

Check whether your project pulls in CVE-2019-14900 — or any other known-vulnerable package — straight from your lock files. Free and open source; it runs locally and uploads nothing.

References Go to the primary sourcePrimary sources — vendor advisories, patches and trackers. Where our summary and a reference disagree, the reference wins.

Primary sources

Practitioner notes

Contributed

Peer-ranked notes from engineers who’ve handled CVE-2019-14900 in production — separate from our analysis above.

No notes yet

Be the first to add a field note for this CVE — a mitigation you’ve verified, a version caveat, or a link to a working fix. Sign in above to contribute.

What this is

A place for practitioners to share what actually worked: a mitigation you’ve tested, a configuration change, a version- or environment-specific caveat, or a link to a verified patch. The most useful notes rise to the top as peers upvote them, so the signal stays high.

What belongs here
  • Verified mitigations, workarounds, and config changes
  • Version or environment caveats, and links to real fixes
  • No weaponised exploit code, or anything meant to cause harm
  • No spam, self-promotion, credentials, or personal data