CVE-2014-3558 Improper Authentication in Hibernate Validator

Medium 5.0 Published Updated

Attackers can bypass Java Security Manager restrictions to execute restricted reflection calls in Hibernate Validator, potentially leading to code execution.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Not stated
Victim action needed
Not needed
Fix
Available

What is CVE-2014-3558?

CVE-2014-3558 is a medium-severity vulnerability in n/a, published on 30 Sep 2014.

Official description

ReflectionHelper (org.hibernate.validator.util.ReflectionHelper) in Hibernate Validator 4.1.0 before 4.2.1, 4.3.x before 4.3.2, and 5.x before 5.1.2 allows attackers to bypass Java Security Manager (JSM) restrictions and execute restricted reflection calls via a crafted application.

Weakness: CWE-264

Which versions are affected by CVE-2014-3558?

6 open source packages ship an affected version, including org.hibernate:hibernate-validator. It affects 1 product.

PackageAffectedFixed in
org.hibernate:hibernate-validator MavenFrom 4.1.04.2.1
org.hibernate:hibernate-validator MavenFrom 4.1.04.2.1
org.hibernate:hibernate-validator MavenFrom 4.3.04.3.2
org.hibernate:hibernate-validator MavenFrom 4.3.04.3.2
org.hibernate:hibernate-validator MavenFrom 5.0.05.1.2
org.hibernate:hibernate-validator MavenFrom 5.0.05.1.2
Linux distribution packages (34)
glassfish-jaxb-eap6 Red Hat:jboss_enterprise_application_platform:6::el5All versions0:2.2.5-22.redhat_9.1.ep6.el5
glassfish-jsf-eap6 Red Hat:jboss_enterprise_application_platform:6::el5All versions0:2.1.28-5.redhat_6.1.ep6.el5
hibernate4-core-eap6 Red Hat:jboss_enterprise_application_platform:6::el5All versions0:4.2.14-8.SP3_redhat_1.1.ep6.el5
hibernate4-eap6 Red Hat:jboss_enterprise_application_platform:6::el5All versions0:4.2.14-8.SP3_redhat_1.1.ep6.el5
hibernate4-entitymanager-eap6 Red Hat:jboss_enterprise_application_platform:6::el5All versions0:4.2.14-8.SP3_redhat_1.1.ep6.el5
hibernate4-envers-eap6 Red Hat:jboss_enterprise_application_platform:6::el5All versions0:4.2.14-8.SP3_redhat_1.1.ep6.el5
hibernate4-infinispan-eap6 Red Hat:jboss_enterprise_application_platform:6::el5All versions0:4.2.14-8.SP3_redhat_1.1.ep6.el5
hibernate4-validator Red Hat:jboss_enterprise_application_platform:6::el5All versions0:4.3.2-1.Final_redhat_1.2.ep6.el5
hornetq Red Hat:jboss_enterprise_application_platform:6::el5All versions0:2.3.21-1.Final_redhat_1.1.ep6.el5
httpclient-eap6 Red Hat:jboss_enterprise_application_platform:6::el5All versions0:4.2.6-4.redhat_3.1.ep6.el5
httpcomponents-client-eap6 Red Hat:jboss_enterprise_application_platform:6::el5All versions0:4.2.6-4.redhat_3.1.ep6.el5
httpcomponents-core-eap6 Red Hat:jboss_enterprise_application_platform:6::el5All versions0:4.2.5-4.redhat_3.1.ep6.el5
httpcomponents-eap6 Red Hat:jboss_enterprise_application_platform:6::el5All versions0:7-4.redhat_3.1.ep6.el5
httpcomponents-project-eap6 Red Hat:jboss_enterprise_application_platform:6::el5All versions0:7-4.redhat_3.1.ep6.el5
httpcore-eap6 Red Hat:jboss_enterprise_application_platform:6::el5All versions0:4.2.5-4.redhat_3.1.ep6.el5
httpmime-eap6 Red Hat:jboss_enterprise_application_platform:6::el5All versions0:4.2.6-4.redhat_3.1.ep6.el5
ironjacamar-common-api-eap6 Red Hat:jboss_enterprise_application_platform:6::el5All versions0:1.0.27-1.Final_redhat_1.1.ep6.el5
ironjacamar-common-impl-eap6 Red Hat:jboss_enterprise_application_platform:6::el5All versions0:1.0.27-1.Final_redhat_1.1.ep6.el5
ironjacamar-common-spi-eap6 Red Hat:jboss_enterprise_application_platform:6::el5All versions0:1.0.27-1.Final_redhat_1.1.ep6.el5
ironjacamar-core-api-eap6 Red Hat:jboss_enterprise_application_platform:6::el5All versions0:1.0.27-1.Final_redhat_1.1.ep6.el5
ironjacamar-core-impl-eap6 Red Hat:jboss_enterprise_application_platform:6::el5All versions0:1.0.27-1.Final_redhat_1.1.ep6.el5
ironjacamar-deployers-common-eap6 Red Hat:jboss_enterprise_application_platform:6::el5All versions0:1.0.27-1.Final_redhat_1.1.ep6.el5
ironjacamar-eap6 Red Hat:jboss_enterprise_application_platform:6::el5All versions0:1.0.27-1.Final_redhat_1.1.ep6.el5
ironjacamar-jdbc-eap6 Red Hat:jboss_enterprise_application_platform:6::el5All versions0:1.0.27-1.Final_redhat_1.1.ep6.el5
ironjacamar-spec-api-eap6 Red Hat:jboss_enterprise_application_platform:6::el5All versions0:1.0.27-1.Final_redhat_1.1.ep6.el5
ironjacamar-validator-eap6 Red Hat:jboss_enterprise_application_platform:6::el5All versions0:1.0.27-1.Final_redhat_1.1.ep6.el5
jboss-annotations-api_1.1_spec Red Hat:jboss_enterprise_application_platform:6::el5All versions0:1.0.1-4.Final_redhat_2.2.ep6.el5
jboss-as-appclient Red Hat:jboss_enterprise_application_platform:6::el5All versions0:7.4.1-2.Final_redhat_3.1.ep6.el5
jboss-as-cli Red Hat:jboss_enterprise_application_platform:6::el5All versions0:7.4.1-2.Final_redhat_3.1.ep6.el5
jboss-as-client-all Red Hat:jboss_enterprise_application_platform:6::el5All versions0:7.4.1-2.Final_redhat_3.1.ep6.el5
jboss-as-clustering Red Hat:jboss_enterprise_application_platform:6::el5All versions0:7.4.1-2.Final_redhat_3.1.ep6.el5
jboss-as-cmp Red Hat:jboss_enterprise_application_platform:6::el5All versions0:7.4.1-2.Final_redhat_3.1.ep6.el5
jboss-as-configadmin Red Hat:jboss_enterprise_application_platform:6::el5All versions0:7.4.1-2.Final_redhat_3.1.ep6.el5
jboss-as-connector Red Hat:jboss_enterprise_application_platform:6::el5All versions0:7.4.1-2.Final_redhat_3.1.ep6.el5

Products include Redhat Hibernate Validator.

How do I fix CVE-2014-3558?

Upgrade org.hibernate:hibernate-validator to a fixed version for your release line: 4.2.1, 4.3.2 or 5.1.2.

Is CVE-2014-3558 being exploited?

There is no known exploitation of CVE-2014-3558 in the wild and no public exploit code.

Sources

Also known as DEBIAN-CVE-2014-3558, GHSA-845h-985r-jrqh, RHSA-2014:1285, RHSA-2014:1286, RHSA-2014:1287.

Is CVE-2014-3558 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free