GHSA-c8m9-mh38-97p9: Pmml model XML External Entity (XXE) Vulnerability Vulnerability
HIGHGHSA-c8m9-mh38-97p9 is a HIGH xml external entity (xxe) vulnerability vulnerability (General Security Weakness) affecting Pmml model libraries in the Maven ecosystem. The issue involves xml external entity (xxe) vulnerability. Remediation is available by upgrading affected packages to version 1.4.3.
GHSA-c8m9-mh38-97p9 at a Glance
How to Fix GHSA-c8m9-mh38-97p9
To remediate this vulnerability, upgrade all affected Pmml model 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.jpmml</groupId>
<artifactId>pmml-model</artifactId>
<version>1.4.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.jpmml
How to Check if You Are Affected
To determine whether your Java application is affected by GHSA-c8m9-mh38-97p9, inspect your build dependencies using the Maven Dependency Plugin:
mvn dependency:tree -Dincludes=org.jpmml
Analyze the terminal output to locate any version of Pmml model in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 1.4.3), your application is affected.
Note: The mvn dependency:tree -Dincludes=org.jpmml 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 General Security Weakness. In Pmml model, 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
GHSA-c8m9-mh38-97p9 Affected Pmml model Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
org.jpmml:pmml-model
|
Maven |
< 1.4.3
|
1.4.3
|
References
Frequently Asked Questions
What is GHSA-c8m9-mh38-97p9?
Which Pmml model versions are affected?
What version fixes GHSA-c8m9-mh38-97p9?
Is pmml-model affected?
What CWE is associated with GHSA-c8m9-mh38-97p9?
How can I check Maven dependencies for GHSA-c8m9-mh38-97p9?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-c8m9-mh38-97p9",
"modified" : "2021-02-24T19:40:41Z",
"published" : "2021-02-24T19:40:41Z",
"withdrawn" : "2021-02-24T19:40:41Z",
"aliases" : [ ],
"summary" : "XML external entity (XXE) vulnerability",
"details" : "An XML eXternal Entity (XXE) Injection was discovered in pmml-model before version 1.4.3. A remote attacker can exploit this vulnerability by sending a request to submit malicious External Entity references within the embedded XML metadata to the target system. ",
"severity" : [ ],
"affected" : [ {
"package" : {
"ecosystem" : "Maven",
"name" : "org.jpmml:pmml-model"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "1.4.3"
} ]
} ]
} ],
"references" : [ {
"type" : "WEB",
"url" : "https://github.com/jpmml/jpmml-model/commit/494f821ee55e6b1f2949c78781c1d0fa8517867e#diff-322a783849e2119b37122dd21b0f48f2"
}, {
"type" : "WEB",
"url" : "https://www.whitesourcesoftware.com/vulnerability-database/WS-2019-0065"
} ],
"database_specific" : {
"cwe_ids" : [ ],
"severity" : "HIGH",
"github_reviewed" : true,
"github_reviewed_at" : "2019-05-29T19:15:07Z",
"nvd_published_at" : null
}
}