{"schemaVersion":4,"id":"CVE-2017-5662","aliases":["UBUNTU-CVE-2017-5662","USN-3280-1","DEBIAN-CVE-2017-5662","DLA-926-1","GHSA-qwgx-59jw-qfg9"],"status":"published","duplicateOf":null,"title":null,"description":"In Apache Batik before 1.9, files lying on the filesystem of the server which uses batik can be revealed to arbitrary users who send maliciously formed SVG files. The file types that can be shown depend on the user context in which the exploitable application is running. If the user is root a full compromise of the server - including confidential or sensitive files - would be possible. XXE can also be used to attack the availability of the server via denial of service as the references within a xml document can trivially trigger an amplification attack.","dates":{"published":"2017-04-18T14:00:00.000Z","modified":"2024-08-05T15:11:47.301Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":7.9,"severity":"high","version":"2.0","versionLabel":"v2.0","source":"NVD","vector":"AV:N/AC:M/Au:S/C:C/I:N/A:C","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.0","versionLabel":"v3.0","source":"NVD","score":7.3,"severity":"high","vector":"CVSS:3.0/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:N/A:H","exploitability":null,"impact":null,"computed":false},{"version":"2.0","versionLabel":"v2.0","source":"NVD","score":7.9,"severity":"high","vector":"AV:N/AC:M/Au:S/C:C/I:N/A:C","exploitability":null,"impact":null,"computed":false},{"version":"3.0","versionLabel":"v3.0","source":"OSV · Ubuntu","score":7.3,"severity":"high","vector":"CVSS:3.0/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:N/A:H","exploitability":5.4,"impact":8.7,"computed":true},{"version":"3.0","versionLabel":"v3.0","source":"OSV · Debian","score":7.3,"severity":"high","vector":"CVSS:3.0/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:N/A:H","exploitability":5.4,"impact":8.7,"computed":true},{"version":"3.0","versionLabel":"v3.0","source":"OSV · Maven","score":7.3,"severity":"high","vector":"CVSS:3.0/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:N/A:H","exploitability":5.4,"impact":8.7,"computed":true}]},"epss":{"probability":0.04118,"percentile":0.91076,"severity":"low","asOf":"2026-12-04T00:00:00.000Z","change":{"pp":0,"baselineDate":"2026-11-04T00:00:00.000Z","baselineScore":0.04118},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.04118,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.04118,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.04118,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.04118,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.04118,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.04118,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.04118,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.05371,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.04118,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.04118,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.04118,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.04118,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.04118,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.04118,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.04118,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.04118,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.04118,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.04118,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.04118,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.04118,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.04118,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.04118,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.04118,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.04118,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.04118,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.04118,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.04118,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.04118,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.04118,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.04118,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.04118,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.04118,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.04118,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.04118,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.04118,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.04118,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.04118,"percentile":null},{"date":"2026-10-21T00:00:00.000Z","score":0.04118,"percentile":null},{"date":"2026-10-22T00:00:00.000Z","score":0.04118,"percentile":null},{"date":"2026-10-23T00:00:00.000Z","score":0.04118,"percentile":null},{"date":"2026-10-24T00:00:00.000Z","score":0.04118,"percentile":null},{"date":"2026-10-25T00:00:00.000Z","score":0.04118,"percentile":null},{"date":"2026-10-26T00:00:00.000Z","score":0.04118,"percentile":null},{"date":"2026-10-27T00:00:00.000Z","score":0.04118,"percentile":null},{"date":"2026-10-28T00:00:00.000Z","score":0.04118,"percentile":null},{"date":"2026-10-29T00:00:00.000Z","score":0.04118,"percentile":null},{"date":"2026-10-30T00:00:00.000Z","score":0.04118,"percentile":null},{"date":"2026-10-31T00:00:00.000Z","score":0.04118,"percentile":null},{"date":"2026-11-01T00:00:00.000Z","score":0.04118,"percentile":null},{"date":"2026-11-02T00:00:00.000Z","score":0.04118,"percentile":null},{"date":"2026-11-03T00:00:00.000Z","score":0.04118,"percentile":null},{"date":"2026-11-04T00:00:00.000Z","score":0.04118,"percentile":null},{"date":"2026-11-05T00:00:00.000Z","score":0.04118,"percentile":null},{"date":"2026-11-06T00:00:00.000Z","score":0.04118,"percentile":null},{"date":"2026-11-07T00:00:00.000Z","score":0.04118,"percentile":null},{"date":"2026-11-08T00:00:00.000Z","score":0.04118,"percentile":null},{"date":"2026-11-09T00:00:00.000Z","score":0.04118,"percentile":null},{"date":"2026-11-10T00:00:00.000Z","score":0.04118,"percentile":null},{"date":"2026-11-11T00:00:00.000Z","score":0.04118,"percentile":null},{"date":"2026-11-12T00:00:00.000Z","score":0.04118,"percentile":null},{"date":"2026-11-13T00:00:00.000Z","score":0.04118,"percentile":null},{"date":"2026-11-14T00:00:00.000Z","score":0.04118,"percentile":null},{"date":"2026-11-15T00:00:00.000Z","score":0.04118,"percentile":null},{"date":"2026-11-16T00:00:00.000Z","score":0.04118,"percentile":null},{"date":"2026-11-17T00:00:00.000Z","score":0.04118,"percentile":null},{"date":"2026-11-18T00:00:00.000Z","score":0.04118,"percentile":null},{"date":"2026-11-19T00:00:00.000Z","score":0.04118,"percentile":null},{"date":"2026-11-20T00:00:00.000Z","score":0.04118,"percentile":null},{"date":"2026-11-21T00:00:00.000Z","score":0.04118,"percentile":null},{"date":"2026-11-22T00:00:00.000Z","score":0.04118,"percentile":null},{"date":"2026-11-23T00:00:00.000Z","score":0.04118,"percentile":null},{"date":"2026-11-24T00:00:00.000Z","score":0.04118,"percentile":null},{"date":"2026-11-25T00:00:00.000Z","score":0.04118,"percentile":null},{"date":"2026-11-26T00:00:00.000Z","score":0.04118,"percentile":null},{"date":"2026-11-27T00:00:00.000Z","score":0.04118,"percentile":null},{"date":"2026-11-28T00:00:00.000Z","score":0.04118,"percentile":null},{"date":"2026-11-29T00:00:00.000Z","score":0.04118,"percentile":null},{"date":"2026-11-30T00:00:00.000Z","score":0.04118,"percentile":null},{"date":"2026-12-01T00:00:00.000Z","score":0.04118,"percentile":null},{"date":"2026-12-02T00:00:00.000Z","score":0.04118,"percentile":null},{"date":"2026-12-03T00:00:00.000Z","score":0.04118,"percentile":null},{"date":"2026-12-04T00:00:00.000Z","score":0.04118,"percentile":0.91076}],"last30":[{"date":"2026-11-04T00:00:00.000Z","score":0.04118,"percentile":null},{"date":"2026-11-05T00:00:00.000Z","score":0.04118,"percentile":null},{"date":"2026-11-06T00:00:00.000Z","score":0.04118,"percentile":null},{"date":"2026-11-07T00:00:00.000Z","score":0.04118,"percentile":null},{"date":"2026-11-08T00:00:00.000Z","score":0.04118,"percentile":null},{"date":"2026-11-09T00:00:00.000Z","score":0.04118,"percentile":null},{"date":"2026-11-10T00:00:00.000Z","score":0.04118,"percentile":null},{"date":"2026-11-11T00:00:00.000Z","score":0.04118,"percentile":null},{"date":"2026-11-12T00:00:00.000Z","score":0.04118,"percentile":null},{"date":"2026-11-13T00:00:00.000Z","score":0.04118,"percentile":null},{"date":"2026-11-14T00:00:00.000Z","score":0.04118,"percentile":null},{"date":"2026-11-15T00:00:00.000Z","score":0.04118,"percentile":null},{"date":"2026-11-16T00:00:00.000Z","score":0.04118,"percentile":null},{"date":"2026-11-17T00:00:00.000Z","score":0.04118,"percentile":null},{"date":"2026-11-18T00:00:00.000Z","score":0.04118,"percentile":null},{"date":"2026-11-19T00:00:00.000Z","score":0.04118,"percentile":null},{"date":"2026-11-20T00:00:00.000Z","score":0.04118,"percentile":null},{"date":"2026-11-21T00:00:00.000Z","score":0.04118,"percentile":null},{"date":"2026-11-22T00:00:00.000Z","score":0.04118,"percentile":null},{"date":"2026-11-23T00:00:00.000Z","score":0.04118,"percentile":null},{"date":"2026-11-24T00:00:00.000Z","score":0.04118,"percentile":null},{"date":"2026-11-25T00:00:00.000Z","score":0.04118,"percentile":null},{"date":"2026-11-26T00:00:00.000Z","score":0.04118,"percentile":null},{"date":"2026-11-27T00:00:00.000Z","score":0.04118,"percentile":null},{"date":"2026-11-28T00:00:00.000Z","score":0.04118,"percentile":null},{"date":"2026-11-29T00:00:00.000Z","score":0.04118,"percentile":null},{"date":"2026-11-30T00:00:00.000Z","score":0.04118,"percentile":null},{"date":"2026-12-01T00:00:00.000Z","score":0.04118,"percentile":null},{"date":"2026-12-02T00:00:00.000Z","score":0.04118,"percentile":null},{"date":"2026-12-03T00:00:00.000Z","score":0.04118,"percentile":null},{"date":"2026-12-04T00:00:00.000Z","score":0.04118,"percentile":0.91076}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[],"exploitCount":0,"weaknesses":[{"id":"CWE-611","name":"Improper Restriction of XML External Entity Reference","description":"The product processes an XML document that can contain XML entities with URIs that resolve to documents outside of the intended sphere of control, causing the product to embed incorrect documents into its output.","type":"weakness","status":"Draft","abstraction":"Base","likelihoodOfExploit":null,"url":"https://cwe.mitre.org/data/definitions/611.html"}],"affected":[{"vendor":"apache software foundation","product":"apache batik","name":"Apache Batik","label":"apache batik","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"< 1.9","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"range","start":null,"startInclusive":true,"end":"1.9","endInclusive":false}}],"versionsText":"< 1.9","eol":null,"hubHref":"/vendor/apache_software_foundation/apache_batik"},{"vendor":"apache","product":"batik","name":"batik","label":"batik","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≤ 1.8","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"range","start":null,"startInclusive":true,"end":"1.8","endInclusive":true}}],"versionsText":"≤ 1.8","eol":null,"hubHref":"/vendor/apache/batik"},{"vendor":"debian","product":"batik","name":"batik","label":"batik","ecosystem":"Debian","cpePart":null,"purl":"pkg:deb/debian/batik","purlType":"deb","versions":[{"text":"< 1.9-1","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"range","start":null,"startInclusive":true,"end":"1.9-1","endInclusive":false}},{"text":"< 1.7+dfsg-3+deb7u2","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"range","start":null,"startInclusive":true,"end":"1.7+dfsg-3+deb7u2","endInclusive":false}}],"versionsText":"< 1.9-1 | < 1.7+dfsg-3+deb7u2","eol":null,"hubHref":null},{"vendor":"ubuntu","product":"batik","name":"batik","label":"batik","ecosystem":"Ubuntu","cpePart":null,"purl":"pkg:deb/ubuntu/batik","purlType":"deb","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null,"bounds":{"kind":"all"}},{"text":"< 1.7.ubuntu-8ubuntu2.14.04.2","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"range","start":null,"startInclusive":true,"end":"1.7.ubuntu-8ubuntu2.14.04.2","endInclusive":false}}],"versionsText":"All versions (No fix recorded) | < 1.7.ubuntu-8ubuntu2.14.04.2","eol":null,"hubHref":null},{"vendor":"org.apache.xmlgraphics","product":"batik","name":"org.apache.xmlgraphics:batik","label":"batik","ecosystem":"Maven","cpePart":null,"purl":"pkg:maven/org.apache.xmlgraphics/batik","purlType":"maven","versions":[{"text":"< 1.9","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"range","start":null,"startInclusive":true,"end":"1.9","endInclusive":false}}],"versionsText":"< 1.9","eol":null,"hubHref":null}],"affectedCount":5,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://access.redhat.com/errata/RHSA-2017:2547","label":"access.redhat.com/errata/RHSA-2017:2547","hostname":"access.redhat.com","tags":["Vendor Advisory","X Refsource REDHAT","WEB"]},{"url":"https://access.redhat.com/errata/RHSA-2018:0319","label":"access.redhat.com/errata/RHSA-2018:0319","hostname":"access.redhat.com","tags":["Vendor Advisory","X Refsource REDHAT","WEB"]},{"url":"http://www.securitytracker.com/id/1038334","label":"www.securitytracker.com/id/1038334","hostname":"www.securitytracker.com","tags":["VDB Entry","X Refsource SECTRACK","WEB"]},{"url":"https://www.debian.org/security/2018/dsa-4215","label":"www.debian.org/security/2018/dsa-4215","hostname":"www.debian.org","tags":["Vendor Advisory","X Refsource DEBIAN","WEB"]},{"url":"https://access.redhat.com/errata/RHSA-2017:2546","label":"access.redhat.com/errata/RHSA-2017:2546","hostname":"access.redhat.com","tags":["Vendor Advisory","X Refsource REDHAT","WEB"]},{"url":"http://www.securityfocus.com/bid/97948","label":"www.securityfocus.com/bid/97948","hostname":"www.securityfocus.com","tags":["VDB Entry","X Refsource BID","Third Party Advisory","WEB"]},{"url":"http://www.oracle.com/technetwork/security-advisory/cpujul2018-4258247.html","label":"www.oracle.com/technetwork/security-advisory/cpujul2018-4258247.html","hostname":"www.oracle.com","tags":["X Refsource CONFIRM","WEB"]},{"url":"http://www.oracle.com/technetwork/security-advisory/cpuapr2018-3678067.html","label":"www.oracle.com/technetwork/security-advisory/cpuapr2018-3678067.html","hostname":"www.oracle.com","tags":["X Refsource CONFIRM","WEB"]},{"url":"http://www.oracle.com/technetwork/security-advisory/cpuoct2017-3236626.html","label":"www.oracle.com/technetwork/security-advisory/cpuoct2017-3236626.html","hostname":"www.oracle.com","tags":["X Refsource CONFIRM","WEB"]},{"url":"https://xmlgraphics.apache.org/security.html","label":"xmlgraphics.apache.org/security.html","hostname":"xmlgraphics.apache.org","tags":["X Refsource CONFIRM","Patch","Vendor Advisory","WEB"]},{"url":"https://www.oracle.com/security-alerts/cpuoct2020.html","label":"www.oracle.com/security-alerts/cpuoct2020.html","hostname":"www.oracle.com","tags":["X Refsource MISC","WEB"]},{"url":"https://ubuntu.com/security/CVE-2017-5662","label":"ubuntu.com/security/CVE-2017-5662","hostname":"ubuntu.com","tags":["REPORT"]},{"url":"http://www.openwall.com/lists/oss-security/2017/04/18/1","label":"www.openwall.com/lists/oss-security/2017/04/18/1","hostname":"www.openwall.com","tags":["REPORT"]},{"url":"https://ubuntu.com/security/notices/USN-3280-1","label":"ubuntu.com/security/notices/USN-3280-1","hostname":"ubuntu.com","tags":["Advisory"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2017-5662","label":"www.cve.org/CVERecord?id=CVE-2017-5662","hostname":"www.cve.org","tags":["REPORT"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2017-5662","label":"security-tracker.debian.org/tracker/CVE-2017-5662","hostname":"security-tracker.debian.org","tags":["Advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2017-5662","label":"nvd.nist.gov/vuln/detail/CVE-2017-5662","hostname":"nvd.nist.gov","tags":["Advisory"]}],"lineage":{"upstream":[],"downstream":["DSA-4215-1","SUSE-SU-2024:0777-1"],"duplicates":[],"related":["SUSE-SU-2024:0777-1"]},"timeline":[{"kind":"published","date":"2017-04-18T14:00:00.000Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2024-08-05T15:11:47.301Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"priority":{"label":"routine","tag":null,"reason":"Not severe (CVSS 7.3, network access); no exploitation reported by the 5 checked sources","nextStep":"Fix in the normal cadence","rank":[0,0,0,0,4,73],"checkedSources":["cisa","enisa","circl","shadowserver","cisa-adp"],"evidence":[{"type":"epss","source":"FIRST","date":"2026-12-04T00:00:00.000Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"value":0.04118,"stale":false,"promoted":null},{"type":"cvss","source":"nvd","date":"2024-08-05T15:11:47.301Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"score":7.3,"vector":"CVSS:3.0/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:N/A:H","version":"3.0","headline":true},{"type":"cvss","source":"nvd","date":"2024-08-05T15:11:47.301Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"score":7.9,"vector":"AV:N/AC:M/Au:S/C:C/I:N/A:C","version":"2.0"},{"type":"cvss","source":"osv_ubuntu","date":"2024-08-05T15:11:47.301Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"score":7.3,"vector":"CVSS:3.0/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:N/A:H","version":"3.0"},{"type":"cvss","source":"osv_debian","date":"2024-08-05T15:11:47.301Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"score":7.3,"vector":"CVSS:3.0/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:N/A:H","version":"3.0"},{"type":"cvss","source":"osv_maven","date":"2024-08-05T15:11:47.301Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"score":7.3,"vector":"CVSS:3.0/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:N/A:H","version":"3.0"}],"epss":{"value":0.04118,"date":"2026-12-04T00:00:00.000Z","stale":false,"promoted":null},"sources":[{"id":"cisa","lastSuccessfulSync":"2026-12-05T04:02:19.840Z","state":"fresh"},{"id":"enisa","lastSuccessfulSync":"2026-12-05T04:02:20.356Z","state":"fresh"},{"id":"circl","lastSuccessfulSync":"2026-12-05T04:02:20.556Z","state":"fresh"},{"id":"shadowserver","lastSuccessfulSync":null,"state":"unavailable"},{"id":"cisa-adp","lastSuccessfulSync":"2026-12-05T04:00:57.992Z","state":"fresh"},{"id":"epss","lastSuccessfulSync":"2026-12-05T04:02:18.199Z","state":"fresh"},{"id":"osv","lastSuccessfulSync":"2026-12-05T04:02:17.270Z","state":"fresh"}],"feedEvent":null},"meta":{"dataAsOf":"2026-12-05T04:07:53.081Z","stale":false,"partial":false}}