Vulnerabilities in pkg:maven/org.picketlink/picketlink-common

PACKAGE
Advisory Identifier: GHSA-2c9q-qwrc-f486
Advisory Summary

CVE-2014-3530 is a HIGH picketlink-common vulnerability (CWE-611: Improper Restriction of XML External Entity Reference) affecting Picketlink common libraries in the Maven ecosystem. The issue involves picketlink-common. Remediation is available by upgrading affected packages to version 2.7.0.Final.

1 Known Advisory Record(s)
Package Vulnerability Intelligence

pkg:maven/org.picketlink/picketlink-common

1 Known Advisory Record(s)

Vulnerability advisories affecting package pkg:maven/org.picketlink/picketlink-common. Select an advisory below to view technical details or fixes.

Advisory ID CVE / NVD Severity Summary
GHSA-2c9q-qwrc-f486 CVE-2014-3530 HIGH XML External Entity Reference in org.picketlink:picketlink-common

CVE-2014-3530 at a Glance

CVE Identifier CVE-2014-3530
GHSA Identifier GHSA-2c9q-qwrc-f486
Severity HIGH
CVSS v3.1 Base Score N/A
CWE Classification CWE-611: Improper Restriction of XML External Entity Reference
Affected Product Picketlink common
Package Ecosystem Maven
Published Date
Last Updated

How to Fix CVE-2014-3530

To remediate this vulnerability, upgrade all affected Picketlink common 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.picketlink:picketlink-common fixed: 2.7.0.Final
<dependency>
    <groupId>org.picketlink</groupId>
    <artifactId>picketlink-common</artifactId>
    <version>2.7.0.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.picketlink

How to Check if You Are Affected

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

mvn dependency:tree -Dincludes=org.picketlink

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

Note: The mvn dependency:tree -Dincludes=org.picketlink 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-611: Improper Restriction of XML External Entity Reference, where the product processes an xml document that can contain xml entities with uris that resolve to documents outside of the intended sphere of control, causing the product to embed incorrect documents into its output. In Picketlink common, 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

The org.picketlink.common.util.DocumentUtil.getDocumentBuilderFactory method in PicketLink, as used in Red Hat JBoss Enterprise Application Platform (JBEAP) 5.2.0 and 6.2.4, expands entity references, which allows remote attackers to read arbitrary code and possibly have other unspecified impact via unspecified vectors, related to an XML External Entity (XXE) issue.

CVE-2014-3530 Affected Picketlink common Versions

1 component(s)
Fixed Versions:
2.7.0.Final
Product / Package Ecosystem Affected Versions Fixed Version
org.picketlink:picketlink-common
Maven
< 2.7.0.Final
2.7.0.Final

References

NVD — CVE-2014-3530 NVD
https://nvd.nist.gov/vuln/detail/CVE-2014-3530
Security Fix Commit FIX COMMIT
https://github.com/picketlink/picketlink/commit/8c78668e4f08cf3c4ed14d8a36d402dcf02cb057
bugzilla.redhat.com/bugzilla/show_bug.c... WEB
https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=1112987
exchange.xforce.ibmcloud.com/vulnerabilities/947... WEB
https://exchange.xforce.ibmcloud.com/vulnerabilities/94700
Picketlink common Source Repository REPOSITORY
https://github.com/picketlink/picketlink
issues.jboss.org/browse/plink-509 WEB
https://issues.jboss.org/browse/PLINK-509
rhn.redhat.com/errata/rhsa-2014-08... WEB
http://rhn.redhat.com/errata/RHSA-2014-0883.html
rhn.redhat.com/errata/rhsa-2014-08... WEB
http://rhn.redhat.com/errata/RHSA-2014-0884.html
rhn.redhat.com/errata/rhsa-2014-08... WEB
http://rhn.redhat.com/errata/RHSA-2014-0885.html
rhn.redhat.com/errata/rhsa-2014-08... WEB
http://rhn.redhat.com/errata/RHSA-2014-0886.html
rhn.redhat.com/errata/rhsa-2015-00... WEB
http://rhn.redhat.com/errata/RHSA-2015-0091.html
rhn.redhat.com/errata/rhsa-2015-06... WEB
http://rhn.redhat.com/errata/RHSA-2015-0675.html
rhn.redhat.com/errata/rhsa-2015-07... WEB
http://rhn.redhat.com/errata/RHSA-2015-0720.html
rhn.redhat.com/errata/rhsa-2015-07... WEB
http://rhn.redhat.com/errata/RHSA-2015-0765.html
rhn.redhat.com/errata/rhsa-2015-18... WEB
http://rhn.redhat.com/errata/RHSA-2015-1888.html
secunia.com/advisories/60047 WEB
http://secunia.com/advisories/60047
secunia.com/advisories/60124 WEB
http://secunia.com/advisories/60124
Picketlink common Security Information SECURITY
http://www.securitytracker.com/id/1030607

Frequently Asked Questions

What is CVE-2014-3530?
CVE-2014-3530 is a security vulnerability in Picketlink common involving picketlink-common under CWE-611: Improper Restriction of XML External Entity Reference.
Which Picketlink common versions are affected?
Affected versions include releases prior to 2.7.0.Final across affected packages: org.picketlink:picketlink-common.
What version fixes CVE-2014-3530?
Upgrading to 2.7.0.Final (or the latest patched release for your respective branch) resolves the vulnerability.
Is picketlink-common affected?
Yes, org.picketlink:picketlink-common is affected in releases prior to 2.7.0.Final. Upgrade your dependency to 2.7.0.Final or later.
What CWE is associated with CVE-2014-3530?
CVE-2014-3530 is classified under CWE-611: Improper Restriction of XML External Entity Reference (The product processes an XML document that can contain XML entities with URIs that resolve to documents outside of the intended sphere of control, causing the product to embed incorrect documents into its output.).
How can I check Maven dependencies for CVE-2014-3530?
Run the dependency tree command: 'mvn dependency:tree -Dincludes=org.picketlink'. 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-2c9q-qwrc-f486",
  "modified" : "2022-11-01T22:35:51Z",
  "published" : "2022-05-14T03:59:54Z",
  "aliases" : [ "CVE-2014-3530" ],
  "summary" : "XML External Entity Reference in org.picketlink:picketlink-common",
  "details" : "The org.picketlink.common.util.DocumentUtil.getDocumentBuilderFactory method in PicketLink, as used in Red Hat JBoss Enterprise Application Platform (JBEAP) 5.2.0 and 6.2.4, expands entity references, which allows remote attackers to read arbitrary code and possibly have other unspecified impact via unspecified vectors, related to an XML External Entity (XXE) issue.",
  "severity" : [ ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "Maven",
      "name" : "org.picketlink:picketlink-common"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "2.7.0.Final"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2014-3530"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/picketlink/picketlink/commit/8c78668e4f08cf3c4ed14d8a36d402dcf02cb057"
  }, {
    "type" : "WEB",
    "url" : "https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=1112987"
  }, {
    "type" : "WEB",
    "url" : "https://exchange.xforce.ibmcloud.com/vulnerabilities/94700"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/picketlink/picketlink"
  }, {
    "type" : "WEB",
    "url" : "https://issues.jboss.org/browse/PLINK-509"
  }, {
    "type" : "WEB",
    "url" : "http://rhn.redhat.com/errata/RHSA-2014-0883.html"
  }, {
    "type" : "WEB",
    "url" : "http://rhn.redhat.com/errata/RHSA-2014-0884.html"
  }, {
    "type" : "WEB",
    "url" : "http://rhn.redhat.com/errata/RHSA-2014-0885.html"
  }, {
    "type" : "WEB",
    "url" : "http://rhn.redhat.com/errata/RHSA-2014-0886.html"
  }, {
    "type" : "WEB",
    "url" : "http://rhn.redhat.com/errata/RHSA-2015-0091.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://rhn.redhat.com/errata/RHSA-2015-1888.html"
  }, {
    "type" : "WEB",
    "url" : "http://secunia.com/advisories/60047"
  }, {
    "type" : "WEB",
    "url" : "http://secunia.com/advisories/60124"
  }, {
    "type" : "WEB",
    "url" : "http://www.securitytracker.com/id/1030607"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-611" ],
    "severity" : "HIGH",
    "github_reviewed" : true,
    "github_reviewed_at" : "2022-11-01T22:35:51Z",
    "nvd_published_at" : "2014-07-22T20:55:00Z"
  }
}