LDAP Injection Affecting org.apache.derby:derby package, versions [10.1.1.0,10.17.1.0)


Severity

Recommended
0.0
medium
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.69% (80th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about LDAP Injection vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-JAVA-ORGAPACHEDERBY-6069877
  • published26 Jan 2024
  • disclosed20 Nov 2023
  • credit4ra1n, Y4tacker

Introduced: 20 Nov 2023

CVE-2022-46337  (opens in a new tab)
CWE-307  (opens in a new tab)

How to fix?

Upgrade org.apache.derby:derby to version 10.17.1.0 or higher.

Overview

org.apache.derby:derby is a database engine by Apache.

Affected versions of this package are vulnerable to LDAP Injection due to improper LDAP authentication checks. An attacker can fill up the disk by creating junk databases and execute malware visible to and executable by the account which booted the server. Additionally, if the databases aren't also protected by SQL GRANT/REVOKE authorization, the attacker can view and corrupt sensitive data, and run sensitive database functions and procedures.

CVSS Scores

version 3.1