CVE-2022-46337

NameCVE-2022-46337
DescriptionA 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.
SourceCVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)
Debian Bugs1056755

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
derby (PTS)buster10.14.2.0-1vulnerable
bookworm, bullseye10.14.2.0-2vulnerable
sid, trixie10.14.2.0-3fixed

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
derbysource(unstable)10.14.2.0-31056755

Notes

[bookworm] - derby <no-dsa> (Minor issue)
[bullseye] - derby <no-dsa> (Minor issue)
[buster] - derby <no-dsa> (Minor issue)
https://issues.apache.org/jira/browse/DERBY-7147
https://www.openwall.com/lists/oss-security/2023/11/19/3

Search for package or bug name: Reporting problems