Vulnerabilities in pkg:maven/org.opennms.core/org.opennms.core.xml
PACKAGECVE-2023-0871 is a HIGH (CVSS 8.8) opennms horizon xxe injection vulnerability vulnerability (CWE-611: Improper Restriction of XML External Entity Reference) affecting Org.opennms.core.xml libraries in the Maven ecosystem. The issue involves opennms horizon xxe injection vulnerability. Remediation is available by upgrading affected packages to version 32.0.2.
pkg:maven/org.opennms.core/org.opennms.core.xml
Vulnerability advisories affecting package pkg:maven/org.opennms.core/org.opennms.core.xml. Select an advisory below to view technical details or fixes.
| Advisory ID | CVE / NVD | Severity | Summary |
|---|---|---|---|
| GHSA-2qc8-r663-v864 | CVE-2023-0871 | HIGH | OpenNMS Horizon XXE Injection Vulnerability |
CVE-2023-0871 at a Glance
Security Impact
CVSS: 8.8
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:C/C:H/I:L/A:L).
How to Fix CVE-2023-0871
To remediate this vulnerability, upgrade all affected Org.opennms.core.xml 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.opennms.core</groupId>
<artifactId>org.opennms.core.xml</artifactId>
<version>32.0.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.opennms.core
How to Check if You Are Affected
To determine whether your Java application is affected by CVE-2023-0871, inspect your build dependencies using the Maven Dependency Plugin:
mvn dependency:tree -Dincludes=org.opennms.core
Analyze the terminal output to locate any version of Org.opennms.core.xml in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 32.0.2), your application is affected.
Note: The mvn dependency:tree -Dincludes=org.opennms.core 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 Org.opennms.core.xml, 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-2023-0871 Affected Org.opennms.core.xml Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
org.opennms.core:org.opennms.core.xml
|
Maven |
≥ 31.0.8
< 32.0.2
|
32.0.2
|
References
Frequently Asked Questions
What is CVE-2023-0871?
Which Org.opennms.core.xml versions are affected?
What version fixes CVE-2023-0871?
Is org.opennms.core.xml affected?
What is the CVSS score of CVE-2023-0871?
What CWE is associated with CVE-2023-0871?
How can I check Maven dependencies for CVE-2023-0871?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-2qc8-r663-v864",
"modified" : "2023-08-18T19:22:58Z",
"published" : "2023-08-11T18:31:49Z",
"aliases" : [ "CVE-2023-0871" ],
"summary" : "OpenNMS Horizon XXE Injection Vulnerability",
"details" : "XXE injection in `/rtc/post/ endpoint` in OpenNMS Horizon 31.0.8 and versions earlier than 32.0.2 on multiple platforms is vulnerable to XML external entity (XXE) injection, which can be used for instance to force Horizon to make arbitrary HTTP requests to internal and external services. The solution is to upgrade to Meridian 2023.1.6, 2022.1.19, 2021.1.30, 2020.1.38 or Horizon 32.0.2 or newer. Meridian and Horizon installation instructions state that they are intended for installation within an organization's private networks and should not be directly accessible from the Internet.\n",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:C/C:H/I:L/A:L"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "Maven",
"name" : "org.opennms.core:org.opennms.core.xml"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "31.0.8"
}, {
"fixed" : "32.0.2"
} ]
} ]
} ],
"references" : [ {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2023-0871"
}, {
"type" : "WEB",
"url" : "https://github.com/OpenNMS/opennms/pull/6355"
}, {
"type" : "WEB",
"url" : "https://github.com/OpenNMS/opennms/commit/5a3b0b62e0c612c9e2aa2c91c847abec71d767d5"
}, {
"type" : "WEB",
"url" : "https://docs.opennms.com/horizon/32/releasenotes/changelog.html"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/OpenNMS/opennms"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-611" ],
"severity" : "HIGH",
"github_reviewed" : true,
"github_reviewed_at" : "2023-08-11T23:04:51Z",
"nvd_published_at" : "2023-08-11T17:15:08Z"
}
}