Vulnerabilities in pkg:maven/com.predic8/soa-model-core

PACKAGE
Advisory Identifier: GHSA-pv39-qp28-4mgh
Advisory Summary

CVE-2021-43090 is a CRITICAL (CVSS 9.8) improper restriction of xml external vulnerability (CWE-611: Improper Restriction of XML External Entity Reference) affecting Soa model parent libraries in the Maven ecosystem. The issue involves improper restriction of xml external entity reference in soa-model. Remediation is available by upgrading affected packages to version 1.6.4.

1 Known Advisory Record(s)
Package Vulnerability Intelligence

pkg:maven/com.predic8/soa-model-core

1 Known Advisory Record(s)

Vulnerability advisories affecting package pkg:maven/com.predic8/soa-model-core. Select an advisory below to view technical details or fixes.

Advisory ID CVE / NVD Severity Summary
GHSA-pv39-qp28-4mgh CVE-2021-43090 CRITICAL Improper Restriction of XML External Entity Reference in soa-model

CVE-2021-43090 at a Glance

CVE Identifier CVE-2021-43090
GHSA Identifier GHSA-pv39-qp28-4mgh
Severity CRITICAL
CVSS v3.1 Base Score 9.8
CWE Classification CWE-611: Improper Restriction of XML External Entity Reference
Affected Product Soa model parent
Package Ecosystem Maven
Published Date
Last Updated

Security Impact

CVSS: 9.8

The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H).

Attack Vector Network (AV:N)
Attack Complexity Low (AC:L)
Privileges Required None (PR:N)
User Interaction None (UI:N)
Scope Unchanged (S:U)
Confidentiality High (C:H)
Integrity High (I:H)
Availability High (A:H)

How to Fix CVE-2021-43090

To remediate this vulnerability, upgrade all affected Soa model parent dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.

com.predic8:soa-model-parent fixed: 1.6.4
<dependency>
    <groupId>com.predic8</groupId>
    <artifactId>soa-model-parent</artifactId>
    <version>1.6.4</version>
</dependency>
com.predic8:soa-model-core fixed: 1.6.4
<dependency>
    <groupId>com.predic8</groupId>
    <artifactId>soa-model-core</artifactId>
    <version>1.6.4</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=com.predic8

How to Check if You Are Affected

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

mvn dependency:tree -Dincludes=com.predic8

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

Note: The mvn dependency:tree -Dincludes=com.predic8 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 Soa model parent, 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

Soa-model is a toolkit and Java API for WSDL, WADL and XML Schema. An XML External Entity (XXE) vulnerability exists in versions of soa-model prior to 1.6.4 in the WSDLParser function. This issue has been fixed in version 1.6.4.

CVE-2021-43090 Affected Soa model parent Versions

2 component(s)
Fixed Versions:
1.6.4
Product / Package Ecosystem Affected Versions Fixed Version
com.predic8:soa-model-parent
Maven
< 1.6.4
1.6.4
com.predic8:soa-model-core
Maven
< 1.6.4
1.6.4

References

Frequently Asked Questions

What is CVE-2021-43090?
CVE-2021-43090 is a security vulnerability in Soa model parent involving Improper Restriction of XML External Entity Reference in soa-model under CWE-611: Improper Restriction of XML External Entity Reference.
Which Soa model parent versions are affected?
Affected versions include releases prior to 1.6.4 across affected packages: com.predic8:soa-model-parent, com.predic8:soa-model-core.
What version fixes CVE-2021-43090?
Upgrading to 1.6.4 (or the latest patched release for your respective branch) resolves the vulnerability.
Is soa-model-parent affected?
Yes, com.predic8:soa-model-parent is affected in releases prior to 1.6.4. Upgrade your dependency to 1.6.4 or later.
Is soa-model-core affected?
Yes, com.predic8:soa-model-core is affected in releases prior to 1.6.4. Upgrade your dependency to 1.6.4 or later.
What is the CVSS score of CVE-2021-43090?
CVE-2021-43090 has a CVSS v3.1 base score of 9.8 (CRITICAL) with vector string CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H.
What CWE is associated with CVE-2021-43090?
CVE-2021-43090 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-2021-43090?
Run the dependency tree command: 'mvn dependency:tree -Dincludes=com.predic8'. 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-pv39-qp28-4mgh",
  "modified" : "2022-04-12T16:40:09Z",
  "published" : "2022-03-26T00:00:32Z",
  "aliases" : [ "CVE-2021-43090" ],
  "summary" : "Improper Restriction of XML External Entity Reference in soa-model",
  "details" : "Soa-model is a toolkit and Java API for WSDL, WADL and XML Schema. An XML External Entity (XXE) vulnerability exists in versions of soa-model prior to 1.6.4 in the WSDLParser function. This issue has been fixed in version 1.6.4.",
  "severity" : [ {
    "type" : "CVSS_V3",
    "score" : "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "Maven",
      "name" : "com.predic8:soa-model-parent"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "1.6.4"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "Maven",
      "name" : "com.predic8:soa-model-core"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "1.6.4"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2021-43090"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/membrane/soa-model/issues/281"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/membrane/soa-model/commit/19de16902468e7963cc4dc6b544574bc1ea3f251"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/membrane/soa-model/commit/3aa295f155f621d5ea661cb9a0604013fc8fd8ff"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/membrane/soa-model"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/membrane/soa-model/releases/tag/v1.6.4"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-611" ],
    "severity" : "CRITICAL",
    "github_reviewed" : true,
    "github_reviewed_at" : "2022-03-30T15:05:12Z",
    "nvd_published_at" : "2022-03-25T16:15:00Z"
  }
}