CVE-2019-10219: The SafeHtml annotation in Hibernate-Validator does not properly guard against XSS attacks

CVE-2019-10219 · Severity: low · CVSS 3 · Published 2020-01-08

The SafeHtml annotation in Hibernate-Validator does not properly guard against XSS attacks

Technologies: org.hibernate:hibernate-validator (Maven), org.hibernate.validator:hibernate-validator (Maven). Vendors: Maven.

Quick answers

Is CVE-2019-10219 exploited in the wild?
No. Junglewise Threat Intelligence has no report of CVE-2019-10219 being exploited in the wild.
How severe is CVE-2019-10219?
Low severity, with a CVSS score of 3, published 8 January 2020.
Which products and versions are affected?
org.hibernate:hibernate-validator (Maven) ECOSYSTEM:introduced=6.1.0.Alpha1,fixed=6.1.0.Alpha6; org.hibernate.validator:hibernate-validator (Maven) ECOSYSTEM:introduced=6.1.0.Alpha1,fixed=6.1.0.Alpha6.
Is there a fix for CVE-2019-10219?
Yes. org.hibernate:hibernate-validator (Maven): upgrade to 6.1.0.Alpha6 or later; org.hibernate.validator:hibernate-validator (Maven): upgrade to 6.1.0.Alpha6 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.
Am I affected by CVE-2019-10219?
Check whether you run org.hibernate:hibernate-validator (Maven) or org.hibernate.validator:hibernate-validator (Maven) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

How to fix

  • org.hibernate:hibernate-validator (Maven): upgrade to 6.1.0.Alpha6 or later
    # set org.hibernate:hibernate-validator to 6.1.0.Alpha6 in your pom.xml or build.gradle
  • org.hibernate.validator:hibernate-validator (Maven): upgrade to 6.1.0.Alpha6 or later
    # set org.hibernate.validator:hibernate-validator to 6.1.0.Alpha6 in your pom.xml or build.gradle

Affected products

  • org.hibernate:hibernate-validator (Maven) ECOSYSTEM:introduced=6.1.0.Alpha1,fixed=6.1.0.Alpha6
  • org.hibernate.validator:hibernate-validator (Maven) ECOSYSTEM:introduced=6.1.0.Alpha1,fixed=6.1.0.Alpha6

Identifiers

  • CVE-2019-10219
  • GHSA-m8p2-495h-ccmh

This page as Markdown. Free to reuse under CC BY 4.0 with a link back.