CVE-2022-46337 — Vulnerability in org.apache.derby:derby — CVE Details
Apache Derby: LDAP injection vulnerability in authenticator
What Should I Do?
Address in Next Maintenance Window
Low exploitation probability (1.50%). Schedule for your next planned update.
Does your project use an affected org.apache.derby:derby version?
Paste your pom.xml to check it for CVE-2022-46337 and every other known vulnerability, with CISA KEV and EPSS on each finding. Free with no signup for up to 10 packages, or up to 500 per scan with a free account, which also keeps up to 200 packages in saved projects.
Summary
A cleverly devised username might bypass LDAP authentication checks. In LDAP-authenticated Derby installations, this could let an attacker fill up the disk by creating junk Derby databases. In LDAP-authenticated Derby installations, this could also allow the attacker to execute malware which was visible to and executable by the account which booted the Derby server. In LDAP-protected databases which weren't also protected by SQL GRANT/REVOKE authorization, this vulnerability could also let an attacker view and corrupt sensitive data and run sensitive database functions and procedures.
Mitigation:
Users should upgrade to Java 21 and Derby 10.17.1.0.
Alternatively, users who wish to remain on older Java versions should build their own Derby distribution from one of the release families to which the fix was backported: 10.16, 10.15, and 10.14. Those are the releases which correspond, respectively, with Java LTS versions 17, 11, and 8.
Advisory Timeline
- First published November 20, 2023 (1102 days ago).
- Last revised September 10, 2026 — 1025 days after initial publication.
Remediation
Upgrade to the fixed version using your package manager.
<!-- Update pom.xml dependency version to 10.16.1.2 for org.apache.derby:derby -->
<!-- Update pom.xml dependency version to 10.14.2.1 for org.apache.derby:derby -->
<!-- Update pom.xml dependency version to 10.15.2.1 for org.apache.derby:derby -->
After upgrading, scan your dependencies again to confirm the vulnerability is resolved.
Affected Packages (16)
Affects 1 ecosystem: Maven (1).
| Package | Fixed In |
|---|---|
| org.apache.derby:derby Maven · Affected: 10.8.1.2, 10.8.2.2, 10.8.3.0 | Range-based data available |
| org.apache.derby:derby Maven · Affected: 10.11.1.1 | No fix available |
| org.apache.derby:derby Maven · Affected: 10.16.1.1 | 10.16.1.2 |
| org.apache.derby:derby Maven · Affected: 10.9.1.0 | No fix available |
| org.apache.derby:derby Maven · Affected: 10.4.1.3, 10.4.2.0 | Range-based data available |
| org.apache.derby:derby Maven · Affected: 10.5.3.0 | Range-based data available |
| org.apache.derby:derby Maven · Affected: 10.2.1.6, 10.2.2.0 | Range-based data available |
| org.apache.derby:derby Maven · Affected: 10.1.1.0, 10.1.2.1, 10.1.3.1 | Range-based data available |
| org.apache.derby:derby Maven · Affected: 10.12.1.1 | No fix available |
| org.apache.derby:derby Maven · Affected: 10.6.1.0, 10.6.2.1 | Range-based data available |
| org.apache.derby:derby Maven · Affected: 10.13.1.1 | No fix available |
| org.apache.derby:derby Maven · Affected: 10.14.2.0 | 10.14.2.1 |
| org.apache.derby:derby Maven · Affected: 10.7.1.1 | No fix available |
| org.apache.derby:derby Maven · Affected: 10.15.1.3, 10.15.2.0 | 10.15.2.1 |
| org.apache.derby:derby Maven · Affected: 10.10.1.1, 10.10.2.0 | Range-based data available |
| org.apache.derby:derby Maven · Affected: 10.3.1.4, 10.3.2.1 | Range-based data available |
Vulnerability Classification
Common Weakness Enumeration (CWE) identifiers for this vulnerability type.
- CWE-74
- CWE-94Code InjectionMITRE
CVSS Score Breakdown
What the CVSS (Common Vulnerability Scoring System) 9.8 score means for each attack dimension.
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
References
Frequently Asked Questions
- What is CVE-2022-46337?
- Apache Derby: LDAP injection vulnerability in authenticator. This vulnerability has been assigned a severity rating of CRITICAL (CVSS score: 9.8/10).
- How do I check if my project is affected by CVE-2022-46337?
- CVE-2022-46337 affects org.apache.derby:derby. It has a 1.5% probability of exploitation within 30 days (EPSS score). Use GeekWala's free vulnerability scanner to check your dependencies against CVE-2022-46337 and 200,000+ other known vulnerabilities.
Severity & Exploitability
Maximum impact if exploited, often with little effort or access required.
This is an above-median EPSS score — 74.6% of tracked vulnerabilities score at or below it, putting its exploitation likelihood in the upper half of the tracked corpus.
Also Known As
Related CVEs
- CVE-2026-107726CRITICAL
Hazelcast allows arbitrary member memory access by low-privileged client
- CVE-2026-107282CRITICAL
AsyncHttpClient: Replay to a different host sends the original host request and credentials to the new host