derby — security advisory
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.
- Products
- derby
- Affected versions
- 10.14.2.0-2, 10.14.2.0-3, 10.17.1.0-1
- Fixed versions
- 10.14.2.0-3
- CVEs
- CVE-2022-46337
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 30 Oct 2026, 15:38 UTC · Revision 1
Source evidence
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.
osv:DEBIAN-CVE-2022-46337
derby
Fixed versions: Not specified
derby
Fixed versions: 10.14.2.0-3
derby
Fixed versions: 10.14.2.0-3
Complete source record
{
"id": "78015d46f71671e4d168b4f6a0b3a30acdb934eca8c14430716b462fa917f407",
"url": "https://osv.dev/vulnerability/DEBIAN-CVE-2022-46337",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "DEBIAN-CVE-2022-46337",
"summary": "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.",
"evidence": "osv:DEBIAN-CVE-2022-46337",
"products": [
{
"name": {
"value": "derby",
"evidence": "/affected/0/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "10.14.2.0-2",
"evidence": "/affected/0/versions"
},
{
"value": "10.14.2.0-3",
"evidence": "/affected/0/versions"
},
{
"value": "10.17.1.0-1",
"evidence": "/affected/0/versions"
}
]
},
{
"name": {
"value": "derby",
"evidence": "/affected/1/package/name"
},
"prerequisites": [],
"fixed_versions": [
{
"value": "10.14.2.0-3",
"evidence": "/affected/1/ranges"
}
],
"affected_versions": []
},
{
"name": {
"value": "derby",
"evidence": "/affected/2/package/name"
},
"prerequisites": [],
"fixed_versions": [
{
"value": "10.14.2.0-3",
"evidence": "/affected/2/ranges"
}
],
"affected_versions": []
}
],
"severity": "critical",
"structured": {
"id": "DEBIAN-CVE-2022-46337",
"aliases": [
"DEBIAN-CVE-2022-46337"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"
}
],
"affected": [
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "derby",
"purl": "pkg:deb/debian/derby?arch=source&distro=bookworm",
"ecosystem": "Debian:12"
},
"versions": [
"10.14.2.0-2",
"10.14.2.0-3",
"10.17.1.0-1"
],
"database_specific": {
"source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2022-46337.json"
},
"ecosystem_specific": {
"urgency": "not yet assigned"
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "10.14.2.0-3"
}
]
}
],
"package": {
"name": "derby",
"purl": "pkg:deb/debian/derby?arch=source&distro=trixie",
"ecosystem": "Debian:13"
},
"database_specific": {
"source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2022-46337.json"
},
"ecosystem_specific": {
"urgency": "not yet assigned"
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "10.14.2.0-3"
}
]
}
],
"package": {
"name": "derby",
"purl": "pkg:deb/debian/derby?arch=source&distro=forky",
"ecosystem": "Debian:14"
},
"database_specific": {
"source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2022-46337.json"
},
"ecosystem_specific": {
"urgency": "not yet assigned"
}
}
],
"modified": "2026-10-15T08:03:10.347104917Z",
"provider": "osv",
"upstream": [
"CVE-2022-46337"
],
"references": [
"https://security-tracker.debian.org/tracker/CVE-2022-46337"
]
},
"related_cves": [
{
"value": "CVE-2022-46337",
"evidence": "/upstream"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 325513,
"published_at": "2023-11-20T09:15:07.18+00:00"
}