Vulnerability · Published Sep 16, 2021 · Assigned by apache
CVE-2021-39239XML External Entity (XXE) vulnerability
High 7.5
In plain English
A high-severity security flaw in Apache Jena from Apache Software Foundation. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 4.3% (higher than 91% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Severity (CVSS NVD)7.5High
Exploit odds (30 days)4.3%top 8.7% of all CVEs
Exploited in the wildNo reportsnot in CISA KEV
Attack toolingNoneno public tooling known
Official description
A vulnerability in XML processing in Apache Jena, in versions up to 4.1.0, may allow an attacker to execute XML External Entities (XXE), including exposing the contents of local files to a remote server.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian:12 | apache-jena | 4.5.0-1 | DEBIAN-CVE-2021-39239 |
| Debian:13 | apache-jena | 4.5.0-1 | DEBIAN-CVE-2021-39239 |
| Debian:14 | apache-jena | 4.5.0-1 | DEBIAN-CVE-2021-39239 |
| Maven | org.apache.jena:jena-core | 4.2.0 | GHSA-7rp6-w7mg-h8rw |
| Ubuntu:22.04:LTS | apache-jena | no fix listed | UBUNTU-CVE-2021-39239 |
| Ubuntu:24.04:LTS | apache-jena | no fix listed | UBUNTU-CVE-2021-39239 |
| Ubuntu:25.10 | apache-jena | no fix listed | UBUNTU-CVE-2021-39239 |
| Ubuntu:26.04:LTS | apache-jena | no fix listed | UBUNTU-CVE-2021-39239 |
| Ubuntu:26.10 | apache-jena | no fix listed | UBUNTU-CVE-2021-39239 |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| Apache Software Foundation | Apache Jena | unspecified – before 4.1.0 |
References
- https://lists.apache.org/thread.html/rf44d529c54ef1d0097e813f576a0823a727e1669a9f610d3221d493d%40%3Cusers.jena.apache.org%3E x_refsource_MISC
- [announce] 20210916 CVE-2021-39239: Apache Jena: XML External Entity (XXE) vulnerability mailing-list, x_refsource_MLIST
- [jena-dev] 20210921 Re: CVE-2021-39239 notifications for Jena 4.2.0 mailing-list, x_refsource_MLIST
- [jena-dev] 20210921 CVE-2021-39239 notifications for Jena 4.2.0 mailing-list, x_refsource_MLIST