CVE-2022-46337
published critical CVSS 3.1 · 9.8Apache Derby: LDAP injection vulnerability in authenticator
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Apache Software Foundation | — | org.apache.derbyApache Derby · 10.1.1.0 through 10.1.3.1 · 10.2.1.6 through 10.2.2.0 · 10.3.1.4 through 10.3.3.0 · 10.4.1.3 through 10.4.2.0 · 10.5.1.1 through 10.5.3.0 · 10.6.1.0 through 10.6.2.1 · 10.7.1.1 · 10.8.1.2 through 10.8.3.0 · 10.9.1.0 · 10.10.1.1 through 10.10.2.0 · 10.11.1.1 · 10.12.1.1 · 10.13.1.1 · 10.14.2.0 · 10.15.1.3 through 10.15.2.0 · 10.16.1.1 · Other versions: unaffected | Affected | Not stated | 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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 9.8 / 10
- Severity
- critical
- Provider
- CISA-ADP · adp
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Apache Software Foundation | Apache Derby | 10.1.1.0 through 10.1.3.1 (affected · semver)10.2.1.6 through 10.2.2.0 (affected · semver)10.3.1.4 through 10.3.3.0 (affected · semver)10.4.1.3 through 10.4.2.0 (affected · semver)10.5.1.1 through 10.5.3.0 (affected · semver)10.6.1.0 through 10.6.2.1 (affected · semver)10.7.1.1 (affected)10.8.1.2 through 10.8.3.0 (affected · semver)10.9.1.0 (affected)10.10.1.1 through 10.10.2.0 (affected · semver)10.11.1.1 (affected)10.12.1.1 (affected)10.13.1.1 (affected)10.14.2.0 (affected)10.15.1.3 through 10.15.2.0 (affected · semver)10.16.1.1 (affected)Default: unaffected | apache · cna |
Weaknesses
2- LDAP Injection
- CWE-74 CWE-74 Improper Neutralization of Special Elements in Output Used by a Downstream Component ('Injection')
References
1Provider assertions
3apache · cna
Apache Derby: LDAP injection vulnerability in authenticator
CISA-ADP · adp
CISA ADP Vulnrichment
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- 1674d5e6f2cc0309eb1c11ec6f24085e610b1df00d0ae9f11fbd549a259dc9f4
- Ingested
- 23 Sep 2026, 08:03:36 UTC
- Source record
- Official CVE record