Vulnerabilities in pkg:maven/org.apache.taglibs/taglibs-standard
PACKAGECVE-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.
pkg:maven/org.apache.taglibs/taglibs-standard
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
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.
<dependency>
<groupId>org.apache.taglibs</groupId>
<artifactId>taglibs-standard</artifactId>
<version>1.2.3</version>
</dependency>
<dependency>
<groupId>org.apache.taglibs</groupId>
<artifactId>taglibs-standard-impl</artifactId>
<version>1.2.3</version>
</dependency>
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
CVE-2015-0254 Affected Taglibs standard Versions
2 component(s)| 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
Frequently Asked Questions
What is CVE-2015-0254?
Which Taglibs standard versions are affected?
What version fixes CVE-2015-0254?
Is taglibs-standard affected?
Is taglibs-standard-impl affected?
What CWE is associated with CVE-2015-0254?
How can I check Maven dependencies for CVE-2015-0254?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"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"
}
}