CVE-2020-25644: Wildfly openssl natives parent Wildfly-OpenSSL Memory Leak Flaw Vulnerability
HIGHCVE-2020-25644 is a HIGH (CVSS 7.5) wildfly-openssl memory leak flaw vulnerability (CWE-401: Missing Release of Memory after Effective Lifetime) affecting Wildfly openssl natives parent libraries in the Maven ecosystem. The issue involves wildfly-openssl memory leak flaw. Remediation is available by upgrading affected packages to version 1.1.3.Final.
CVE-2020-25644 at a Glance
Security Impact
CVSS: 7.5
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H).
How to Fix CVE-2020-25644
To remediate this vulnerability, upgrade all affected Wildfly openssl natives parent 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.wildfly.openssl</groupId>
<artifactId>wildfly-openssl-natives-parent</artifactId>
<version>1.1.3.Final</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.wildfly.openssl
How to Check if You Are Affected
To determine whether your Java application is affected by CVE-2020-25644, inspect your build dependencies using the Maven Dependency Plugin:
mvn dependency:tree -Dincludes=org.wildfly.openssl
Analyze the terminal output to locate any version of Wildfly openssl natives parent in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 1.1.3.Final), your application is affected.
Note: The mvn dependency:tree -Dincludes=org.wildfly.openssl 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-401: Missing Release of Memory after Effective Lifetime, where the product does not sufficiently track and release allocated memory after it has been used, making the memory unavailable for reallocation and reuse. In Wildfly openssl natives parent, 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-2020-25644 Affected Wildfly openssl natives parent Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
org.wildfly.openssl:wildfly-openssl-natives-parent
|
Maven |
< 1.1.3.Final
|
1.1.3.Final
|
References
Frequently Asked Questions
What is CVE-2020-25644?
Which Wildfly openssl natives parent versions are affected?
What version fixes CVE-2020-25644?
Is wildfly-openssl-natives-parent affected?
What is the CVSS score of CVE-2020-25644?
What CWE is associated with CVE-2020-25644?
How can I check Maven dependencies for CVE-2020-25644?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-hxj4-885f-grgp",
"modified" : "2024-02-22T01:45:33Z",
"published" : "2022-05-24T17:30:10Z",
"aliases" : [ "CVE-2020-25644" ],
"summary" : "Wildfly-OpenSSL memory leak flaw",
"details" : "A memory leak flaw was found in WildFly OpenSSL in versions prior to 1.1.3.Final, where it removes an HTTP session. It may allow the attacker to cause OOM leading to a denial of service. The highest threat from this vulnerability is to system availability.",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "Maven",
"name" : "org.wildfly.openssl:wildfly-openssl-natives-parent"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "1.1.3.Final"
} ]
} ]
} ],
"references" : [ {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2020-25644"
}, {
"type" : "WEB",
"url" : "https://github.com/wildfly-security/wildfly-openssl-natives/pull/4"
}, {
"type" : "WEB",
"url" : "https://github.com/wildfly-security/wildfly-openssl-natives/pull/4/files"
}, {
"type" : "WEB",
"url" : "https://github.com/wildfly-security/wildfly-openssl-natives/commit/7c26514676f3fb0dee0bcaa7d4680f982372950f"
}, {
"type" : "WEB",
"url" : "https://bugzilla.redhat.com/show_bug.cgi?id=1885485"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/wildfly-security/wildfly-openssl-natives"
}, {
"type" : "WEB",
"url" : "https://issues.redhat.com/browse/WFSSL-51"
}, {
"type" : "WEB",
"url" : "https://security.netapp.com/advisory/ntap-20201016-0004"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-401" ],
"severity" : "HIGH",
"github_reviewed" : true,
"github_reviewed_at" : "2023-07-13T23:13:57Z",
"nvd_published_at" : "2020-10-06T14:15:00Z"
}
}