CVE-2021-39239: XML External Entity Reference in Apache Jena
7.5
CVSS Score
3.1
Basic Information
CVE ID
GHSA ID
EPSS Score
0.55328%
CWE
Published
9/20/2021
Updated
2/1/2023
KEV Status
No
Technology
Java
Technical Details
CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
Package Name | Ecosystem | Vulnerable Versions | First Patched Version |
---|---|---|---|
org.apache.jena:jena-core | maven | < 4.2.0 | 4.2.0 |
Vulnerability Intelligence
Miggo AI
Root Cause Analysis
The vulnerability stems from insecure XML parser configuration in Apache Jena's RDF/XML processing. While no explicit patch code is provided, XXE vulnerabilities in Java typically require modifications to XML parser initialization (e.g., disabling DTDs via setFeature).
Key indicators:
- ARP (Jena's RDF/XML parser) is the primary XML processing component
- Standard XXE fixes involve configuring SAX/DOM parsers with features like XMLConstants.FEATURE_SECURE_PROCESSING
- The RDFParserBuilder would propagate these configurations to the underlying parser
Confidence is medium due to reliance on architectural patterns rather than explicit patch analysis.