CVE-2014-3490: Resteasy client Incorrect Privilege Assignment Vulnerability

HIGH
Advisory Identifier: GHSA-qjpq-5pq3-43rr
CWE-266
Published
Advisory Summary

CVE-2014-3490 is a HIGH incorrect privilege assignment vulnerability (CWE-266: Incorrect Privilege Assignment) affecting Resteasy client libraries in the Maven ecosystem. The issue involves incorrect privilege assignment in resteasy. Remediation is available by upgrading affected packages to version 2.3.8.SP2, 3.0.9.Final.

CVE-2014-3490 at a Glance

CVE Identifier CVE-2014-3490
GHSA Identifier GHSA-qjpq-5pq3-43rr
Severity HIGH
CVSS v3.1 Base Score N/A
CWE Classification CWE-266: Incorrect Privilege Assignment
Affected Product Resteasy client
Package Ecosystem Maven
Published Date
Last Updated

How to Fix CVE-2014-3490

To remediate this vulnerability, upgrade all affected Resteasy client dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.

org.jboss.resteasy:resteasy-client fixed: 2.3.8.SP2
<dependency>
    <groupId>org.jboss.resteasy</groupId>
    <artifactId>resteasy-client</artifactId>
    <version>2.3.8.SP2</version>
</dependency>
org.jboss.resteasy:resteasy-client fixed: 3.0.9.Final
<dependency>
    <groupId>org.jboss.resteasy</groupId>
    <artifactId>resteasy-client</artifactId>
    <version>3.0.9.Final</version>
</dependency>
Verify Direct and Transitive Dependencies

Run the following command in your project directory to verify that all resolved dependencies use the patched release:

mvn dependency:tree -Dincludes=org.jboss.resteasy

How to Check if You Are Affected

To determine whether your Java application is affected by CVE-2014-3490, inspect your build dependencies using the Maven Dependency Plugin:

mvn dependency:tree -Dincludes=org.jboss.resteasy

Analyze the terminal output to locate any version of Resteasy client in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 2.3.8.SP2), your application is affected.

Note: The mvn dependency:tree -Dincludes=org.jboss.resteasy command inspects the resolved dependency graph declared in your project's POM files; it does not perform automated security scanning or inspect runtime dynamic classpaths. Always verify runtime container classpaths and shaded JARs.

Technical Details

Vulnerability Mechanism & Technical Analysis

This vulnerability is classified under CWE-266: Incorrect Privilege Assignment, where a product incorrectly assigns a privilege to a particular actor, creating an unintended sphere of control for that actor. In Resteasy client, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.

Source Advisory Statement

RESTEasy 2.3.1 before 2.3.8.SP2 and 3.x before 3.0.9, as used in Red Hat JBoss Enterprise Application Platform (EAP) 6.3.0, does not disable external entities when the resteasy.document.expand.entity.references parameter is set to false, which allows remote attackers to read arbitrary files and have other unspecified impact via unspecified vectors, related to an XML External Entity (XXE) issue. NOTE: this vulnerability exists because of an incomplete fix for CVE-2012-0818.

CVE-2014-3490 Affected Resteasy client Versions

2 component(s)
Fixed Versions:
2.3.8.SP23.0.9.Final
Product / Package Ecosystem Affected Versions Fixed Version
org.jboss.resteasy:resteasy-client
Maven
≥ 2.3.1
< 2.3.8.SP2
2.3.8.SP2
org.jboss.resteasy:resteasy-client
Maven
≥ 3.0.0
< 3.0.9.Final
3.0.9.Final

References

Frequently Asked Questions

