Ecosyste.ms: Advisories

An open API service providing security vulnerability metadata for many open source software ecosystems.

Security Advisories: GSA_kwCzR0hTQS1yY2pjLWM0cGoteHhycM4AA3Qr

Apache Derby: LDAP injection vulnerability in authenticator

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.

Permalink: https://github.com/advisories/GHSA-rcjc-c4pj-xxrp
JSON: https://advisories.ecosyste.ms/api/v1/advisories/GSA_kwCzR0hTQS1yY2pjLWM0cGoteHhycM4AA3Qr
Source: GitHub Advisory Database
Origin: Unspecified
Severity: Critical
Classification: General
Published: 5 months ago
Updated: 3 months ago


CVSS Score: 9.8
CVSS vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Identifiers: GHSA-rcjc-c4pj-xxrp, CVE-2022-46337
References: Blast Radius: 42.6

Affected Packages

maven:org.apache.derby:derby
Dependent packages: 2,009
Dependent repositories: 22,059
Downloads:
Affected Version Ranges: >= 10.17.0.0, < 10.17.1.0, >= 10.16.0.0, < 10.16.1.2, >= 10.15.0.0, < 10.15.2.1, >= 10.1.1.0, < 10.14.3
Fixed in: 10.17.1.0, 10.16.1.2, 10.15.2.1, 10.14.3
All affected versions:
All unaffected versions: