Vulnerabilities in pkg:maven/org.apache.taglibs/taglibs-standard

PACKAGE
Advisory Identifier: GHSA-6x4w-8w53-xrvv
Advisory Summary

CVE-2015-0254 is a HIGH security vulnerability vulnerability (CWE-611: Improper Restriction of XML External Entity Reference) affecting Taglibs standard libraries in the Maven ecosystem. The issue involves xxe in apache standard taglibs. Remediation is available by upgrading affected packages to version 1.2.3.

1 Known Advisory Record(s)
Package Vulnerability Intelligence

pkg:maven/org.apache.taglibs/taglibs-standard

1 Known Advisory Record(s)

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

Advisory ID CVE / NVD Severity Summary
GHSA-6x4w-8w53-xrvv CVE-2015-0254 HIGH XXE in Apache Standard Taglibs

CVE-2015-0254 at a Glance

CVE Identifier CVE-2015-0254
GHSA Identifier GHSA-6x4w-8w53-xrvv
Severity HIGH
CVSS v3.1 Base Score N/A
CWE Classification CWE-611: Improper Restriction of XML External Entity Reference
Affected Product Taglibs standard
Package Ecosystem Maven
Published Date
Last Updated

How to Fix CVE-2015-0254

To remediate this vulnerability, upgrade all affected Taglibs standard 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.apache.taglibs:taglibs-standard fixed: 1.2.3
<dependency>
    <groupId>org.apache.taglibs</groupId>
    <artifactId>taglibs-standard</artifactId>
    <version>1.2.3</version>
</dependency>
org.apache.taglibs:taglibs-standard-impl fixed: 1.2.3
<dependency>
    <groupId>org.apache.taglibs</groupId>
    <artifactId>taglibs-standard-impl</artifactId>
    <version>1.2.3</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.apache.taglibs

How to Check if You Are Affected

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

mvn dependency:tree -Dincludes=org.apache.taglibs

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

Note: The mvn dependency:tree -Dincludes=org.apache.taglibs 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 Taglibs standard, 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

Apache Standard Taglibs before 1.2.3 allows remote attackers to execute arbitrary code or conduct external XML entity (XXE) attacks via a crafted XSLT extension in a (1) <x:parse> or (2) <x:transform> JSTL XML tag.

CVE-2015-0254 Affected Taglibs standard Versions

2 component(s)
Fixed Versions:
1.2.3
Product / Package Ecosystem Affected Versions Fixed Version
org.apache.taglibs:taglibs-standard
Maven
< 1.2.3
1.2.3
org.apache.taglibs:taglibs-standard-impl
Maven
< 1.2.3
1.2.3

References

NVD — CVE-2015-0254 NVD
https://nvd.nist.gov/vuln/detail/CVE-2015-0254
access.redhat.com/errata/rhsa-2016:13... WEB
https://access.redhat.com/errata/RHSA-2016:1376
lists.apache.org/thread.html/8a20e48... WEB
https://lists.apache.org/thread.html/8a20e48acb2a40be5130df91cf9d39d8ad93181989413d4abcaa4914@%3Cdev.tomcat.apache.org%3E
lists.apache.org/thread.html/f8e0814... WEB
https://lists.apache.org/thread.html/f8e0814e11c7f21f42224b6de111cb3f5e5ab5c15b78924c516d4ec2@%3Cdev.tomcat.apache.org%3E
lists.apache.org/thread.html/r6c93d8... WEB
https://lists.apache.org/thread.html/r6c93d8ade3788dbc00f5a37238bc278e7d859f2446b885460783a16f@%3Cpluto-dev.portals.apache.org%3E
lists.apache.org/thread.html/rc1686f... WEB
https://lists.apache.org/thread.html/rc1686f6196bb9063bf26577a21b8033c19c1a30e5a9159869c8f3d38@%3Cpluto-dev.portals.apache.org%3E
lists.apache.org/thread.html/re3b72c... WEB
https://lists.apache.org/thread.html/re3b72cbb13e1dfe85c4a06959a3b6ca6d939b407ecca80db12b54220@%3Cdev.tomcat.apache.org%3E
lists.apache.org/thread.html/rf1179e... WEB
https://lists.apache.org/thread.html/rf1179e6971bc46f0f68879a9a10cc97ad4424451b0889aeef04c8077@%3Cpluto-scm.portals.apache.org%3E
lists.apache.org/thread.html/rfc2bfd... WEB
https://lists.apache.org/thread.html/rfc2bfd99c340dafd501676693cd889c1f9f838b97bdd0776a8f5557d@%3Cdev.tomcat.apache.org%3E
Taglibs standard Security Information SECURITY
https://www.oracle.com/security-alerts/cpuapr2020.html
lists.opensuse.org/opensuse-updates/20... WEB
http://lists.opensuse.org/opensuse-updates/2015-10/msg00033.html
mail-archives.apache.org/mod_mbox/tomcat-tag... WEB
http://mail-archives.apache.org/mod_mbox/tomcat-taglibs-user/201502.mbox/%3C82207A16-6348-4DEE-877E-F7B87292576A%40apache.org%3E
Taglibs standard Security Information SECURITY
http://packetstormsecurity.com/files/130575/Apache-Standard-Taglibs-1.2.1-XXE-Remote-Command-Execution.html
rhn.redhat.com/errata/rhsa-2015-16... WEB
http://rhn.redhat.com/errata/RHSA-2015-1695.html
rhn.redhat.com/errata/rhsa-2016-18... WEB
http://rhn.redhat.com/errata/RHSA-2016-1838.html
rhn.redhat.com/errata/rhsa-2016-18... WEB
http://rhn.redhat.com/errata/RHSA-2016-1839.html
rhn.redhat.com/errata/rhsa-2016-18... WEB
http://rhn.redhat.com/errata/RHSA-2016-1840.html
rhn.redhat.com/errata/rhsa-2016-18... WEB
http://rhn.redhat.com/errata/RHSA-2016-1841.html
Taglibs standard Security Information SECURITY
http://www.oracle.com/technetwork/security-advisory/cpujul2017-3236622.html
Taglibs standard Security Information SECURITY
http://www.securityfocus.com/archive/1/534772/100/0/threaded
Taglibs standard Security Information SECURITY
http://www.securityfocus.com/bid/72809
Taglibs standard Security Information SECURITY
http://www.securitytracker.com/id/1034934
www.ubuntu.com/usn/usn-2551-1 WEB
http://www.ubuntu.com/usn/USN-2551-1

Frequently Asked Questions

What is CVE-2015-0254?
CVE-2015-0254 is a security vulnerability in Taglibs standard involving XXE in Apache Standard Taglibs under CWE-611: Improper Restriction of XML External Entity Reference.
Which Taglibs standard versions are affected?
Affected versions include releases prior to 1.2.3 across affected packages: org.apache.taglibs:taglibs-standard, org.apache.taglibs:taglibs-standard-impl.
What version fixes CVE-2015-0254?
Upgrading to 1.2.3 (or the latest patched release for your respective branch) resolves the vulnerability.
Is taglibs-standard affected?
Yes, org.apache.taglibs:taglibs-standard is affected in releases prior to 1.2.3. Upgrade your dependency to 1.2.3 or later.
Is taglibs-standard-impl affected?
Yes, org.apache.taglibs:taglibs-standard-impl is affected in releases prior to 1.2.3. Upgrade your dependency to 1.2.3 or later.
What CWE is associated with CVE-2015-0254?
CVE-2015-0254 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-2015-0254?
Run the dependency tree command: 'mvn dependency:tree -Dincludes=org.apache.taglibs'. 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-6x4w-8w53-xrvv",
  "modified" : "2020-09-14T18:42:48Z",
  "published" : "2020-09-14T18:44:01Z",
  "aliases" : [ "CVE-2015-0254" ],
  "summary" : "XXE in Apache Standard Taglibs",
  "details" : "Apache Standard Taglibs before 1.2.3 allows remote attackers to execute arbitrary code or conduct external XML entity (XXE) attacks via a crafted XSLT extension in a (1) <x:parse> or (2) <x:transform> JSTL XML tag.",
  "severity" : [ ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "Maven",
      "name" : "org.apache.taglibs:taglibs-standard"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "1.2.3"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "Maven",
      "name" : "org.apache.taglibs:taglibs-standard-impl"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "1.2.3"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2015-0254"
  }, {
    "type" : "WEB",
    "url" : "https://access.redhat.com/errata/RHSA-2016:1376"
  }, {
    "type" : "WEB",
    "url" : "https://lists.apache.org/thread.html/8a20e48acb2a40be5130df91cf9d39d8ad93181989413d4abcaa4914@%3Cdev.tomcat.apache.org%3E"
  }, {
    "type" : "WEB",
    "url" : "https://lists.apache.org/thread.html/f8e0814e11c7f21f42224b6de111cb3f5e5ab5c15b78924c516d4ec2@%3Cdev.tomcat.apache.org%3E"
  }, {
    "type" : "WEB",
    "url" : "https://lists.apache.org/thread.html/r6c93d8ade3788dbc00f5a37238bc278e7d859f2446b885460783a16f@%3Cpluto-dev.portals.apache.org%3E"
  }, {
    "type" : "WEB",
    "url" : "https://lists.apache.org/thread.html/rc1686f6196bb9063bf26577a21b8033c19c1a30e5a9159869c8f3d38@%3Cpluto-dev.portals.apache.org%3E"
  }, {
    "type" : "WEB",
    "url" : "https://lists.apache.org/thread.html/re3b72cbb13e1dfe85c4a06959a3b6ca6d939b407ecca80db12b54220@%3Cdev.tomcat.apache.org%3E"
  }, {
    "type" : "WEB",
    "url" : "https://lists.apache.org/thread.html/rf1179e6971bc46f0f68879a9a10cc97ad4424451b0889aeef04c8077@%3Cpluto-scm.portals.apache.org%3E"
  }, {
    "type" : "WEB",
    "url" : "https://lists.apache.org/thread.html/rfc2bfd99c340dafd501676693cd889c1f9f838b97bdd0776a8f5557d@%3Cdev.tomcat.apache.org%3E"
  }, {
    "type" : "WEB",
    "url" : "https://www.oracle.com/security-alerts/cpuapr2020.html"
  }, {
    "type" : "WEB",
    "url" : "http://lists.opensuse.org/opensuse-updates/2015-10/msg00033.html"
  }, {
    "type" : "WEB",
    "url" : "http://mail-archives.apache.org/mod_mbox/tomcat-taglibs-user/201502.mbox/%3C82207A16-6348-4DEE-877E-F7B87292576A%40apache.org%3E"
  }, {
    "type" : "WEB",
    "url" : "http://packetstormsecurity.com/files/130575/Apache-Standard-Taglibs-1.2.1-XXE-Remote-Command-Execution.html"
  }, {
    "type" : "WEB",
    "url" : "http://rhn.redhat.com/errata/RHSA-2015-1695.html"
  }, {
    "type" : "WEB",
    "url" : "http://rhn.redhat.com/errata/RHSA-2016-1838.html"
  }, {
    "type" : "WEB",
    "url" : "http://rhn.redhat.com/errata/RHSA-2016-1839.html"
  }, {
    "type" : "WEB",
    "url" : "http://rhn.redhat.com/errata/RHSA-2016-1840.html"
  }, {
    "type" : "WEB",
    "url" : "http://rhn.redhat.com/errata/RHSA-2016-1841.html"
  }, {
    "type" : "WEB",
    "url" : "http://www.oracle.com/technetwork/security-advisory/cpujul2017-3236622.html"
  }, {
    "type" : "WEB",
    "url" : "http://www.securityfocus.com/archive/1/534772/100/0/threaded"
  }, {
    "type" : "WEB",
    "url" : "http://www.securityfocus.com/bid/72809"
  }, {
    "type" : "WEB",
    "url" : "http://www.securitytracker.com/id/1034934"
  }, {
    "type" : "WEB",
    "url" : "http://www.ubuntu.com/usn/USN-2551-1"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-611" ],
    "severity" : "HIGH",
    "github_reviewed" : true,
    "github_reviewed_at" : "2020-09-14T18:42:48Z",
    "nvd_published_at" : "2015-03-09T14:59:00Z"
  }
}