{"id":"CVE-2017-12621","aliases":["EUVD-2022-2787","GHSA-6g33-82gc-3pw5","UBUNTU-CVE-2017-12621"],"status":"published","title":"Improper Restriction of XML External Entity Reference in Jelly","description":"During Jelly (xml) file parsing with Apache Xerces, if a custom doctype entity is declared with a \"SYSTEM\" entity with a URL and that entity is used in the body of the Jelly file, during parser instantiation the parser will attempt to connect to said URL. This could lead to XML External Entity (XXE) attacks in Apache Commons Jelly before 1.0.1.","severity":{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-08","score":0.0813,"percentile":0.94878,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-611"],"published":"2017-09-27T16:00:00Z","modified":"2026-09-10T03:49:20Z","fixes":[{"ecosystem":"Maven","package":"commons-jelly:commons-jelly","fixed_in":["1.0.1"],"sources":["ghsa","osv"]}],"affected":[{"source":"ghsa","ecosystem":"Maven","package":"commons-jelly:commons-jelly","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"last_affected":"1.0"},{"fixed":"1.0.1"}]}]},{"source":"osv","ecosystem":"Maven","package":"commons-jelly:commons-jelly","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.0.1"}]}],"versions":["1.0","1.0-RC1","1.0-RC2","1.0-beta-1","1.0-beta-2","1.0-beta-3","1.0-beta-3.20020819.043231","1.0-beta-3.20020819.043406","1.0-beta-3.20020820.043616","1.0-beta-3.20020828.023547","1.0-beta-3.20020828.032644","1.0-beta-3.20020904.063114","1.0-beta-3.20020910.061420","1.0-beta-3.20020911.045717","1.0-beta-3.20020913.010946","1.0-beta-3.20020913.120853","1.0-beta-4","1.0-beta-4.20020923.123659","1.0-beta-4.20020924.123511","1.0-beta-4.20021002.050543","1.0-beta-4.20021002.113628","1.0-beta-4.20021005.025546","1.0-beta-4.20021005.070650","1.0-beta-4.20021008.094131","1.0-beta-4.20021008.112820","1.0-beta-4.20021012.035615","1.0-beta-4.20021017.053011","1.0-beta-4.20021023.094006","1.0-beta-4.20021023.153932","1.0-beta-4.20021105.013628","1.0-beta-4.20021112.084337","1.0-beta-4.20021113.125954","1.0-beta-4.20021113.192421","1.0-beta-4.20021120.034859","1.0-beta-4.20021210.123241","1.0-beta-4.20021222.042553","1.0-beta-4.20021231.013337","1.0-beta-4.20021231.034645","1.0-beta-4.20030104.110205","SNAPHSOT"]},{"source":"osv","ecosystem":"Ubuntu:16.04:LTS","package":"jenkins-commons-jelly","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.1-jenkins-20120928-1"]}],"products":[{"vendor":"apache","product":"commons_jelly"},{"vendor":"apache software foundation","product":"apache commons jelly"}],"references":[{"url":"https://issues.apache.org/jira/browse/JELLY-293","tags":["x_refsource_CONFIRM","x_transferred","Issue Tracking","Patch","Vendor Advisory","web"]},{"url":"https://lists.apache.org/thread.html/f1fc3f2c45264af44ce782d54b5908ac95f02bf7ad88bb57bfb04b73%40%3Cdev.commons.apache.org%3E","tags":["mailing-list","x_refsource_MLIST","x_transferred"]},{"url":"http://www.securityfocus.com/bid/101052","tags":["vdb-entry","x_refsource_BID","x_transferred","Third Party Advisory","VDB Entry"]},{"url":"http://www.securitytracker.com/id/1039444","tags":["vdb-entry","x_refsource_SECTRACK","x_transferred","Third Party Advisory","VDB Entry"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2017-12621","tags":["advisory"]},{"url":"https://lists.apache.org/thread.html/f1fc3f2c45264af44ce782d54b5908ac95f02bf7ad88bb57bfb04b73@%3Cdev.commons.apache.org%3E","tags":["web"]},{"url":"https://web.archive.org/web/20200227144849/http://www.securityfocus.com/bid/101052","tags":["web"]},{"url":"https://web.archive.org/web/20210303081618/http://www.securitytracker.com/id/1039444","tags":["web"]},{"url":"https://github.com/advisories/GHSA-6g33-82gc-3pw5"},{"url":"https://github.com/apache/commons-jelly","tags":["package"]},{"url":"https://ubuntu.com/security/CVE-2017-12621","tags":["report"]},{"url":"http://www.openwall.com/lists/oss-security/2017/09/27/6","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2017-12621","tags":["report"]}],"sources":{"cve":[{"id":"CVE-2017-12621","description":"During Jelly (xml) file parsing with Apache Xerces, if a custom doctype entity is declared with a \"SYSTEM\" entity with a URL and that entity is used in the body of the Jelly file, during parser instantiation the parser will attempt to connect to said URL. This could lead to XML External Entity (XXE) attacks in Apache Commons Jelly before 1.0.1.","status":"published","published":"2017-09-27T16:00:00Z","modified":"2024-09-16T16:14:10.234Z","updated_at":"2026-11-02T14:33:17.264801Z"}],"euvd":[{"id":"EUVD-2022-2787","description":"During Jelly (xml) file parsing with Apache Xerces, if a custom doctype entity is declared with a \"SYSTEM\" entity with a URL and that entity is used in the body of the Jelly file, during parser instantiation the parser will attempt to connect to said URL. This could lead to XML External Entity (XXE) attacks in Apache Commons Jelly before 1.0.1.","status":"published","published":"2017-09-27T16:00:00Z","modified":"2024-09-16T16:14:10Z","updated_at":"2026-11-03T00:55:53.554412Z"}],"ghsa":[{"id":"GHSA-6g33-82gc-3pw5","title":"Improper Restriction of XML External Entity Reference in Jelly","description":"During Jelly (xml) file parsing with Apache Xerces, if a custom doctype entity is declared with a \"SYSTEM\" entity with a URL and that entity is used in the body of the Jelly file, during parser instantiation the parser will attempt to connect to said URL. This could lead to XML External Entity (XXE) attacks in Apache Commons Jelly before 1.0.1.","status":"published","published":"2022-05-17T00:34:13Z","modified":"2023-02-15T20:03:39Z","cvss":[{"version":"3.0","score":9.8,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical"}],"cwes":["CWE-611"],"updated_at":"2026-11-02T14:36:45.67005Z"}],"nvd":[{"id":"CVE-2017-12621","description":"During Jelly (xml) file parsing with Apache Xerces, if a custom doctype entity is declared with a \"SYSTEM\" entity with a URL and that entity is used in the body of the Jelly file, during parser instantiation the parser will attempt to connect to said URL. This could lead to XML External Entity (XXE) attacks in Apache Commons Jelly before 1.0.1.","status":"published","published":"2017-09-28T01:29:01.293Z","modified":"2026-06-17T01:03:38.933Z","cvss":[{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical","assessor":"primary"},{"version":"2.0","score":7.5,"vector":"AV:N/AC:L/Au:N/C:P/I:P/A:P","level":"high","assessor":"primary"}],"cwes":["CWE-611"],"updated_at":"2026-11-02T14:03:59.716532Z"}],"osv":[{"id":"GHSA-6g33-82gc-3pw5","title":"Improper Restriction of XML External Entity Reference in Jelly","description":"During Jelly (xml) file parsing with Apache Xerces, if a custom doctype entity is declared with a \"SYSTEM\" entity with a URL and that entity is used in the body of the Jelly file, during parser instantiation the parser will attempt to connect to said URL. This could lead to XML External Entity (XXE) attacks in Apache Commons Jelly before 1.0.1.","status":"published","published":"2022-05-17T00:34:13Z","modified":"2026-09-10T03:49:20.434020627Z","cvss":[{"version":"3.0","score":9.8,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical"}],"cwes":["CWE-611"],"updated_at":"2026-11-02T15:46:39.618611Z"},{"id":"UBUNTU-CVE-2017-12621","description":"During Jelly (xml) file parsing with Apache Xerces, if a custom doctype entity is declared with a \"SYSTEM\" entity with a URL and that entity is used in the body of the Jelly file, during parser instantiation the parser will attempt to connect to said URL. This could lead to XML External Entity (XXE) attacks in Apache Commons Jelly before 1.0.1.","status":"published","published":"2017-09-28T01:29:00Z","modified":"2025-10-24T04:46:26Z","cvss":[{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical"}],"updated_at":"2026-11-02T15:54:14.122973Z"}]}}
