{"id":"UBUNTU-CVE-2021-39239","details":"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.","modified":"2026-05-20T16:05:11.548947593Z","published":"2021-09-16T15:15:00Z","upstream":["CVE-2021-39239"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2021-39239"},{"type":"REPORT","url":"https://lists.apache.org/thread/qpbfrdty7jt3yfm39hx4p9dp151sd6gm"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2021-39239"}],"affected":[{"package":{"name":"apache-jena","ecosystem":"Ubuntu:22.04:LTS","purl":"pkg:deb/ubuntu/apache-jena?arch=source&distro=jammy"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["3.17.0-1","3.17.0-2","3.17.0-3"],"ecosystem_specific":{"binaries":[{"binary_version":"3.17.0-3","binary_name":"libapache-jena-java"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2021/UBUNTU-CVE-2021-39239.json"}},{"package":{"name":"apache-jena","ecosystem":"Ubuntu:24.04:LTS","purl":"pkg:deb/ubuntu/apache-jena?arch=source&distro=noble"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["4.5.0-2","4.9.0-1"],"ecosystem_specific":{"binaries":[{"binary_version":"4.9.0-1","binary_name":"libapache-jena-java"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2021/UBUNTU-CVE-2021-39239.json"}},{"package":{"name":"apache-jena","ecosystem":"Ubuntu:25.10","purl":"pkg:deb/ubuntu/apache-jena?arch=source&distro=questing"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["4.9.0-1"],"ecosystem_specific":{"binaries":[{"binary_version":"4.9.0-1","binary_name":"libapache-jena-java"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2021/UBUNTU-CVE-2021-39239.json"}},{"package":{"name":"apache-jena","ecosystem":"Ubuntu:26.04:LTS","purl":"pkg:deb/ubuntu/apache-jena?arch=source&distro=resolute"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["4.9.0-1","4.9.0-1build1"],"ecosystem_specific":{"binaries":[{"binary_version":"4.9.0-1build1","binary_name":"libapache-jena-java"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2021/UBUNTU-CVE-2021-39239.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N"},{"type":"Ubuntu","score":"medium"}]}