CVE-2022-46337
Apache Derby: LDAP injection vulnerability in authenticator
- Published
- Updated
- Reserved
- Assigned by
- apache
Description
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.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| CISA-ADPADP (enrichment) | 3.1 | Critical9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| NVDNVD · Modified | 3.1 | Critical9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
- EPSS (exploitation in 30 days)
- 1.4% · top 27% of all CVEs (6 Nov 2026)
- CISA SSVC
- Exploitation: none · Automatable: yes · Technical impact: total
The list uses the assigner's score when there is one, then CISA's, then NVD's: Critical 9.8.
Weakness
Affected products
Apache Software Foundation · Apache Derby
- affected 10.1.1.0 – ≤ 10.1.3.1
- affected 10.2.1.6 – ≤ 10.2.2.0
- affected 10.3.1.4 – ≤ 10.3.3.0
- affected 10.4.1.3 – ≤ 10.4.2.0
- affected 10.5.1.1 – ≤ 10.5.3.0
- affected 10.6.1.0 – ≤ 10.6.2.1
- affected 10.7.1.1
- affected 10.8.1.2 – ≤ 10.8.3.0
- affected 10.9.1.0
- affected 10.10.1.1 – ≤ 10.10.2.0
- affected 10.11.1.1
- affected 10.12.1.1
- affected 10.13.1.1
- affected 10.14.2.0
- affected 10.15.1.3 – ≤ 10.15.2.0
- affected 10.16.1.1
Affected packages
From reviewed advisories of the GitHub Advisory Database.
- Mavenorg.apache.derby:derbyGHSA-rcjc-c4pj-xxrp (opens in a new tab)
References (1)
- https://lists.apache.org/thread/q23kvvtoohgzwybxpwozmvvk17rp0td3 (opens in a new tab)vendor-advisoryx_transferred
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisory GHSA-rcjc-c4pj-xxrp (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://trackcve.app/cve/CVE-2022-46337)Record last updated .