CVE-2018-1313
Improper Access Control in Apache Derby
Also known as GHSA-42xw-p62x-hwcf
Mitigation
- Upgrade org.apache.derby:derby to 10.14.2.0 or later.
Who should check
- Projects that depend on Maven package org.apache.derby:derby (>= 10.3.1.4, < 10.14.2.0)
- Anyone running Apache Software Foundation Apache Derby 10.3.1.4 to 10.14.1.0
Vulnerability facts
- Affected
- org.apache.derby:derby >= 10.3.1.4, < 10.14.2.0
- Fixed in
- 10.14.2.0
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Remote, login needed
- CVSS
- 5.3 (v3.1, NVD)CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:N/I:H/A:NOpen in CVSS calculator
Show all 8 CVSS metrics
- Attack vector: Network
- Attack complexity: High
- Privileges required: Low
- User interaction: None
- Scope: Unchanged
- Confidentiality impact: None
- Integrity impact: High
- Availability impact: None
- EPSS
- 4.60% chance of exploitation in 30 days (percentile 92, 2026-11-26)
- CWE
- CWE-284
- Modified
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.
Affected and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| Maven org.apache.derby:derby | >= 10.3.1.4, < 10.14.2.0 | 10.14.2.0 | osv |
| Apache Software Foundation Apache Derby | 10.3.1.4 to 10.14.1.0 | — | cvelist |
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2018-1313. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2018-1313.md Affected: org.apache.derby:derby >= 10.3.1.4, < 10.14.2.0 Fixed in: 10.14.2.0 Steps: 1. Search this machine and project for org.apache.derby:derby (Maven), Apache Software Foundation Apache Derby: dependency manifests and lockfiles, installed packages, container images and running services. 2. For each match, note the installed version and whether it is inside the affected range. 3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
References
Vendor advisories
Other
- 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
- https://lists.apache.org/thread.html/519eb0fd45642dcecd9ff74cb3e71c20a4753f7d82e2f07864b5108f@%3Cdev.drill.apache.org%3E
- https://lists.apache.org/thread.html/b0656d359c7d40ec9f39c8cc61bca66802ef9a2a12ee199f5b0c1442@%3Cdev.drill.apache.org%3E
- https://lists.apache.org/thread.html/f9bc3e55f4e28d1dcd1a69aae6d53e609a758e34d2869b4d798e13cc@%3Cissues.drill.apache.org%3E
- https://lists.apache.org/thread.html/r437d94437e6aef31af689b1e7025d024d676fd1ea9901d74e3e9ae48@%3Cissues.hive.apache.org%3E
- https://lists.apache.org/thread.html/r6755f48d4f5e44e39bba7dbf8d746678239d7f1f2cc108125519ce53@%3Cissues.hive.apache.org%3E
- https://lists.apache.org/thread.html/re29ab90978e6c997377fb975f674f7514f6beb642bbf79deb45477e5@%3Cdev.hive.apache.org%3E
FAQ
Is CVE-2018-1313 being exploited?
There is no confirmed exploitation: CVE-2018-1313 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 4.60% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2018-1313?
Medium: CVSS 5.3 (v3.1, scored by NVD). Remote, login needed. The attack needs conditions outside the attacker's control, which makes it harder.
Which versions are affected by CVE-2018-1313?
org.apache.derby:derby >= 10.3.1.4, < 10.14.2.0.
Is there a fix for CVE-2018-1313?
Yes. Fixed in 10.14.2.0. Upgrade org.apache.derby:derby to 10.14.2.0 or later.
How do I check if I'm affected by CVE-2018-1313?
Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.