patchminder
Proof of concept · GitHub CVE-2018-1313

Vulnerabilityin Apache Derby.

Published 7 May 2018 · Updated 16 Sep 2024 · Every fact sourced

JSONCite
Is it exploited?
Not confirmed

Proof of concept public (GitHub).

Attack code is public
Severity
Medium 5.3
CVSSA severity score from 0 to 10. 9 and higher is critical. 3.1
Attack likelihood
Moderate
EPSSA daily score from FIRST: the chance a hole is attacked in the next 30 days. 4.6% chance in 30 days · 4 Dec 2026
Fix
Available
Upgrade to 10.14.2.0 or later
In plain words

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 now
  • Upgrade org.apache.derby:derby (Maven) to 10.14.2.0 or later.
Versions

Affected and fixed versions

Product or package
Affected
Fixed in
Source
Apache Derby
10.3.1.4 to 10.14.1.0
Not confirmed
CVE record
org.apache.derby:derby (Maven)
10.3.1.4 to before 10.14.2.0
10.14.2.0
GitHub advisory

From the CVE record, NVD and package advisories. When no source has versions yet, this table says "not confirmed" instead of guessing.

Timeline

From first report to first attacks

  1. 7 Dec 2017
    CVE ID reserved by apache.
  2. 7 May 2018
    Published in the CVE List.
  3. 19 Nov 2018
    First public proof of concept on GitHub.
  4. 16 Sep 2024
    CVE record last updated.
Exploit code

Attack code anyone can find

Exploit maturity: Proof of concept (GitHub).

Metasploit module
None known
Nuclei scan template
None known
Exploit-DB
None known
GitHub proof of concepts
1 repository
GitHubno warning signs foundtafamace/CVE-2018-13130 stars · created 19 Nov 2018

Listed so defenders can judge how urgent this is and test systems they are authorised to test. Patchminder does not host exploit code; links open the source page. Labels for GitHub repositories come from their public details and are never a promise about the code. Run anything only in an isolated lab.

Related

Other Derby vulnerabilities

References
Cite this page

Patchminder. CVE-2018-1313: Vulnerability in Apache Derby. https://patchminder.com/cve/cve-2018-1313/ (accessed 5 December 2026).