{"cve":"CVE-2022-46337","nvd":{"published":"2023-11-20T09:15:07.180","modified":"2026-06-17T05:11:33.330","status":"Modified","description":"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.","cvss_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":9.8},"cwes":["CWE-74"],"references":["https://lists.apache.org/thread/q23kvvtoohgzwybxpwozmvvk17rp0td3","https://lists.apache.org/thread/q23kvvtoohgzwybxpwozmvvk17rp0td3"],"products":["apache:derby"],"source":"nvd","synced_at":"2026-10-19T21:42:07.670898610+00:00"},"epss":{"cve":"CVE-2022-46337","score":0.01418,"percentile":0.72796,"date":"2026-10-31"},"kev":null,"osv":[{"id":"GHSA-rcjc-c4pj-xxrp","url":"https://osv.dev/vulnerability/GHSA-rcjc-c4pj-xxrp","summary":"Apache Derby: LDAP injection vulnerability in authenticator","modified":"2026-09-10T03:49:48.215345125Z","packages":[{"ecosystem":"Maven","name":"org.apache.derby:derby","purl":"pkg:maven/org.apache.derby/derby","ranges":[">=10.1.1.0 <=10.1.3.1"],"fixed":[]},{"ecosystem":"Maven","name":"org.apache.derby:derby","purl":"pkg:maven/org.apache.derby/derby","ranges":[">=10.2.1.6 <=10.2.2.0"],"fixed":[]},{"ecosystem":"Maven","name":"org.apache.derby:derby","purl":"pkg:maven/org.apache.derby/derby","ranges":[">=10.3.1.4 <=10.3.3.0"],"fixed":[]},{"ecosystem":"Maven","name":"org.apache.derby:derby","purl":"pkg:maven/org.apache.derby/derby","ranges":[">=10.4.1.3 <=10.4.2.0"],"fixed":[]},{"ecosystem":"Maven","name":"org.apache.derby:derby","purl":"pkg:maven/org.apache.derby/derby","ranges":[">=10.5.1.1 <=10.5.3.0"],"fixed":[]},{"ecosystem":"Maven","name":"org.apache.derby:derby","purl":"pkg:maven/org.apache.derby/derby","ranges":[">=10.6.1.0 <=10.6.2.1"],"fixed":[]},{"ecosystem":"Maven","name":"org.apache.derby:derby","purl":"pkg:maven/org.apache.derby/derby","ranges":["10.7.1.1"],"fixed":[]},{"ecosystem":"Maven","name":"org.apache.derby:derby","purl":"pkg:maven/org.apache.derby/derby","ranges":[">=10.8.1.2 <=10.8.3.0"],"fixed":[]},{"ecosystem":"Maven","name":"org.apache.derby:derby","purl":"pkg:maven/org.apache.derby/derby","ranges":["10.9.1.0"],"fixed":[]},{"ecosystem":"Maven","name":"org.apache.derby:derby","purl":"pkg:maven/org.apache.derby/derby","ranges":[">=10.10.1.1 <=10.10.2.0"],"fixed":[]},{"ecosystem":"Maven","name":"org.apache.derby:derby","purl":"pkg:maven/org.apache.derby/derby","ranges":["10.11.1.1"],"fixed":[]},{"ecosystem":"Maven","name":"org.apache.derby:derby","purl":"pkg:maven/org.apache.derby/derby","ranges":["10.12.1.1"],"fixed":[]},{"ecosystem":"Maven","name":"org.apache.derby:derby","purl":"pkg:maven/org.apache.derby/derby","ranges":["10.13.1.1"],"fixed":[]},{"ecosystem":"Maven","name":"org.apache.derby:derby","purl":"pkg:maven/org.apache.derby/derby","ranges":[">=10.14.2.0 <10.14.2.1"],"fixed":["10.14.2.1"]},{"ecosystem":"Maven","name":"org.apache.derby:derby","purl":"pkg:maven/org.apache.derby/derby","ranges":[">=10.16.1.1 <10.16.1.2"],"fixed":["10.16.1.2"]},{"ecosystem":"Maven","name":"org.apache.derby:derby","purl":"pkg:maven/org.apache.derby/derby","ranges":[">=10.15.1.3 <10.15.2.1"],"fixed":["10.15.2.1"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}