CVE-2017-7545: Jbpmmigration XML External Entity Reference Vulnerability
MODERATECVE-2017-7545 is a MODERATE (CVSS 6.5) xml external entity reference vulnerability (CWE-611: Improper Restriction of XML External Entity Reference) affecting Jbpmmigration libraries in the Maven ecosystem. The issue involves xml external entity reference in jbpmmigration. Remediation is available in the latest vendor maintenance releases.
CVE-2017-7545 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-7545
To remediate this vulnerability, upgrade all affected Jbpmmigration 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.jbpm.jbpm5</groupId>
<artifactId>jbpmmigration</artifactId>
<version>Latest secure release</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.jbpm.jbpm5
How to Check if You Are Affected
To determine whether your Java application is affected by CVE-2017-7545, inspect your build dependencies using the Maven Dependency Plugin:
mvn dependency:tree -Dincludes=org.jbpm.jbpm5
Analyze the terminal output to locate any version of Jbpmmigration in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than the patched release), your application is affected.
Note: The mvn dependency:tree -Dincludes=org.jbpm.jbpm5 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 Jbpmmigration, 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-7545 Affected Jbpmmigration Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
org.jbpm.jbpm5:jbpmmigration
|
Maven |
≤ 0.15
|
|
References
Frequently Asked Questions
What is CVE-2017-7545?
Which Jbpmmigration versions are affected?
What version fixes CVE-2017-7545?
Is jbpmmigration affected?
What is the CVSS score of CVE-2017-7545?
What CWE is associated with CVE-2017-7545?
How can I check Maven dependencies for CVE-2017-7545?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-vc3x-72q4-g3p5",
"modified" : "2022-11-04T18:42:12Z",
"published" : "2022-05-13T01:36:17Z",
"aliases" : [ "CVE-2017-7545" ],
"summary" : "XML External Entity Reference in jbpmmigration",
"details" : "It was discovered that the XmlUtils class in jbpmmigration performed expansion of external parameter entities while parsing XML files. A remote attacker could use this flaw to read files accessible to the user running the application server and, potentially, perform other more advanced XML eXternal Entity (XXE) attacks.\n\nThe related jbpm-designer project removed use of jbpmmigration completely as a result.",
"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.jbpm.jbpm5:jbpmmigration"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"last_affected" : "0.15"
} ]
} ]
} ],
"references" : [ {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2017-7545"
}, {
"type" : "WEB",
"url" : "https://github.com/kiegroup/jbpm-designer/commit/a143f3b92a6a5a527d929d68c02a0c5d914ab81d"
}, {
"type" : "WEB",
"url" : "https://access.redhat.com/errata/RHSA-2017:3354"
}, {
"type" : "WEB",
"url" : "https://access.redhat.com/errata/RHSA-2017:3355"
}, {
"type" : "WEB",
"url" : "https://bugzilla.redhat.com/show_bug.cgi?id=1474822"
}, {
"type" : "WEB",
"url" : "https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2017-7545"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/kiegroup/jbpmmigration"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-611" ],
"severity" : "MODERATE",
"github_reviewed" : true,
"github_reviewed_at" : "2022-11-04T18:42:12Z",
"nvd_published_at" : "2018-07-26T15:29:00Z"
}
}