Vulnerabilities / CVE-2022-46337

critical

CVE-2022-46337

A cleverly devised username might bypass LDAP authentication checks. I ...

Published Modified CWE 74
In the Trivy database since at least 24 Oct 2026, 07:11 UTCWhen it arrived before that build is not recorded.

Severity by source

NVD9.8CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
GHSA9.8CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Trivy's own label is CRITICAL. Rated critical by NVD, GHSA.

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.

Affected packages and fixed versions

SourcePackageFixed in
maven::GitHub Security Advisory Mavenorg.apache.derby:derby10.14.2.1, 10.16.1.2, 10.15.2.1
chainguarddruid, hadoop-fips-3.3.6, hadoop-fips-3.5 and 6 more32.0.1-r1 and 7 more
debian 11derbyno fix listed
debian 12derbyno fix listed
debian 13derby10.14.2.0-3
debian 14derby10.14.2.0-3
echoderby10.14.2.0-3
echo maven::Echo OSVorg.apache.derby:derby10.14.2.1
rapidfort debian 12derby0:10.14.2.0-3
rapidfort debian 13derby0:10.14.2.0-3
wolfidruid, logstash-integration-jdbc, spark-4.132.0.1-r1 and 2 more
Show all 21 entries from 11 sources
SourcePackageFixed in
maven::GitHub Security Advisory Mavenorg.apache.derby:derby10.14.2.1, 10.16.1.2, 10.15.2.1
chainguarddruid32.0.1-r1
chainguardhadoop-fips-3.3.63.3.6-r15
chainguardhadoop-fips-3.53.5.0-r11
chainguardlogstash-integration-jdbc5.4.8-r0
chainguardnacos0
chainguardnacos-docker0
chainguardspark-3.53.5.7-r2
chainguardspark-4.14.1.1-r5
chainguardspark-fips-3.53.5.4-r17
debian 11derbyno fix listed
debian 12derbyno fix listed
debian 13derby10.14.2.0-3
debian 14derby10.14.2.0-3
echoderby10.14.2.0-3
echo maven::Echo OSVorg.apache.derby:derby10.14.2.1
rapidfort debian 12derby0:10.14.2.0-3
rapidfort debian 13derby0:10.14.2.0-3
wolfidruid32.0.1-r1
wolfilogstash-integration-jdbc5.4.8-r0
wolfispark-4.14.1.1-r5

References

Vulnerability data compiled from the Trivy vulnerability database (trivy-db, Aqua Security, Apache License 2.0), which aggregates third-party advisories. CVE records are published by The MITRE Corporation under the CVE Terms of Use; CVE is a trademark of MITRE. This product uses data from the NVD API but is not endorsed or certified by the NVD. Severity, titles and advisory data from the GitHub Advisory Database (CC BY 4.0), Red Hat security data (CC BY 4.0) and the other sources linked on each entry. Entries may be summarised or re-formatted; the linked original is the authoritative record.