{
  "@id": "urn:uuid:297be599-c616-4e5c-bcbd-2b2499ad8b42",
  "role": "Document Creator",
  "author": "https://tuxcare.com",
  "version": 4,
  "@context": "https://openvex.dev/ns/v0.2.0",
  "timestamp": "2026-11-03T12:05:17.011429+00:00",
  "statements": [
    {
      "status": "not_affected",
      "products": [
        {
          "@id": "pkg:maven/org.hibernate/hibernate-core@5.4.31.Final-tuxcare.2",
          "identifiers": {
            "purl": "pkg:maven/org.hibernate/hibernate-core@5.4.31.Final-tuxcare.2"
          }
        }
      ],
      "timestamp": "2026-10-31T22:12:52.821247+00:00",
      "status_notes": "Vulnerability CVE-2019-14900 does not affect version 5.4.31.Final-tuxcare.2 of org.hibernate:hibernate-core. not_affected \u2014 The target version 5.4.31.Final contains the upstream fix for CVE-2019-14900. The vulnerability allowed SQL injection through unsanitized literal values in JPA Criteria API SELECT/GROUP BY clauses. The fix (commit e0e22ea256c1906235d6a8e90b79c4ce33d0861f) modifies LiteralExpression.renderProjection() to escape special characters via dialect.inlineLiteral(), preventing SQL syntax injection. This...",
      "justification": "vulnerable_code_not_present",
      "vulnerability": {
        "name": "CVE-2019-14900"
      },
      "impact_statement": "not_affected \u2014 The target version 5.4.31.Final contains the upstream fix for CVE-2019-14900. The vulnerability allowed SQL injection through unsanitized literal values in JPA Criteria API SELECT/GROUP BY clauses. The fix (commit e0e22ea256c1906235d6a8e90b79c4ce33d0861f) modifies LiteralExpression.renderProjection() to escape special characters via dialect.inlineLiteral(), preventing SQL syntax injection. This..."
    },
    {
      "status": "not_affected",
      "products": [
        {
          "@id": "pkg:maven/org.hibernate/hibernate-core@5.4.31.Final-tuxcare.2",
          "identifiers": {
            "purl": "pkg:maven/org.hibernate/hibernate-core@5.4.31.Final-tuxcare.2"
          }
        }
      ],
      "timestamp": "2026-11-03T12:05:17.011429+00:00",
      "status_notes": "Vulnerability CVE-2020-25638 does not affect version 5.4.31.Final-tuxcare.2 of org.hibernate:hibernate-core. CVE-2020-25638 is not present in hibernate-orm 5.4.31.Final-tuxcare.7. The vulnerability (SQL injection via unescaped comment delimiters in JPA Criteria API) was fixed in upstream Hibernate commit 36ebf7d383 (authored by andrea@hibernate.org on 2020-09-29), which shipped in the upstream 5.4.31.Final release. TuxCare onboarded this already-patched version. The escapeComment() defense method exists in Dialect.java (lines 3099-3105) and escapes both /* and */ delimiters. All 9 SQL builder classes (Delete, Insert, InsertSelect, QuerySelect, Select, SimpleSelect, Update, SelectStatementBuilder, and Dialect.prependComment) properly invoke Dialect.escapeComment() before embedding user-controlled strings in SQL comments.\n\nAdvisory cross-check (dlmn): outside the affected ranges of GitHub (>= 5.4.0.Final, < 5.4.24.Final; < 5.3.20.Final), NVD (< 5.3.20; >= 5.4.0, < 5.4.24), cve.org (< 5.4.24.Final), Snyk (< 5.4.24.Final).",
      "justification": "vulnerable_code_not_present",
      "vulnerability": {
        "name": "CVE-2020-25638"
      },
      "impact_statement": "CVE-2020-25638 is not present in hibernate-orm 5.4.31.Final-tuxcare.7. The vulnerability (SQL injection via unescaped comment delimiters in JPA Criteria API) was fixed in upstream Hibernate commit 36ebf7d383 (authored by andrea@hibernate.org on 2020-09-29), which shipped in the upstream 5.4.31.Final release. TuxCare onboarded this already-patched version. The escapeComment() defense method exists in Dialect.java (lines 3099-3105) and escapes both /* and */ delimiters. All 9 SQL builder classes (Delete, Insert, InsertSelect, QuerySelect, Select, SimpleSelect, Update, SelectStatementBuilder, and Dialect.prependComment) properly invoke Dialect.escapeComment() before embedding user-controlled strings in SQL comments.\n\nAdvisory cross-check (dlmn): outside the affected ranges of GitHub (>= 5.4.0.Final, < 5.4.24.Final; < 5.3.20.Final), NVD (< 5.3.20; >= 5.4.0, < 5.4.24), cve.org (< 5.4.24.Final), Snyk (< 5.4.24.Final)."
    },
    {
      "status": "fixed",
      "products": [
        {
          "@id": "pkg:maven/org.hibernate/hibernate-core@5.4.31.Final-tuxcare.2",
          "identifiers": {
            "purl": "pkg:maven/org.hibernate/hibernate-core@5.4.31.Final-tuxcare.2"
          }
        }
      ],
      "timestamp": "2026-09-24T09:31:26.931840+00:00",
      "status_notes": "Vulnerability CVE-2026-0603 is fixed in version 5.4.31.Final-tuxcare.2 of org.hibernate:hibernate-core.",
      "vulnerability": {
        "name": "CVE-2026-0603"
      }
    }
  ]
}
