Every CVE Search/ Get API key

CVE-2022-46337

Apache Derby: LDAP injection vulnerability in authenticator

9.8 CriticalFix available

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.

Attack profile

How easy it is to exploit

Attack vector
Network
Complexity
Low
Privileges needed
None
User interaction
None

What an attacker can affect

Confidentiality
High
Integrity
High
Availability
High

Exploit likelihood

1.42%Up 1.4 points since Nov 21, 2023
90%50%10%1%

What each source reports

NVD Score used 9.8

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.

Record
CVE-2022-46337
CVSS 3.1
9.8 CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Weakness
CWE-74
Updated
2026-11-02
CVE List 9.8

Apache Derby: LDAP injection vulnerability in authenticator

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.

Record
CVE-2022-46337
CVSS 3.1
9.8 CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Weakness
CWE-74
Updated
2026-11-02
EUVDEUVD-2023-3026 9.8

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.

Record
EUVD-2023-3026
CVSS 3.1
9.8 CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Updated
2026-11-02
GitHub AdvisoriesGHSA-rcjc-c4pj-xxrp 9.8

Apache Derby: LDAP injection vulnerability in authenticator

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.

Record
GHSA-rcjc-c4pj-xxrp
CVSS 3.1
9.8 CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Weakness
CWE-74, CWE-94
Updated
2026-11-02
OSV 9.8

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.

Record
CVE-2022-46337
CVSS 3.1
9.8 CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Updated
2026-11-02
OSVGHSA-rcjc-c4pj-xxrp 9.8

Apache Derby: LDAP injection vulnerability in authenticator

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.

Record
GHSA-rcjc-c4pj-xxrp
CVSS 3.1
9.8 CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Weakness
CWE-74, CWE-94
Updated
2026-11-02
OSVROOT-APP-MAVEN-CVE-2022-46337 9.8

CVE-2022-46337 in io.root.org.apache.derby:derby - Patched by Root

Root has patched CVE-2022-46337 in the io.root.org.apache.derby:derby package for Root:Maven. Multiple fixed versions available.

Record
ROOT-APP-MAVEN-CVE-2022-46337
CVSS 3.1
9.8 CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Updated
2026-11-02
OSVUBUNTU-CVE-2022-46337 9.8

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.

Record
UBUNTU-CVE-2022-46337
CVSS 3.1
9.8 CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Updated
2026-11-02
OSVDEBIAN-CVE-2022-46337 No score

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.

Record
DEBIAN-CVE-2022-46337
Updated
2026-11-03

Affected products

Affected packages

Affected packages
PackageAffectedFixed
org.apache.derby:derby
Maven
10.1.1.0 to 10.1.3.1 None known
org.apache.derby:derby
Maven
10.2.1.6 to 10.2.2.0 None known
org.apache.derby:derby
Maven
10.3.1.4 to 10.3.3.0 None known
org.apache.derby:derby
Maven
10.4.1.3 to 10.4.2.0 None known
org.apache.derby:derby
Maven
10.5.1.1 to 10.5.3.0 None known
org.apache.derby:derby
Maven
10.6.1.0 to 10.6.2.1 None known
org.apache.derby:derby
Maven
10.7.1.1 to 10.7.1.1 None known
org.apache.derby:derby
Maven
10.8.1.2 to 10.8.3.0 None known
org.apache.derby:derby
Maven
10.9.1.0 to 10.9.1.0 None known
org.apache.derby:derby
Maven
10.10.1.1 to 10.10.2.0 None known
Show 30 moreShow less
Affected packages
PackageAffectedFixed
org.apache.derby:derby
Maven
10.11.1.1 to 10.11.1.1 None known
org.apache.derby:derby
Maven
10.12.1.1 to 10.12.1.1 None known
org.apache.derby:derby
Maven
10.13.1.1 to 10.13.1.1 None known
org.apache.derby:derby
Maven
10.14.2.0 to 10.14.2.0
10.14.2.1
org.apache.derby:derby
Maven
10.16.1.1 to 10.16.1.1
10.16.1.2
org.apache.derby:derby
Maven
10.15.1.3 to 10.15.2.0
10.15.2.1
derby
Debian:12
All versions, plus listed versions
10.14.2.0-210.14.2.0-310.17.1.0-1
None known
derby
Debian:13
before 10.14.2.0-3
10.14.2.0-3
derby
Debian:14
before 10.14.2.0-3
10.14.2.0-3
org.apache.derby:derby
Maven
10.1.1.0 to 10.1.3.1, plus listed versions
10.1.2.1
None known
org.apache.derby:derby
Maven
10.3.1.4 to 10.3.3.0, plus listed versions
10.3.2.1
None known
org.apache.derby:derby
Maven
Listed versions
10.7.1.1
None known
org.apache.derby:derby
Maven
10.8.1.2 to 10.8.3.0, plus listed versions
10.8.2.2
None known
org.apache.derby:derby
Maven
Listed versions
10.9.1.0
None known
org.apache.derby:derby
Maven
Listed versions
10.11.1.1
None known
org.apache.derby:derby
Maven
Listed versions
10.12.1.1
None known
org.apache.derby:derby
Maven
Listed versions
10.13.1.1
None known
org.apache.derby:derby
Maven
10.14.2.0 up to 10.14.2.1
10.14.2.1
org.apache.derby:derby
Maven
10.16.1.1 up to 10.16.1.2
10.16.1.2
org.apache.derby:derby
Maven
10.15.1.3 up to 10.15.2.1, plus listed versions
10.15.2.0
10.15.2.1
io.root.org.apache.derby:derby
Root:Maven
before 10.14.2.0-root.io.1
10.14.2.0-root.io.110.16.1.1-root.io.110.14.2.0-root.io.210.16.1.1-root.io.2
org.apache.derby:derby
Root:Maven
before 10.14.2.0-aikido.2
10.14.2.0-aikido.210.16.1.1-aikido.2
derby
Ubuntu:16.04:LTS
All versions, plus listed versions
10.10.2.0-1
None known
derby
Ubuntu:18.04:LTS
All versions, plus listed versions
10.13.1.1-2ubuntu110.14.1.0-1ubuntu1
None known
derby
Ubuntu:20.04:LTS
All versions, plus listed versions
10.14.2.0-1
None known
derby
Ubuntu:22.04:LTS
All versions, plus listed versions
10.14.2.0-2
None known
derby
Ubuntu:24.04:LTS
All versions, plus listed versions
10.14.2.0-210.14.2.0-3
None known
derby
Ubuntu:25.10
All versions, plus listed versions
10.14.2.0-3
None known
derby
Ubuntu:26.10
All versions, plus listed versions
10.14.2.0-3build1
None known
derby
Ubuntu:26.04:LTS
All versions, plus listed versions
10.14.2.0-310.14.2.0-3build1
None known

History

History
RecordedChangedSources
first indexedCVE List, EUVD, GitHub Advisories, NVD, OSV

Dates are when Every CVE recorded each change. Upstream dates may differ.

In short

CVE-2022-46337 is a critical vulnerability (CVSS 9.8) in Apache Derby, published November 20, 2023. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 1.42%, the 72nd percentile. Fixed in org.apache.derby:derby 10.14.2.1.

References

MoveEnter Open