{"id":"CVE-2022-46337","details":"A cleverly devised username might bypass LDAP authentication checks. In \nLDAP-authenticated Derby installations, this could let an attacker fill \nup the disk by creating junk Derby databases. In LDAP-authenticated \nDerby installations, this could also allow the attacker to execute \nmalware which was visible to and executable by the account which booted \nthe Derby server. In LDAP-protected databases which weren't also \nprotected by SQL GRANT/REVOKE authorization, this vulnerability could \nalso let an attacker view and corrupt sensitive data and run sensitive \ndatabase functions and procedures.\n\nMitigation:\n\nUsers should upgrade to Java 21 and Derby 10.17.1.0.\n\nAlternatively, users who wish to remain on older Java versions should \nbuild their own Derby distribution from one of the release families to \nwhich the fix was backported: 10.16, 10.15, and 10.14. Those are the \nreleases which correspond, respectively, with Java LTS versions 17, 11, \nand 8.\n\n","aliases":["GHSA-rcjc-c4pj-xxrp"],"modified":"2026-03-13T06:46:33.994943Z","published":"2023-11-20T09:15:07.180Z","related":["CGA-6qqm-88w4-6w6m"],"references":[{"type":"ARTICLE","url":"https://lists.apache.org/thread/q23kvvtoohgzwybxpwozmvvk17rp0td3"}],"affected":[{"database_specific":{"unresolved_ranges":[{"events":[{"introduced":"10.1.1.0"},{"fixed":"10.14.3.0"}]},{"events":[{"introduced":"10.15.1.3"},{"fixed":"10.15.2.1"}]},{"events":[{"introduced":"0"},{"last_affected":"10.16.1.1"}]}],"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2022-46337.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"}]}