---
title: "CVE-2022-46337: Apache Derby: LDAP injection vulnerability in authenticator"
url: https://erroneo.us/security/cve/CVE-2022-46337/
description: "CVE-2022-46337 (org.apache.derby:derby (Maven)): A cleverly devised username might bypass LDAP authentication checks. In LDAP-authenticated Derby…"
type: vulnerability-record
section: "Security Digest"
date_published: 2023-11-20
date_modified: 2026-07-02
publisher: erroneo.us
author: erroneo.us Security Desk
cve: "CVE-2022-46337"
kev: false
cvss: 9.8
epss: 0.01418
license: All rights reserved. Quote with attribution and a link.
---

# CVE-2022-46337: Apache Derby: LDAP injection vulnerability in authenticator

**Signal:** Critical and remotely reachable. No known exploitation yet, but it is network-reachable without credentials. (Computed from CISA KEV, EPSS and CVSS; not an editorial verdict.)

## Should you act?

- No confirmed exploitation. It is not in CISA’s KEV catalog and CISA’s SSVC assessment records no known exploitation. That can change quickly after a public write-up; re-check if you are affected.
- EPSS 1.4% , percentile 73: FIRST’s model estimates a 1.4% chance of exploitation activity in the next 30 days, higher than 73% of all scored CVEs (moderate). EPSS is a probability, not a verdict.
- Remotely reachable with no login and no user interaction. If the vulnerable service is exposed to the internet, prioritize it.
- Only applies if your dependency tree includes org.apache.derby:derby (Maven) >= 10.1.1.0, <= 10.1.3.1, no fixed version listed ; org.apache.derby:derby (Maven) >= 10.2.1.6, <= 10.2.2.0, no fixed version listed ; org.apache.derby:derby (Maven) >= 10.3.1.4, <= 10.3.3.0, no fixed version listed ; org.apache.derby:derby (Maven) >= 10.4.1.3, <= 10.4.2.0, no fixed version listed . Check your lockfile, including transitive dependencies.

## What it is

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.

## Affected packages

- Maven `org.apache.derby:derby` >= 10.1.1.0, <= 10.1.3.1 → fixed: none listed
- Maven `org.apache.derby:derby` >= 10.2.1.6, <= 10.2.2.0 → fixed: none listed
- Maven `org.apache.derby:derby` >= 10.3.1.4, <= 10.3.3.0 → fixed: none listed
- Maven `org.apache.derby:derby` >= 10.4.1.3, <= 10.4.2.0 → fixed: none listed
- Maven `org.apache.derby:derby` >= 10.5.1.1, <= 10.5.3.0 → fixed: none listed
- Maven `org.apache.derby:derby` >= 10.6.1.0, <= 10.6.2.1 → fixed: none listed
- Maven `org.apache.derby:derby` = 10.7.1.1 → fixed: none listed
- Maven `org.apache.derby:derby` >= 10.8.1.2, <= 10.8.3.0 → fixed: none listed
- Maven `org.apache.derby:derby` = 10.9.1.0 → fixed: none listed
- Maven `org.apache.derby:derby` >= 10.10.1.1, <= 10.10.2.0 → fixed: none listed
- Maven `org.apache.derby:derby` = 10.11.1.1 → fixed: none listed
- Maven `org.apache.derby:derby` = 10.12.1.1 → fixed: none listed
- Maven `org.apache.derby:derby` = 10.13.1.1 → fixed: none listed
- Maven `org.apache.derby:derby` = 10.14.2.0 → fixed: 10.14.2.1
- Maven `org.apache.derby:derby` = 10.16.1.1 → fixed: 10.16.1.2
- Maven `org.apache.derby:derby` >= 10.15.1.3, <= 10.15.2.0 → fixed: 10.15.2.1

## Affected products (CVE record)

- Apache Software Foundation Apache Derby: 10.1.1.0 <= 10.1.3.1, 10.2.1.6 <= 10.2.2.0, 10.3.1.4 <= 10.3.3.0, 10.4.1.3 <= 10.4.2.0, 10.5.1.1 <= 10.5.3.0, 10.6.1.0 <= 10.6.2.1, 10.7.1.1, 10.8.1.2 <= 10.8.3.0, 10.9.1.0, 10.10.1.1 <= 10.10.2.0, 10.11.1.1, 10.12.1.1

## Severity

- CISA-ADP CVSS 3.1: 9.8 `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- GitHub CVSS 3.1: 9.8 `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`

## Exploitation

- CISA KEV: not listed (no confirmed in-the-wild exploitation known to CISA).
- CISA SSVC assessment: exploitation none , automatable yes , technical impact total .
- FIRST EPSS (model of 2026-10-21): 1.42% probability of exploitation activity in the next 30 days; percentile 73.

## Sources

- [lists.apache.org](https://lists.apache.org/thread/q23kvvtoohgzwybxpwozmvvk17rp0td3)
- [GitHub Advisory GHSA-rcjc-c4pj-xxrp](https://github.com/advisories/GHSA-rcjc-c4pj-xxrp)
- [CVE.org record CVE-2022-46337](https://www.cve.org/CVERecord?id=CVE-2022-46337)
- [NVD entry CVE-2022-46337](https://nvd.nist.gov/vuln/detail/CVE-2022-46337)
- [issues.apache.org](https://issues.apache.org/jira/browse/DERBY-7147)

---
Source page: https://erroneo.us/security/cve/CVE-2022-46337/ · Security Digest: https://erroneo.us/security/ · More: https://erroneo.us/llms.txt
