CVE-2022-46337
A cleverly devised username might bypass LDAP authentication checks. I ...
Severity by source
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
| Source | Package | Fixed in |
|---|---|---|
| maven::GitHub Security Advisory Maven | org.apache.derby:derby | 10.14.2.1, 10.16.1.2, 10.15.2.1 |
| chainguard | druid, hadoop-fips-3.3.6, hadoop-fips-3.5 and 6 more | 32.0.1-r1 and 7 more |
| debian 11 | derby | no fix listed |
| debian 12 | derby | no fix listed |
| debian 13 | derby | 10.14.2.0-3 |
| debian 14 | derby | 10.14.2.0-3 |
| echo | derby | 10.14.2.0-3 |
| echo maven::Echo OSV | org.apache.derby:derby | 10.14.2.1 |
| rapidfort debian 12 | derby | 0:10.14.2.0-3 |
| rapidfort debian 13 | derby | 0:10.14.2.0-3 |
| wolfi | druid, logstash-integration-jdbc, spark-4.1 | 32.0.1-r1 and 2 more |
Show all 21 entries from 11 sources
| Source | Package | Fixed in |
|---|---|---|
| maven::GitHub Security Advisory Maven | org.apache.derby:derby | 10.14.2.1, 10.16.1.2, 10.15.2.1 |
| chainguard | druid | 32.0.1-r1 |
| chainguard | hadoop-fips-3.3.6 | 3.3.6-r15 |
| chainguard | hadoop-fips-3.5 | 3.5.0-r11 |
| chainguard | logstash-integration-jdbc | 5.4.8-r0 |
| chainguard | nacos | 0 |
| chainguard | nacos-docker | 0 |
| chainguard | spark-3.5 | 3.5.7-r2 |
| chainguard | spark-4.1 | 4.1.1-r5 |
| chainguard | spark-fips-3.5 | 3.5.4-r17 |
| debian 11 | derby | no fix listed |
| debian 12 | derby | no fix listed |
| debian 13 | derby | 10.14.2.0-3 |
| debian 14 | derby | 10.14.2.0-3 |
| echo | derby | 10.14.2.0-3 |
| echo maven::Echo OSV | org.apache.derby:derby | 10.14.2.1 |
| rapidfort debian 12 | derby | 0:10.14.2.0-3 |
| rapidfort debian 13 | derby | 0:10.14.2.0-3 |
| wolfi | druid | 32.0.1-r1 |
| wolfi | logstash-integration-jdbc | 5.4.8-r0 |
| wolfi | spark-4.1 | 4.1.1-r5 |