CVE-2007-5794: Software Security Vulnerability Vulnerability
MODERATECVE-2007-5794 is a MODERATE security vulnerability vulnerability (CWE-362: Concurrent Execution using Shared Resource with Improper Synchronization ('Race Condition')) affecting Software libraries in the Maven ecosystem. The weakness occurs when the product contains a concurrent code sequence that requires temporary, exclusive access to a shared resource, but a timing window exists in which the shared resource can be modified by another code sequence operating concurrently.. Remediation is available in the latest vendor maintenance releases.
CVE-2007-5794 at a Glance
How to Fix CVE-2007-5794
To remediate this vulnerability, upgrade all affected Software dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
mvn dependency:tree
How to Check if You Are Affected
To determine whether your Java application is affected by CVE-2007-5794, inspect your build dependencies using the Maven Dependency Plugin:
mvn dependency:tree
Analyze the terminal output to locate any version of Software in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than the patched release), your application is affected.
Note: The mvn dependency:tree 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-362: Concurrent Execution using Shared Resource with Improper Synchronization ('Race Condition'), where the product contains a concurrent code sequence that requires temporary, exclusive access to a shared resource, but a timing window exists in which the shared resource can be modified by another code sequence operating concurrently. In Software, 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
References
Frequently Asked Questions
What is CVE-2007-5794?
Which Software versions are affected?
What version fixes CVE-2007-5794?
What CWE is associated with CVE-2007-5794?
How can I check Maven dependencies for CVE-2007-5794?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-8frr-8v9h-5c7m",
"modified" : "2022-05-01T18:36:44Z",
"published" : "2022-05-01T18:36:44Z",
"aliases" : [ "CVE-2007-5794" ],
"details" : "Race condition in nss_ldap, when used in applications that are linked against the pthread library and fork after a call to nss_ldap, might send user data to the wrong process because of improper handling of the LDAP connection. NOTE: this issue was originally reported for Dovecot with the wrong mailboxes being returned, but other applications might also be affected.",
"severity" : [ ],
"affected" : [ ],
"references" : [ {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2007-5794"
}, {
"type" : "WEB",
"url" : "https://bugzilla.redhat.com/show_bug.cgi?id=154314"
}, {
"type" : "WEB",
"url" : "https://bugzilla.redhat.com/show_bug.cgi?id=367461"
}, {
"type" : "WEB",
"url" : "https://exchange.xforce.ibmcloud.com/vulnerabilities/38505"
}, {
"type" : "WEB",
"url" : "https://issues.rpath.com/browse/RPL-1913"
}, {
"type" : "WEB",
"url" : "https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A10625"
}, {
"type" : "WEB",
"url" : "http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=453868"
}, {
"type" : "WEB",
"url" : "http://bugs.gentoo.org/show_bug.cgi?id=198390"
}, {
"type" : "WEB",
"url" : "http://lists.opensuse.org/opensuse-security-announce/2008-02/msg00003.html"
}, {
"type" : "WEB",
"url" : "http://secunia.com/advisories/27670"
}, {
"type" : "WEB",
"url" : "http://secunia.com/advisories/27768"
}, {
"type" : "WEB",
"url" : "http://secunia.com/advisories/27839"
}, {
"type" : "WEB",
"url" : "http://secunia.com/advisories/28061"
}, {
"type" : "WEB",
"url" : "http://secunia.com/advisories/28838"
}, {
"type" : "WEB",
"url" : "http://secunia.com/advisories/29083"
}, {
"type" : "WEB",
"url" : "http://secunia.com/advisories/30352"
}, {
"type" : "WEB",
"url" : "http://secunia.com/advisories/31227"
}, {
"type" : "WEB",
"url" : "http://secunia.com/advisories/31524"
}, {
"type" : "WEB",
"url" : "http://security.gentoo.org/glsa/glsa-200711-33.xml"
}, {
"type" : "WEB",
"url" : "http://support.avaya.com/elmodocs2/security/ASA-2008-332.htm"
}, {
"type" : "WEB",
"url" : "http://wiki.rpath.com/wiki/Advisories:rPSA-2007-0255"
}, {
"type" : "WEB",
"url" : "http://www.debian.org/security/2007/dsa-1430"
}, {
"type" : "WEB",
"url" : "http://www.dovecot.org/list/dovecot/2005-April/006859.html"
}, {
"type" : "WEB",
"url" : "http://www.dovecot.org/list/dovecot/2005-March/006345.html"
}, {
"type" : "WEB",
"url" : "http://www.mandriva.com/security/advisories?name=MDVSA-2008:049"
}, {
"type" : "WEB",
"url" : "http://www.redhat.com/support/errata/RHSA-2008-0389.html"
}, {
"type" : "WEB",
"url" : "http://www.redhat.com/support/errata/RHSA-2008-0715.html"
}, {
"type" : "WEB",
"url" : "http://www.securityfocus.com/archive/1/487985/100/0/threaded"
}, {
"type" : "WEB",
"url" : "http://www.securityfocus.com/bid/26452"
}, {
"type" : "WEB",
"url" : "http://www.securitytracker.com/id?1020088"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-362" ],
"severity" : "MODERATE",
"github_reviewed" : false,
"github_reviewed_at" : null,
"nvd_published_at" : "2007-11-13T23:46:00Z"
}
}