CVE-2022-46337: Apache Derby: LDAP injection vulnerability in authenticator
"Richard N. Hillegas" <[email protected]> Sun, 19 Nov 2023 18:42:36 +0000
| Newsgroups | gmane.comp.apache.db.derby.devel,gmane.comp.apache.maven.announce,gmane.comp.apache.db.derby.user,gmane.comp.apache.webservices.general |
|---|---|
| Message-ID | <[email protected]> |
Severity: low Affected versions: - Apache Derby 10.1.1.0 through 10.16.1.1 Description: A cleverly devised username might bypass LDAP authentication checks. In=20 LDAP-authenticated Derby installations, this could let an attacker fill=20 up the disk by creating junk Derby databases. In LDAP-authenticated=20 Derby installations, this could also allow the attacker to execute=20 malware which was visible to and executable by the account which booted=20 the Derby server. In LDAP-protected databases which weren't also=20 protected by SQL GRANT/REVOKE authorization, this vulnerability could=20 also let an attacker view and corrupt sensitive data and run sensitive=20 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=20 build their own Derby distribution from one of the release families to=20 which the fix was backported: 10.16, 10.15, and 10.14. Those are the=20 releases which correspond, respectively, with Java LTS versions 17, 11,=20 and 8. This issue is being tracked as DERBY-7147=20 Credit: This issue was discovered by =EF=BB=BF4ra1n and Y4tacker, who also proposed= the fix. (finder) References: https://db.apache.org/ https://www.cve.org/CVERecord?id=3DCVE-2022-46337 https://issues.apache.org/jira/browse/DERBY-7147