CVE-2022-46337

Apache Derby: LDAP injection vulnerability in authenticator

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.

Category

9.8
CVSS
Severity: Critical
CVSS 3.1 •
EPSS 0.04%
Vendor Advisory apache.org
Affected: Apache Software Foundation Apache Derby
Published at:
Updated at:

References

Frequently Asked Questions

What is the severity of CVE-2022-46337?
CVE-2022-46337 has been scored as a critical severity vulnerability.
How to fix CVE-2022-46337?
To fix CVE-2022-46337, make sure you are using an up-to-date version of the affected component(s) by checking the vendor release notes. As for now, there are no other specific guidelines available.
Is CVE-2022-46337 being actively exploited in the wild?
As for now, there are no information to confirm that CVE-2022-46337 is being actively exploited. According to its EPSS score, there is a ~0% probability that this vulnerability will be exploited by malicious actors in the next 30 days.
What software or system is affected by CVE-2022-46337?
CVE-2022-46337 affects Apache Software Foundation Apache Derby.
This platform uses data from the NIST NVD, MITRE CVE, MITRE CWE, First.org and CISA KEV but is not endorsed or certified by these entities. CVE is a registred trademark of the MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. CWE is a registred trademark of the MITRE Corporation and the authoritative source of CWE content is MITRE's CWE web site.
© 2025 Under My Watch. All Rights Reserved.