LiveActive security incident?Get immediate response
CVE Record

CVE-2022-46337: 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.

CriticalCVSS 9.8Not KEV-listedUpdated
Glexia's TakeAutomated analysiscritical

Security readout for executives and security teams

Plain-English summary

Apache Derby installations using LDAP authentication may let a specially crafted username bypass LDAP checks. In the worst case, an unauthenticated attacker could consume disk space, access or corrupt data, or run executable malware visible to the Derby server account.

Executive priority

Prioritize remediation where Derby uses LDAP authentication in business applications or embedded services. Treat internet-exposed or sensitive-data deployments as urgent because the source describes possible data compromise, corruption, malware execution, and disk exhaustion.

Technical view

CVE-2022-46337 is an LDAP injection issue in Apache Derby’s authenticator. The CVSS 3.1 score is 9.8. The source states vulnerable LDAP-authenticated deployments may allow authentication bypass, database creation abuse, sensitive data compromise, and procedure/function misuse when SQL GRANT/REVOKE authorization is absent.

Likely exposure

Exposure is limited to Apache Derby deployments using LDAP authentication, especially listed vulnerable releases through 10.16.1.1. Risk is higher where Derby is network reachable, disk capacity is shared with critical services, or database authorization relies only on LDAP.

Exploitation context

The supplied sources do not show CISA KEV listing or active exploitation. The issue is still high urgency because the vendor description allows unauthenticated, low-complexity impact across confidentiality, integrity, and availability in affected configurations.

Researcher notes

Key scoping questions are whether LDAP authentication is enabled and whether SQL authorization is enforced. The CVE text does not provide exploit telemetry, proof-of-concept status, or detailed patch mechanics beyond upgrade/backported release guidance.

Mitigation direction

  • Upgrade to Java 21 and Apache Derby 10.17.1.0.
  • For older Java, use fixed backports from Derby 10.16, 10.15, or 10.14 families.
  • Ensure LDAP-protected databases also use SQL GRANT/REVOKE authorization.
  • Review Apache guidance before choosing a nonstandard remediation path.

Validation and detection

  • Inventory applications and services using org.apache.derby or Apache Derby.
  • Identify Derby instances configured for LDAP authentication.
  • Compare Derby versions against the listed vulnerable releases.
  • Confirm upgraded systems run Derby 10.17.1.0 or a fixed backported build.
  • Verify SQL GRANT/REVOKE authorization protects sensitive databases.
Prepared
Confidence
high
Sources
3

Generated from the cited source records. This long-tail analysis has not been individually reviewed by a named human.

Potential ATT&CK relevance

Conservative CVE-to-ATT&CK context

These mappings and lookup hints may be relevant to the vulnerability behavior, CWE, affected product, or exposure path. Glexia-inferred context is not an official MITRE, ATT&CK, CWE, or CVE Program mapping.

ATT&CK lookup starting points

Use these exact CWE pages and searches to review the Glexia ATT&CK library from this CVE's weakness and description context.

cwe · low confidence lookup

CWE-74: Exact CWE lookup

Use the exact CWE identifier as the starting point before reviewing related ATT&CK behavior. Open the exact CWE lookup page first, then review the ATT&CK searches from that MITRE weakness context. This is a Glexia lookup hint, not an official ATT&CK mapping.

Open ATT&CK lookup
description · low confidence lookup

Database behavior lookup

The CVE wording references database injection or access, so collection and exfiltration review may help. This is a Glexia inferred lookup path, not an official MITRE, ATT&CK, or CVE Program mapping.

Open ATT&CK lookup
cve · low confidence lookup

CVE-2022-46337 mapping review

Open the CVE-to-ATT&CK bridge for reviewed, inferred, or future official mappings tied to this CVE.

Open ATT&CK lookup
Vulnerability profileCVE Program record
Severity
Critical
CVSS
9.8 (3.1)
Known Exploited
No
Published

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

Official CVE source material

CNA and ADP enrichment extracted from CVE v5

These fields come from the CVE record and ADP containers, not from Glexia's Take. They preserve time-varying source decisions such as CISA SSVC, KEV status, CVSS metrics, and provider references.

1CVSS vectors
0Timeline events
0ADP providers
2Source links

CVSS vector scores

1 official score

We collect every scored CVSS vector available in the official CNA and ADP containers. When more than one version is present, the table keeps the source vectors side by side instead of collapsing them into the highest score.

ScoreVersionSeverityVectorExploitImpactSource
9.8CVSS 3.1CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H3.95.9Primary CVE score

Vulnerability scoring details

Base CVSS 3.1 score

9.8Critical
CVSS 3.1 vector shape for CVE-2022-46337Attack VectorAttack ComplexityPrivileges RequiredUser InteractionScopeConfidentiality ImpactIntegrity ImpactAvailability Impact

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

Attack Vector
NetworkAdjacentLocalPhysical
Attack Complexity
LowHigh
Privileges Required
NoneLowHigh
User Interaction
NoneRequired
Scope
ChangedUnchanged
Confidentiality Impact
HighLowNone
Integrity Impact
HighLowNone
Availability Impact
HighLowNone

Source materials

Affected products

Products and packages named in the record

VendorProductVersion / packageStatus
Apache Software FoundationApache Derbyorg.apache.derby, 10.1.1.0, 10.2.1.6, 10.3.1.4, 10.4.1.3, 10.5.1.1, 10.6.1.0, 10.7.1.1, 10.8.1.2, 10.9.1.0, 10.10.1.1, 10.11.1.1, 10.12.1.1, 10.13.1.1, 10.14.2.0, 10.15.1.3, 10.16.1.1unaffected
Weakness

CWE details

CWE links open Glexia weakness intelligence pages with official CWE context, developer remediation guidance, and related CVE mappings.

CWE-74 · source CWE mapping

Improper Neutralization of Special Elements in Output Used by a Downstream Component ('Injection')

Improper Neutralization of Special Elements in Output Used by a Downstream Component ('Injection') represents a recurring weakness pattern that can create exploitable paths when design, validation, or implementation controls are missing.