WaratekVRT Sign in

CVE-2022-46337 Derby

Affected softwareDerby
Severity9.8 Critical CVSS 3.1 2 scores
Fixed in10.14.2.1, 10.16.1.2, 10.15.2.1
WeaknessCode injection (CWE-94)
Published20 Nov 2023
Updated17 Jun 2026

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.

CWE-74

Exploitation status

No public exploit

No exploit has been reported in the sources we check. Published 2 years ago.

  • CISA KEV not listed
  • VulnCheck KEV not listed
  • CISA Vulnrichment exploitation: none
  • Indexed PoC none indexed
  • EPSS 1.4% chance in 30 days

Waratek protection

No exploit published

Within Waratek scope. In the sources we check, nobody has published exploit code for this CVE or reported it being exploited.

A public code fix exists.

  • Protection none
  • Action unverified
  • Review automated Upstream data
  • Record active
Decided by Exploit code for this candidate, published in a reviewed catalogue or a GitHub repository with 5 or more stars, or in use per CISA or VulnCheck; not only a CISA verdict, a forecast, or nothing at all
Finding This CVE is not listed in CISA KEV or VulnCheck KEV, CISA Vulnrichment records no active exploitation, no reviewed exploit catalogue carries an entry for it, and no GitHub PoC repository for it has 5 or more stars. Nobody has published exploit code worth tracing, so it is not a candidate for a rule ahead of the ones where somebody has; an upstream fix path does exist, so the remediation half of the candidacy still holds. This is a statement about what has been published, not about whether the defect is reachable or serious.

CVSS

9.8 CRITICAL v3.1 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H 2 metrics

We show the highest score from the newest CVSS version. Scores from different versions can't be compared, and the first score listed is sometimes a 0.0 placeholder.

VersionScoreBandVectorAssignerType
CVSS 3.1 9.8 CRITICAL CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H NVD Primary published
CVSS 3.1 9.8 CRITICAL CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H CISA-ADP Secondary

Affected software and releases

Oracle advisories

AdvisoryTypeQuarterProducts Oracle names in its risk matrix
Oracle Critical Patch Update April 2026 ↗ CPU 2026-Q2 Oracle Communications / Core (Apache Pulsar) (6.1.1-7.0.0)
Oracle Critical Patch Update October 2024 ↗ CPU 2024-Q4 Oracle Commerce / Workbench (Apache Derby) (11.3.2)
Oracle Systems / Tools (Apache Derby) (4)
Oracle Critical Patch Update April 2024 ↗ CPU 2024-Q2 Oracle Enterprise Manager / Load Testing for Web Apps (Apache Derby) (13.3.0.1)
Oracle Financial Services Applications / Miscellaneous (Apache Derby) (12.1.0.0.0)
Oracle Fusion Middleware / Map Builder (Apache Derby) (12.2.1.4.0)
Oracle Fusion Middleware / Third Party (Apache Derby) (12.2.1.4.0)
Oracle Fusion Middleware / Third Party (Apache Derby) (12.2.1.4.0)
Oracle Insurance Applications / Development Tools (Apache Derby) (12.6, 12.7)
Oracle Retail Applications / RIB Kernal (Apache Derby) (16.0.3, 19.0.1)

Oracle components and versions

FamilyComponentVersions, as Oracle lists themRead as
Oracle Commerce Workbench (Apache Derby) 11.3.2 11.3.2
Oracle Communications Core (Apache Pulsar) 6.1.1-7.0.0
Oracle Enterprise Manager Load Testing for Web Apps (Apache Derby) 13.3.0.1 13.3.0.1
Oracle Financial Services Applications Miscellaneous (Apache Derby) 12.1.0.0.0 12.1.0.0.0
Oracle Fusion Middleware Map Builder (Apache Derby) 12.2.1.4.0 12.2.1.4.0
Oracle Fusion Middleware Third Party (Apache Derby) 12.2.1.4.0 12.2.1.4.0
Oracle Insurance Applications Development Tools (Apache Derby) 12.6, 12.7 12.6 · 12.7
Oracle Retail Applications RIB Kernal (Apache Derby) 16.0.3, 19.0.1 16.0.3 · 19.0.1
Oracle Systems Tools (Apache Derby) 4 4

Maven packages

Affected and fixed versions, from OSV.dev
PackageIntroducedFixedLast affected
org.apache.derby:derby 10.1.1.0 none 10.1.3.1
org.apache.derby:derby 10.2.1.6 none 10.2.2.0
org.apache.derby:derby 10.3.1.4 none 10.3.3.0
org.apache.derby:derby 10.4.1.3 none 10.4.2.0
org.apache.derby:derby 10.5.1.1 none 10.5.3.0
org.apache.derby:derby 10.6.1.0 none 10.6.2.1
org.apache.derby:derby unspecified none unbounded
org.apache.derby:derby 10.8.1.2 none 10.8.3.0
org.apache.derby:derby 10.10.1.1 none 10.10.2.0
org.apache.derby:derby 10.14.2.0 10.14.2.1 unbounded
org.apache.derby:derby 10.16.1.1 10.16.1.2 unbounded
org.apache.derby:derby 10.15.1.3 10.15.2.1 unbounded

Products and versions

2 products, 15 version entries
SourceVendorProductSchemeAffected versions
nvd apache derby generic ≥ 10.1.1.0 and < 10.14.3.0 · ≥ 10.15.1.3 and < 10.15.2.1 · 10.16.1.1
osv org.apache.derby derby generic any version · ≥ 10.1.1.0 and ≤ 10.1.3.1 · ≥ 10.2.1.6 and ≤ 10.2.2.0 · ≥ 10.3.1.4 and ≤ 10.3.3.0 · ≥ 10.4.1.3 and ≤ 10.4.2.0 · ≥ 10.5.1.1 and ≤ 10.5.3.0 · ≥ 10.6.1.0 and ≤ 10.6.2.1 · ≥ 10.8.1.2 and ≤ 10.8.3.0 · ≥ 10.10.1.1 and ≤ 10.10.2.0 · ≥ 10.14.2.0 and < 10.14.2.1 · ≥ 10.15.1.3 and < 10.15.2.1 · ≥ 10.16.1.1 and < 10.16.1.2

References

URLTags
https://github.com/apache/derby PACKAGE
https://issues.apache.org/jira/browse/DERBY-7147 WEB
https://lists.apache.org/thread/q23kvvtoohgzwybxpwozmvvk17rp0td3 WEB

Timeline

Published2023-11-20By the CVE Program.
NVD record modified2026-06-17NVD's own last-modified date for this record.