{"id":"CVE-2021-39239","aliases":["DEBIAN-CVE-2021-39239","EUVD-2021-2007","GHSA-7rp6-w7mg-h8rw","UBUNTU-CVE-2021-39239"],"status":"published","title":"XML External Entity (XXE) vulnerability","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.","severity":{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","level":"high","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-09","score":0.04342,"percentile":0.9128,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-611"],"published":"2021-09-16T14:40:20Z","modified":"2026-10-23T18:03:38Z","fixes":[{"ecosystem":"Maven","package":"org.apache.jena:jena-core","fixed_in":["4.2.0"],"sources":["ghsa","osv"]},{"ecosystem":"Debian:12","package":"apache-jena","fixed_in":["4.5.0-1"],"sources":["osv"]},{"ecosystem":"Debian:13","package":"apache-jena","fixed_in":["4.5.0-1"],"sources":["osv"]},{"ecosystem":"Debian:14","package":"apache-jena","fixed_in":["4.5.0-1"],"sources":["osv"]}],"affected":[{"source":"ghsa","ecosystem":"Maven","package":"org.apache.jena:jena-core","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"4.2.0"}]}]},{"source":"osv","ecosystem":"Debian:12","package":"apache-jena","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"4.5.0-1"}]}]},{"source":"osv","ecosystem":"Debian:13","package":"apache-jena","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"4.5.0-1"}]}]},{"source":"osv","ecosystem":"Debian:14","package":"apache-jena","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"4.5.0-1"}]}]},{"source":"osv","ecosystem":"Maven","package":"org.apache.jena:jena-core","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"4.2.0"}]}],"versions":["2.10.0","2.10.1","2.11.0","2.11.1","2.11.2","2.12.0","2.12.1","2.13.0","2.7.0-incubating","2.7.1","2.7.2","2.7.3","2.7.4","3.0.0","3.0.1","3.1.0","3.1.1","3.10.0","3.11.0","3.12.0","3.13.0","3.13.1","3.14.0","3.15.0","3.16.0","3.17.0","3.2.0","3.3.0","3.4.0","3.5.0","3.6.0","3.7.0","3.8.0","3.9.0","4.0.0","4.1.0"]},{"source":"osv","ecosystem":"Ubuntu:22.04:LTS","package":"apache-jena","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["3.17.0-1","3.17.0-2","3.17.0-3"]},{"source":"osv","ecosystem":"Ubuntu:24.04:LTS","package":"apache-jena","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["4.5.0-2","4.9.0-1"]},{"source":"osv","ecosystem":"Ubuntu:25.10","package":"apache-jena","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["4.9.0-1"]},{"source":"osv","ecosystem":"Ubuntu:26.10","package":"apache-jena","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["4.9.0-1build1"]},{"source":"osv","ecosystem":"Ubuntu:26.04:LTS","package":"apache-jena","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["4.9.0-1","4.9.0-1build1"]}],"products":[{"vendor":"apache","product":"jena"},{"vendor":"apache software foundation","product":"apache jena"}],"references":[{"url":"https://lists.apache.org/thread.html/rf44d529c54ef1d0097e813f576a0823a727e1669a9f610d3221d493d%40%3Cusers.jena.apache.org%3E","tags":["x_refsource_MISC","x_transferred","Mailing List","Vendor Advisory","advisory","web"]},{"url":"https://lists.apache.org/thread.html/rf44d529c54ef1d0097e813f576a0823a727e1669a9f610d3221d493d%40%3Cannounce.apache.org%3E","tags":["mailing-list","x_refsource_MLIST","x_transferred","web"]},{"url":"https://lists.apache.org/thread.html/r0f03ae7e102c3e8587fdd36531fc167309335738156dfbd7d9c1bf45%40%3Cdev.jena.apache.org%3E","tags":["mailing-list","x_refsource_MLIST","x_transferred","web"]},{"url":"https://lists.apache.org/thread.html/rce5241b228a1f0e5880f6b2bfdb7ae9ee420e94cb692738a0bbfed9d%40%3Cdev.jena.apache.org%3E","tags":["mailing-list","x_refsource_MLIST","x_transferred","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2021-39239","tags":["advisory"]},{"url":"https://lists.apache.org/thread.html/rf44d529c54ef1d0097e813f576a0823a727e1669a9f610d3221d493d@%3Cannounce.apache.org%3E","tags":["web"]},{"url":"https://lists.apache.org/thread.html/r0f03ae7e102c3e8587fdd36531fc167309335738156dfbd7d9c1bf45@%3Cdev.jena.apache.org%3E","tags":["web"]},{"url":"https://lists.apache.org/thread.html/rce5241b228a1f0e5880f6b2bfdb7ae9ee420e94cb692738a0bbfed9d@%3Cdev.jena.apache.org%3E","tags":["web"]},{"url":"https://github.com/advisories/GHSA-7rp6-w7mg-h8rw"},{"url":"https://security-tracker.debian.org/tracker/CVE-2021-39239","tags":["advisory"]},{"url":"https://gitbox.apache.org/repos/asf?p=jena.git","tags":["package"]},{"url":"https://ubuntu.com/security/CVE-2021-39239","tags":["report"]},{"url":"https://lists.apache.org/thread/qpbfrdty7jt3yfm39hx4p9dp151sd6gm","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2021-39239","tags":["report"]}],"sources":{"cve":[{"id":"CVE-2021-39239","title":"XML External Entity (XXE) vulnerability","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.","status":"published","published":"2021-09-16T14:40:20Z","modified":"2024-08-04T02:06:40.799Z","updated_at":"2026-11-02T14:33:09.540052Z"}],"euvd":[{"id":"EUVD-2021-2007","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.","status":"published","published":"2021-09-16T14:40:20Z","modified":"2024-08-04T02:06:40Z","updated_at":"2026-11-03T03:24:23.719378Z"}],"ghsa":[{"id":"GHSA-7rp6-w7mg-h8rw","title":"XML External Entity Reference in Apache Jena","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.","status":"published","published":"2021-09-20T20:22:05Z","modified":"2023-02-01T05:06:19Z","cwes":["CWE-611"],"updated_at":"2026-11-02T14:36:38.281533Z"}],"nvd":[{"id":"CVE-2021-39239","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.","status":"published","published":"2021-09-16T15:15:07.527Z","modified":"2026-06-17T04:03:22.753Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","level":"high","assessor":"primary"},{"version":"2.0","score":5,"vector":"AV:N/AC:L/Au:N/C:P/I:N/A:N","level":"medium","assessor":"primary"}],"cwes":["CWE-611"],"updated_at":"2026-11-02T14:06:58.933037Z"}],"osv":[{"id":"CVE-2021-39239","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.","status":"published","published":"2021-09-16T15:15:07.527Z","modified":"2026-03-14T11:07:04.276848Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","level":"high"}],"updated_at":"2026-11-02T15:44:20.843843Z"},{"id":"DEBIAN-CVE-2021-39239","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.","status":"published","published":"2021-09-16T15:15:07.527Z","modified":"2026-10-23T18:03:38.316611063Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","level":"high"}],"updated_at":"2026-11-02T15:45:35.521549Z"},{"id":"UBUNTU-CVE-2021-39239","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.","status":"published","published":"2021-09-16T15:15:00Z","modified":"2026-10-17T12:56:01.693199181Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","level":"high"}],"updated_at":"2026-11-02T15:54:28.526929Z"},{"id":"GHSA-7rp6-w7mg-h8rw","title":"XML External Entity Reference in Apache Jena","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.","status":"published","published":"2021-09-20T20:22:05Z","modified":"2024-12-02T05:35:42.838509Z","cwes":["CWE-611"],"updated_at":"2026-11-02T15:46:41.349637Z"}]}}
