CVE-2009-4269: Derby Use Of Password Hash With Vulnerability
MODERATECVE-2009-4269 is a MODERATE use of password hash with vulnerability (CWE-916: Use of Password Hash With Insufficient Computational Effort) affecting Derby libraries in the Maven ecosystem. The issue involves use of password hash with insufficient computational effort in apache derby. Remediation is available by upgrading affected packages to version 10.6.1.0.
CVE-2009-4269 at a Glance
How to Fix CVE-2009-4269
To remediate this vulnerability, upgrade all affected Derby dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
<dependency>
<groupId>org.apache.derby</groupId>
<artifactId>derby</artifactId>
<version>10.6.1.0</version>
</dependency>
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
mvn dependency:tree -Dincludes=org.apache.derby
How to Check if You Are Affected
To determine whether your Java application is affected by CVE-2009-4269, inspect your build dependencies using the Maven Dependency Plugin:
mvn dependency:tree -Dincludes=org.apache.derby
Analyze the terminal output to locate any version of Derby in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 10.6.1.0), your application is affected.
Note: The mvn dependency:tree -Dincludes=org.apache.derby command inspects the resolved dependency graph declared in your project's POM files; it does not perform automated security scanning or inspect runtime dynamic classpaths. Always verify runtime container classpaths and shaded JARs.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-916: Use of Password Hash With Insufficient Computational Effort, where the product generates a hash for a password, but it uses a scheme that does not provide a sufficient level of computational effort that would make password cracking attacks infeasible or expensive. In Derby, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
CVE-2009-4269 Affected Derby Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
org.apache.derby:derby
|
Maven |
< 10.6.1.0
|
10.6.1.0
|
References
Frequently Asked Questions
What is CVE-2009-4269?
Which Derby versions are affected?
What version fixes CVE-2009-4269?
Is derby affected?
What CWE is associated with CVE-2009-4269?
How can I check Maven dependencies for CVE-2009-4269?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-fh32-35w2-rxcc",
"modified" : "2022-06-17T22:23:08Z",
"published" : "2022-05-02T03:53:13Z",
"aliases" : [ "CVE-2009-4269" ],
"summary" : "Use of Password Hash With Insufficient Computational Effort in Apache Derby",
"details" : "The password hash generation algorithm in the BUILTIN authentication functionality for Apache Derby before 10.6.1.0 performs a transformation that reduces the size of the set of inputs to SHA-1, which produces a small search space that makes it easier for local and possibly remote attackers to crack passwords by generating hash collisions, related to password substitution.",
"severity" : [ ],
"affected" : [ {
"package" : {
"ecosystem" : "Maven",
"name" : "org.apache.derby:derby"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "10.6.1.0"
} ]
} ],
"database_specific" : {
"last_known_affected_version_range" : "<= 10.5.3.01"
}
} ],
"references" : [ {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2009-4269"
}, {
"type" : "WEB",
"url" : "https://github.com/apache/derby/commit/178ca0cfb796b5a5788d25ded0978773ea254332"
}, {
"type" : "WEB",
"url" : "https://github.com/apache/derby/commit/23f97a597716ee5b08eff698b7177850ad8e1294"
}, {
"type" : "WEB",
"url" : "https://github.com/apache/derby/commit/3b82686e32a8d4fa2027350279104f9b243b35d6"
}, {
"type" : "WEB",
"url" : "https://github.com/apache/derby/commit/60edeb0cb29daf9d28ece1863db779c1af5a3f62"
}, {
"type" : "WEB",
"url" : "https://github.com/apache/derby/commit/8c305e2f3fad1c3a4f98c06c7f2b53e2bfdd308c"
}, {
"type" : "WEB",
"url" : "https://issues.apache.org/jira/browse/DERBY-4483"
}, {
"type" : "WEB",
"url" : "http://db.apache.org/derby/releases/release-10.6.1.0.cgi#Fix+for+Security+Bug+CVE-2009-4269"
}, {
"type" : "WEB",
"url" : "http://marc.info/?l=apache-db-general&m=127428514905504&w=1"
}, {
"type" : "WEB",
"url" : "http://www.oracle.com/technetwork/topics/security/cpujan2011-194091.html"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-916" ],
"severity" : "MODERATE",
"github_reviewed" : true,
"github_reviewed_at" : "2022-06-17T22:23:08Z",
"nvd_published_at" : "2010-08-16T20:00:00Z"
}
}