What is CVE-2014-3490?
CVE-2014-3490 is a security vulnerability in Resteasy client involving Incorrect Privilege Assignment in RESTEasy under CWE-266: Incorrect Privilege Assignment.
Which Resteasy client versions are affected?
Affected versions include releases prior to 2.3.8.SP2, 3.0.9.Final across affected packages: org.jboss.resteasy:resteasy-client.
What version fixes CVE-2014-3490?
Upgrading to 2.3.8.SP2, 3.0.9.Final (or the latest patched release for your respective branch) resolves the vulnerability.
Is resteasy-client affected?
Yes, org.jboss.resteasy:resteasy-client is affected in releases prior to 2.3.8.SP2, 3.0.9.Final. Upgrade your dependency to 2.3.8.SP2, 3.0.9.Final or later.
What CWE is associated with CVE-2014-3490?
CVE-2014-3490 is classified under CWE-266: Incorrect Privilege Assignment (A product incorrectly assigns a privilege to a particular actor, creating an unintended sphere of control for that actor.).
How can I check Maven dependencies for CVE-2014-3490?
Run the dependency tree command: 'mvn dependency:tree -Dincludes=org.jboss.resteasy'. This command lists direct and transitive dependencies in your build configuration so you can verify if a vulnerable version is resolved.
Machine-readable OSV JSON OSV v1.5 Schema
Normalized schema output
{
  "schema_version" : "1.4.0",
  "id" : "GHSA-qjpq-5pq3-43rr",
  "modified" : "2022-07-07T22:43:07Z",
  "published" : "2022-05-14T01:18:38Z",
  "aliases" : [ "CVE-2014-3490" ],
  "summary" : "Incorrect Privilege Assignment in RESTEasy",
  "details" : "RESTEasy 2.3.1 before 2.3.8.SP2 and 3.x before 3.0.9, as used in Red Hat JBoss Enterprise Application Platform (EAP) 6.3.0, does not disable external entities when the resteasy.document.expand.entity.references parameter is set to false, which allows remote attackers to read arbitrary files and have other unspecified impact via unspecified vectors, related to an XML External Entity (XXE) issue.  NOTE: this vulnerability exists because of an incomplete fix for CVE-2012-0818.",
  "severity" : [ ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "Maven",
      "name" : "org.jboss.resteasy:resteasy-client"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "2.3.1"
      }, {
        "fixed" : "2.3.8.SP2"
      } ]
    } ],
    "database_specific" : {
      "last_known_affected_version_range" : "<= 2.3.8.SP1"
    }
  }, {
    "package" : {
      "ecosystem" : "Maven",
      "name" : "org.jboss.resteasy:resteasy-client"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "3.0.0"
      }, {
        "fixed" : "3.0.9.Final"
      } ]
    } ],
    "database_specific" : {
      "last_known_affected_version_range" : "<= 3.0.8.Final"
    }
  } ],
  "references" : [ {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2014-3490"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/resteasy/Resteasy/pull/521"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/resteasy/Resteasy/pull/533"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/ronsigal/Resteasy/commit/9b7d0f574cafdcf3bea5428f3145ab4908fc6d83"
  }, {
    "type" : "WEB",
    "url" : "http://rhn.redhat.com/errata/RHSA-2014-1011.html"
  }, {
    "type" : "WEB",
    "url" : "http://rhn.redhat.com/errata/RHSA-2014-1039.html"
  }, {
    "type" : "WEB",
    "url" : "http://rhn.redhat.com/errata/RHSA-2014-1040.html"
  }, {
    "type" : "WEB",
    "url" : "http://rhn.redhat.com/errata/RHSA-2014-1298.html"
  }, {
    "type" : "WEB",
    "url" : "http://rhn.redhat.com/errata/RHSA-2015-0125.html"
  }, {
    "type" : "WEB",
    "url" : "http://rhn.redhat.com/errata/RHSA-2015-0675.html"
  }, {
    "type" : "WEB",
    "url" : "http://rhn.redhat.com/errata/RHSA-2015-0720.html"
  }, {
    "type" : "WEB",
    "url" : "http://rhn.redhat.com/errata/RHSA-2015-0765.html"
  }, {
    "type" : "WEB",
    "url" : "http://www.oracle.com/technetwork/security-advisory/cpuoct2018-4428296.html"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-266" ],
    "severity" : "HIGH",
    "github_reviewed" : true,
    "github_reviewed_at" : "2022-07-07T22:43:07Z",
    "nvd_published_at" : "2014-08-19T18:55:00Z"
  }
}