Vulnerabilities in pkg:maven/org.exist-db/exist-core
PACKAGECVE-2018-1000823 is a CRITICAL (CVSS 10.0) exist-core xml external entity (xxe) vulnerability (CWE-611: Improper Restriction of XML External Entity Reference) affecting exist-db libraries in the Maven ecosystem. The issue involves exist-core xml external entity (xxe) vulnerability. Remediation is available by upgrading affected packages to version 5.1.0.
pkg:maven/org.exist-db/exist-core
Vulnerability advisories affecting package pkg:maven/org.exist-db/exist-core. Select an advisory below to view technical details or fixes.
| Advisory ID | CVE / NVD | Severity | Summary |
|---|---|---|---|
| GHSA-jxm5-5xcw-h57q | CVE-2018-1000823 | CRITICAL | exist-db:exist-core XML External Entity (XXE) vulnerability |
CVE-2018-1000823 at a Glance
Security Impact
CVSS: 10.0
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:C/C:H/I:H/A:H).
How to Fix CVE-2018-1000823
To remediate this vulnerability, upgrade all affected exist-db 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.exist-db</groupId>
<artifactId>exist-core</artifactId>
<version>5.1.0</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.exist-db
How to Check if You Are Affected
To determine whether your Java application is affected by CVE-2018-1000823, inspect your build dependencies using the Maven Dependency Plugin:
mvn dependency:tree -Dincludes=org.exist-db
Analyze the terminal output to locate any version of exist-db in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 5.1.0), your application is affected.
Note: The mvn dependency:tree -Dincludes=org.exist-db 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 exist-db, 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-2018-1000823 Affected exist-db Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
org.exist-db:exist-core
|
Maven |
< 5.1.0
|
5.1.0
|
References
Frequently Asked Questions
What is CVE-2018-1000823?
Which exist-db versions are affected?
What version fixes CVE-2018-1000823?
Is exist-core affected?
What is the CVSS score of CVE-2018-1000823?
What CWE is associated with CVE-2018-1000823?
How can I check Maven dependencies for CVE-2018-1000823?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-jxm5-5xcw-h57q",
"modified" : "2022-11-15T16:07:28Z",
"published" : "2018-12-20T22:02:17Z",
"aliases" : [ "CVE-2018-1000823" ],
"summary" : "exist-db:exist-core XML External Entity (XXE) vulnerability",
"details" : "exist version <= 5.0.0-RC4 contains a XML External Entity (XXE) vulnerability in XML Parser for REST Server that can result in Disclosure of confidential data, denial of service, SSRF, port scanning.",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "Maven",
"name" : "org.exist-db:exist-core"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "5.1.0"
} ]
} ]
} ],
"references" : [ {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2018-1000823"
}, {
"type" : "WEB",
"url" : "https://github.com/eXist-db/exist/issues/2180"
}, {
"type" : "WEB",
"url" : "https://github.com/eXist-db/exist/pull/2243"
}, {
"type" : "WEB",
"url" : "https://github.com/eXist-db/exist/pull/2247"
}, {
"type" : "WEB",
"url" : "https://github.com/eXist-db/exist/commit/1c3f0aec14d00bdbca175713af70cb7c7b868e9f"
}, {
"type" : "WEB",
"url" : "https://github.com/eXist-db/exist/commit/b210f9fbf379b68842f2b055dda80d7e7479e96f"
}, {
"type" : "WEB",
"url" : "https://0dd.zone/2018/10/27/exist-XXE"
}, {
"type" : "ADVISORY",
"url" : "https://github.com/advisories/GHSA-jxm5-5xcw-h57q"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/eXist-db/exist"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-611" ],
"severity" : "CRITICAL",
"github_reviewed" : true,
"github_reviewed_at" : "2020-06-16T21:44:26Z",
"nvd_published_at" : null
}
}