CVE-2018-1313
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.
What to do
Fixed builds are available from Debian, Maven: see the table below for the fixed version per release.
Ubuntu has not shipped a fix for every release yet.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 26.04 | derby | Not affected vulnerable_code_not_present | ||
| Ubuntu 25.10 | derby | Not affected vulnerable_code_not_present | ||
| Ubuntu 24.04 | derby | Not affected vulnerable_code_not_present | ||
| Ubuntu 22.04 | derby | Not affected vulnerable_code_not_present | ||
| Ubuntu 20.04 | derby | Not affected vulnerable_code_not_present | ||
| Ubuntu 18.04 | derby | Fix pending | UBUNTU-CVE-2018-1313 | |
| Ubuntu 16.04 | derby | Fix pending | UBUNTU-CVE-2018-1313 | |
| Ubuntu 14.04 | derby | Fix pending | ||
| Debian 14 | derby | Fixed | 10.14.2.0-1 | DEBIAN-CVE-2018-1313 |
| Debian 13 | derby | Fixed | 10.14.2.0-1 | DEBIAN-CVE-2018-1313 |
| Debian 12 | derby | Fixed | 10.14.2.0-1 | DEBIAN-CVE-2018-1313 |
| Maven library | org.apache.derby:derby | Fixed | 10.14.2.0 | GHSA-42xw-p62x-hwcf |
What the vendor says
As published in the CVE record by apache, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
- Apache Software Foundation Apache Derby: affected: 10.3.1.4 to 10.14.1.0
References
- https://www.oracle.com/technetwork/security-advisory/cpujan2019-5072801.html
- https://markmail.org/message/akkappppxcdqrgxk
- http://www.securityfocus.com/bid/104140
- https://lists.apache.org/thread.html/b0656d359c7d40ec9f39c8cc61bca66802ef9a2a12ee199f5b0c1442%40%3Cdev.drill.apache.org%3E
- https://lists.apache.org/thread.html/519eb0fd45642dcecd9ff74cb3e71c20a4753f7d82e2f07864b5108f%40%3Cdev.drill.apache.org%3E
- https://lists.apache.org/thread.html/f9bc3e55f4e28d1dcd1a69aae6d53e609a758e34d2869b4d798e13cc%40%3Cissues.drill.apache.org%3E
- https://lists.apache.org/thread.html/re29ab90978e6c997377fb975f674f7514f6beb642bbf79deb45477e5%40%3Cdev.hive.apache.org%3E
- https://lists.apache.org/thread.html/r437d94437e6aef31af689b1e7025d024d676fd1ea9901d74e3e9ae48%40%3Cissues.hive.apache.org%3E
- https://lists.apache.org/thread.html/r6755f48d4f5e44e39bba7dbf8d746678239d7f1f2cc108125519ce53%40%3Cissues.hive.apache.org%3E
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.