Vulnerabilities in pkg:maven/org.apache.uima/uimafit-core
PACKAGECVE-2017-15691 is a MODERATE (CVSS 6.5) improper restriction of xml external vulnerability (CWE-611: Improper Restriction of XML External Entity Reference) affecting Uimafit core libraries in the Maven ecosystem. The issue involves improper restriction of xml external entity reference in apache uimaj. Remediation is available by upgrading affected packages to version 2.4.0, 2.10.2, 3.0.0-beta.
pkg:maven/org.apache.uima/uimafit-core
Vulnerability advisories affecting package pkg:maven/org.apache.uima/uimafit-core. Select an advisory below to view technical details or fixes.
| Advisory ID | CVE / NVD | Severity | Summary |
|---|---|---|---|
| GHSA-wp2f-hrg2-3r5m | CVE-2017-15691 | MODERATE | Improper Restriction of XML External Entity Reference in Apache uimaj |
CVE-2017-15691 at a Glance
Security Impact
CVSS: 6.5
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N).
How to Fix CVE-2017-15691
To remediate this vulnerability, upgrade all affected Uimafit core 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.uima</groupId>
<artifactId>uimafit-core</artifactId>
<version>2.4.0</version>
</dependency>
<dependency>
<groupId>org.apache.uima</groupId>
<artifactId>uimaj-core</artifactId>
<version>2.10.2</version>
</dependency>
<dependency>
<groupId>org.apache.uima</groupId>
<artifactId>uimaj-core</artifactId>
<version>3.0.0-beta</version>
</dependency>
<dependency>
<groupId>org.apache.uima</groupId>
<artifactId>uimaj-as-core</artifactId>
<version>2.10.2</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.uima
How to Check if You Are Affected
To determine whether your Java application is affected by CVE-2017-15691, inspect your build dependencies using the Maven Dependency Plugin:
mvn dependency:tree -Dincludes=org.apache.uima
Analyze the terminal output to locate any version of Uimafit core in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 2.4.0), your application is affected.
Note: The mvn dependency:tree -Dincludes=org.apache.uima 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 Uimafit core, 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-2017-15691 Affected Uimafit core Versions
4 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
org.apache.uima:uimafit-core
|
Maven |
< 2.4.0
|
2.4.0
|
|
org.apache.uima:uimaj-core
|
Maven |
< 2.10.2
|
2.10.2
|
|
org.apache.uima:uimaj-core
|
Maven |
≥ 3.0.0-alpha
< 3.0.0-beta
|
3.0.0-beta
|
|
org.apache.uima:uimaj-as-core
|
Maven |
< 2.10.2
|
2.10.2
|
References
Frequently Asked Questions
What is CVE-2017-15691?
Which Uimafit core versions are affected?
What version fixes CVE-2017-15691?
Is uimafit-core affected?
Is uimaj-core affected?
What is the CVSS score of CVE-2017-15691?
What CWE is associated with CVE-2017-15691?
How can I check Maven dependencies for CVE-2017-15691?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-wp2f-hrg2-3r5m",
"modified" : "2022-07-01T19:32:51Z",
"published" : "2022-05-14T00:58:02Z",
"aliases" : [ "CVE-2017-15691" ],
"summary" : "Improper Restriction of XML External Entity Reference in Apache uimaj",
"details" : "In Apache uimaj prior to 2.10.2, Apache uimaj 3.0.0-xxx prior to 3.0.0-beta, Apache uima-as prior to 2.10.2, Apache uimaFIT prior to 2.4.0, Apache uimaDUCC prior to 2.2.2, this vulnerability relates to an XML external entity expansion (XXE) capability of various XML parsers. UIMA as part of its configuration and operation may read XML from various sources, which could be tainted in ways to cause inadvertent disclosure of local files or other internal content.",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "Maven",
"name" : "org.apache.uima:uimafit-core"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "2.4.0"
} ]
} ]
}, {
"package" : {
"ecosystem" : "Maven",
"name" : "org.apache.uima:uimaj-core"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "2.10.2"
} ]
} ]
}, {
"package" : {
"ecosystem" : "Maven",
"name" : "org.apache.uima:uimaj-core"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "3.0.0-alpha"
}, {
"fixed" : "3.0.0-beta"
} ]
} ],
"database_specific" : {
"last_known_affected_version_range" : "<= 3.0.0-alpha02"
}
}, {
"package" : {
"ecosystem" : "Maven",
"name" : "org.apache.uima:uimaj-as-core"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "2.10.2"
} ]
} ]
} ],
"references" : [ {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2017-15691"
}, {
"type" : "WEB",
"url" : "https://access.redhat.com/errata/RHSA-2019:1545"
}, {
"type" : "WEB",
"url" : "https://lists.apache.org/thread.html/00407c65738e625a8cc9d732923a4ab2d8299603cc7c7e5cc2da9c79@%3Ccommits.uima.apache.org%3E"
}, {
"type" : "WEB",
"url" : "https://uima.apache.org/security_report#CVE-2017-15691"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-611" ],
"severity" : "MODERATE",
"github_reviewed" : true,
"github_reviewed_at" : "2022-07-01T19:32:51Z",
"nvd_published_at" : "2018-04-26T17:29:00Z"
}
}