Loading...
Skip to main content

CVE-2022-46337 — Vulnerability in org.apache.derby:derby — CVE Details

CRITICAL

Apache Derby: LDAP injection vulnerability in authenticator

Published November 20, 2023Updated September 10, 2026Source: osv

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 (1057 days ago).
  • Last revised September 10, 2026 — 1025 days after initial publication.

Remediation

Upgrade to the fixed version using your package manager.

Maven
Update org.apache.derby:derby to 10.16.1.2 or later
<!-- Update pom.xml dependency version to 10.16.1.2 for org.apache.derby:derby -->
Maven
Update org.apache.derby:derby to 10.14.2.1 or later
<!-- Update pom.xml dependency version to 10.14.2.1 for org.apache.derby:derby -->
Maven
Update org.apache.derby:derby to 10.15.2.1 or later
<!-- Update pom.xml dependency version to 10.15.2.1 for org.apache.derby:derby -->

After upgrading, run your dependency scanner again to confirm the vulnerability is resolved.

Affected Packages (16)

Affects 1 ecosystem: maven (1).

PackageEcosystemAffectedFixed In
org.apache.derby:derby
maven
10.8.1.2, 10.8.2.2, 10.8.3.0Range-based data available
org.apache.derby:derby
maven
10.11.1.1No fix available
org.apache.derby:derby
maven
10.16.1.110.16.1.2
org.apache.derby:derby
maven
10.9.1.0No fix available
org.apache.derby:derby
maven
10.4.1.3, 10.4.2.0Range-based data available
org.apache.derby:derby
maven
10.5.3.0Range-based data available
org.apache.derby:derby
maven
10.2.1.6, 10.2.2.0Range-based data available
org.apache.derby:derby
maven
10.1.1.0, 10.1.2.1, 10.1.3.1Range-based data available
org.apache.derby:derby
maven
10.12.1.1No fix available
org.apache.derby:derby
maven
10.6.1.0, 10.6.2.1Range-based data available
org.apache.derby:derby
maven
10.13.1.1No fix available
org.apache.derby:derby
maven
10.14.2.010.14.2.1
org.apache.derby:derby
maven
10.7.1.1No fix available
org.apache.derby:derby
maven
10.15.1.3, 10.15.2.010.15.2.1
org.apache.derby:derby
maven
10.10.1.1, 10.10.2.0Range-based data available
org.apache.derby:derby
maven
10.3.1.4, 10.3.2.1Range-based data available

Vulnerability Classification

Common Weakness Enumeration (CWE) identifiers for this vulnerability type.

CVSS Score Breakdown

What the CVSS (Common Vulnerability Scoring System) 9.8 score means for each attack dimension.

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

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. Use GeekWala's free vulnerability scanner to check your dependencies against CVE-2022-46337 and 200,000+ other known vulnerabilities.

Severity & Exploitability

CVSS Score
9.8

Exploitation is straightforward and causes maximum impact. Patch immediately.

Also Known As

GHSA-rcjc-c4pj-xxrp

Related CVEs

Check if you're affected

Scan your dependencies to see if this vulnerability affects your projects.

Scan Your Dependencies