{"id":"CVE-2018-1313","aliases":["DEBIAN-CVE-2018-1313","EUVD-2022-2274","GHSA-42xw-p62x-hwcf","OESA-2022-1780","ROOT-APP-MAVEN-CVE-2018-1313","UBUNTU-CVE-2018-1313"],"status":"published","title":"Improper Access Control in Apache Derby","description":"In Apache Derby 10.3.1.4 to 10.14.1.0, a specially-crafted network packet can be used to request the Derby Network Server to boot a database whose location and contents are under the user's control. If the Derby Network Server is not running with a Java Security Manager policy file, the attack is successful. If the server is using a policy file, the policy file must permit the database location to be read for the attack to work. The default Derby Network Server policy file distributed with the affected releases includes a permissive policy as the default Network Server policy, which allows the attack to work.","severity":{"version":"3.1","score":5.3,"vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:N/I:H/A:N","level":"medium","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-09","score":0.04587,"percentile":0.91707,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":true,"fix_available":true},"cwes":["CWE-284"],"published":"2018-05-07T13:00:00Z","modified":"2026-10-23T18:03:54Z","exploits":[{"source":"pocgithub","id":"tafamace/CVE-2018-1313","title":"tafamace/CVE-2018-1313","date":"2018-11-19","url":"https://github.com/tafamace/CVE-2018-1313"}],"fixes":[{"ecosystem":"Maven","package":"org.apache.derby:derby","fixed_in":["10.14.2.0"],"sources":["ghsa","osv"]},{"ecosystem":"Debian:12","package":"derby","fixed_in":["10.14.2.0-1"],"sources":["osv"]},{"ecosystem":"Debian:13","package":"derby","fixed_in":["10.14.2.0-1"],"sources":["osv"]},{"ecosystem":"Debian:14","package":"derby","fixed_in":["10.14.2.0-1"],"sources":["osv"]},{"ecosystem":"openEuler:20.03-LTS-SP1","package":"derby","fixed_in":["10.13.1.1-3.oe1"],"sources":["osv"]}],"affected":[{"source":"ghsa","ecosystem":"Maven","package":"org.apache.derby:derby","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"10.3.1.4"},{"last_affected":"10.14.1.0"},{"fixed":"10.14.2.0"}]}]},{"source":"osv","ecosystem":"Debian:12","package":"derby","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"10.14.2.0-1"}]}]},{"source":"osv","ecosystem":"Debian:13","package":"derby","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"10.14.2.0-1"}]}]},{"source":"osv","ecosystem":"Debian:14","package":"derby","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"10.14.2.0-1"}]}]},{"source":"osv","ecosystem":"Maven","package":"org.apache.derby:derby","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"10.3.1.4"},{"fixed":"10.14.2.0"}]}],"versions":["10.10.1.1","10.10.2.0","10.11.1.1","10.12.1.1","10.13.1.1","10.14.1.0","10.3.1.4","10.3.2.1","10.4.1.3","10.4.2.0","10.5.3.0","10.5.3.0_1","10.6.1.0","10.6.2.1","10.7.1.1","10.8.1.2","10.8.2.2","10.8.3.0","10.9.1.0"]},{"source":"osv","ecosystem":"openEuler:20.03-LTS-SP1","package":"derby","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"10.13.1.1-3.oe1"}]}]},{"source":"osv","ecosystem":"Ubuntu:16.04:LTS","package":"derby","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["10.10.2.0-1"]},{"source":"osv","ecosystem":"Ubuntu:18.04:LTS","package":"derby","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["10.13.1.1-2ubuntu1","10.14.1.0-1ubuntu1"]}],"products":[{"vendor":"apache","product":"derby"},{"vendor":"apache software foundation","product":"apache derby"},{"vendor":"oracle","product":"weblogic_server"}],"references":[{"url":"https://www.oracle.com/technetwork/security-advisory/cpujan2019-5072801.html","tags":["x_refsource_CONFIRM","x_transferred","Patch","Third Party Advisory","fix","web"]},{"url":"https://markmail.org/message/akkappppxcdqrgxk","tags":["mailing-list","x_refsource_MLIST","x_transferred","Mitigation","Third Party Advisory","advisory","web","report"]},{"url":"http://www.securityfocus.com/bid/104140","tags":["vdb-entry","x_refsource_BID","x_transferred","Broken Link","web"]},{"url":"https://lists.apache.org/thread.html/b0656d359c7d40ec9f39c8cc61bca66802ef9a2a12ee199f5b0c1442%40%3Cdev.drill.apache.org%3E","tags":["mailing-list","x_refsource_MLIST","x_transferred","web"]},{"url":"https://lists.apache.org/thread.html/519eb0fd45642dcecd9ff74cb3e71c20a4753f7d82e2f07864b5108f%40%3Cdev.drill.apache.org%3E","tags":["mailing-list","x_refsource_MLIST","x_transferred","web"]},{"url":"https://lists.apache.org/thread.html/f9bc3e55f4e28d1dcd1a69aae6d53e609a758e34d2869b4d798e13cc%40%3Cissues.drill.apache.org%3E","tags":["mailing-list","x_refsource_MLIST","x_transferred","web"]},{"url":"https://lists.apache.org/thread.html/re29ab90978e6c997377fb975f674f7514f6beb642bbf79deb45477e5%40%3Cdev.hive.apache.org%3E","tags":["mailing-list","x_refsource_MLIST","x_transferred","web"]},{"url":"https://lists.apache.org/thread.html/r437d94437e6aef31af689b1e7025d024d676fd1ea9901d74e3e9ae48%40%3Cissues.hive.apache.org%3E","tags":["mailing-list","x_refsource_MLIST","x_transferred","web"]},{"url":"https://lists.apache.org/thread.html/r6755f48d4f5e44e39bba7dbf8d746678239d7f1f2cc108125519ce53%40%3Cissues.hive.apache.org%3E","tags":["mailing-list","x_refsource_MLIST","x_transferred","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2018-1313","tags":["advisory"]},{"url":"https://lists.apache.org/thread.html/519eb0fd45642dcecd9ff74cb3e71c20a4753f7d82e2f07864b5108f@%3Cdev.drill.apache.org%3E","tags":["web"]},{"url":"https://lists.apache.org/thread.html/b0656d359c7d40ec9f39c8cc61bca66802ef9a2a12ee199f5b0c1442@%3Cdev.drill.apache.org%3E","tags":["web"]},{"url":"https://lists.apache.org/thread.html/f9bc3e55f4e28d1dcd1a69aae6d53e609a758e34d2869b4d798e13cc@%3Cissues.drill.apache.org%3E","tags":["web"]},{"url":"https://lists.apache.org/thread.html/r437d94437e6aef31af689b1e7025d024d676fd1ea9901d74e3e9ae48@%3Cissues.hive.apache.org%3E","tags":["web"]},{"url":"https://lists.apache.org/thread.html/r6755f48d4f5e44e39bba7dbf8d746678239d7f1f2cc108125519ce53@%3Cissues.hive.apache.org%3E","tags":["web"]},{"url":"https://lists.apache.org/thread.html/re29ab90978e6c997377fb975f674f7514f6beb642bbf79deb45477e5@%3Cdev.hive.apache.org%3E","tags":["web"]},{"url":"https://github.com/advisories/GHSA-42xw-p62x-hwcf"},{"url":"https://security-tracker.debian.org/tracker/CVE-2018-1313","tags":["advisory"]},{"url":"https://openeuler.org/en/security/safety-bulletin/detail.html?id=openEuler-SA-2022-1780","tags":["advisory"]},{"url":"https://ubuntu.com/security/CVE-2018-1313","tags":["report"]},{"url":"http://www.openwall.com/lists/oss-security/2018/05/05/1","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2018-1313","tags":["report"]}],"sources":{"cve":[{"id":"CVE-2018-1313","description":"In Apache Derby 10.3.1.4 to 10.14.1.0, a specially-crafted network packet can be used to request the Derby Network Server to boot a database whose location and contents are under the user's control. If the Derby Network Server is not running with a Java Security Manager policy file, the attack is successful. If the server is using a policy file, the policy file must permit the database location to be read for the attack to work. The default Derby Network Server policy file distributed with the affected releases includes a permissive policy as the default Network Server policy, which allows the attack to work.","status":"published","published":"2018-05-07T13:00:00Z","modified":"2024-09-16T16:23:24.352Z","updated_at":"2026-11-02T14:35:08.701206Z"}],"euvd":[{"id":"EUVD-2022-2274","description":"In Apache Derby 10.3.1.4 to 10.14.1.0, a specially-crafted network packet can be used to request the Derby Network Server to boot a database whose location and contents are under the user's control. If the Derby Network Server is not running with a Java Security Manager policy file, the attack is successful. If the server is using a policy file, the policy file must permit the database location to be read for the attack to work. The default Derby Network Server policy file distributed with the affected releases includes a permissive policy as the default Network Server policy, which allows the attack to work.","status":"published","published":"2018-05-07T13:00:00Z","modified":"2024-09-16T16:23:24Z","updated_at":"2026-11-03T00:55:52.084115Z"}],"ghsa":[{"id":"GHSA-42xw-p62x-hwcf","title":"Improper Access Control in Apache Derby","description":"In Apache Derby 10.3.1.4 to 10.14.1.0, a specially-crafted network packet can be used to request the Derby Network Server to boot a database whose location and contents are under the user's control. If the Derby Network Server is not running with a Java Security Manager policy file, the attack is successful. If the server is using a policy file, the policy file must permit the database location to be read for the attack to work. The default Derby Network Server policy file distributed with the affected releases includes a permissive policy as the default Network Server policy, which allows the attack to work.","status":"published","published":"2022-05-13T01:02:18Z","modified":"2023-01-27T05:02:11Z","cvss":[{"version":"3.1","score":5.3,"vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:N/I:H/A:N","level":"medium"}],"cwes":["CWE-284"],"updated_at":"2026-11-02T14:36:17.04874Z"}],"nvd":[{"id":"CVE-2018-1313","description":"In Apache Derby 10.3.1.4 to 10.14.1.0, a specially-crafted network packet can be used to request the Derby Network Server to boot a database whose location and contents are under the user's control. If the Derby Network Server is not running with a Java Security Manager policy file, the attack is successful. If the server is using a policy file, the policy file must permit the database location to be read for the attack to work. The default Derby Network Server policy file distributed with the affected releases includes a permissive policy as the default Network Server policy, which allows the attack to work.","status":"published","published":"2018-05-07T13:29:00.267Z","modified":"2026-06-17T01:50:59.837Z","cvss":[{"version":"3.1","score":5.3,"vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:N/I:H/A:N","level":"medium","assessor":"primary"},{"version":"2.0","score":3.5,"vector":"AV:N/AC:M/Au:S/C:N/I:P/A:N","level":"low","assessor":"primary"}],"updated_at":"2026-11-02T14:04:26.098615Z"}],"osv":[{"id":"CVE-2018-1313","description":"In Apache Derby 10.3.1.4 to 10.14.1.0, a specially-crafted network packet can be used to request the Derby Network Server to boot a database whose location and contents are under the user's control. If the Derby Network Server is not running with a Java Security Manager policy file, the attack is successful. If the server is using a policy file, the policy file must permit the database location to be read for the attack to work. The default Derby Network Server policy file distributed with the affected releases includes a permissive policy as the default Network Server policy, which allows the attack to work.","status":"published","published":"2018-05-07T13:29:00.267Z","modified":"2026-03-15T22:25:23.329926Z","cvss":[{"version":"3.1","score":5.3,"vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:N/I:H/A:N","level":"medium"}],"updated_at":"2026-11-02T15:44:08.242347Z"},{"id":"DEBIAN-CVE-2018-1313","description":"In Apache Derby 10.3.1.4 to 10.14.1.0, a specially-crafted network packet can be used to request the Derby Network Server to boot a database whose location and contents are under the user's control. If the Derby Network Server is not running with a Java Security Manager policy file, the attack is successful. If the server is using a policy file, the policy file must permit the database location to be read for the attack to work. The default Derby Network Server policy file distributed with the affected releases includes a permissive policy as the default Network Server policy, which allows the attack to work.","status":"published","published":"2018-05-07T13:29:00.267Z","modified":"2026-10-23T18:03:54.691720387Z","cvss":[{"version":"3.1","score":5.3,"vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:N/I:H/A:N","level":"medium"}],"updated_at":"2026-11-02T15:45:30.290351Z"},{"id":"GHSA-42xw-p62x-hwcf","title":"Improper Access Control in Apache Derby","description":"In Apache Derby 10.3.1.4 to 10.14.1.0, a specially-crafted network packet can be used to request the Derby Network Server to boot a database whose location and contents are under the user's control. If the Derby Network Server is not running with a Java Security Manager policy file, the attack is successful. If the server is using a policy file, the policy file must permit the database location to be read for the attack to work. The default Derby Network Server policy file distributed with the affected releases includes a permissive policy as the default Network Server policy, which allows the attack to work.","status":"published","published":"2022-05-13T01:02:18Z","modified":"2023-11-08T03:59:52.588057Z","cvss":[{"version":"3.1","score":5.3,"vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:N/I:H/A:N","level":"medium"}],"cwes":["CWE-284"],"updated_at":"2026-11-02T15:46:36.434231Z"},{"id":"OESA-2022-1780","title":"derby security update","description":"Apache Derby, an Apache DB sub-project, is a relational database implemented entirely in Java. Some key advantages include a small footprint, conformance to Java, JDBC, and SQL standards and embedded JDBC driver.\n\nSecurity Fix(es):\n\nIn Apache Derby 10.3.1.4 to 10.14.1.0, a specially-crafted network packet can be used to request the Derby Network Server to boot a database whose location and contents are under the users control. If the Derby Network Server is not running with a Java Security Manager policy file, the attack is successful. If the server is using a policy file, the policy file must permit the database location to be read for the attack to work. The default Derby Network Server policy file distributed with the affected releases includes a permissive policy as the default Network Server policy, which allows the attack to work.(CVE-2018-1313)","status":"published","published":"2022-07-26T11:05:03Z","modified":"2026-08-18T01:16:51.258561836Z","cvss":[{"version":"3.1","score":5.3,"vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:N/I:H/A:N","level":"medium"}],"updated_at":"2026-11-02T15:52:39.528805Z"},{"id":"UBUNTU-CVE-2018-1313","description":"In Apache Derby 10.3.1.4 to 10.14.1.0, a specially-crafted network packet can be used to request the Derby Network Server to boot a database whose location and contents are under the user's control. If the Derby Network Server is not running with a Java Security Manager policy file, the attack is successful. If the server is using a policy file, the policy file must permit the database location to be read for the attack to work. The default Derby Network Server policy file distributed with the affected releases includes a permissive policy as the default Network Server policy, which allows the attack to work.","status":"published","published":"2018-05-07T13:29:00Z","modified":"2025-10-24T04:46:45Z","cvss":[{"version":"3.1","score":5.3,"vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:N/I:H/A:N","level":"medium"}],"updated_at":"2026-11-02T15:54:17.014176Z"},{"id":"ROOT-APP-MAVEN-CVE-2018-1313","title":"CVE-2018-1313 in io.root.org.apache.derby:derby - Patched by Root","description":"Root has patched CVE-2018-1313 in the io.root.org.apache.derby:derby package for Root:Maven. Multiple fixed versions available.","status":"withdrawn","published":"2026-06-17T13:51:46Z","modified":"2026-07-29T08:00:22.545057678Z","updated_at":"2026-11-02T15:53:26.76659Z"}]}}
