CVE-2021-3644: Wildfly server Wildfly-core Allows User With Access Vulnerability
LOWCVE-2021-3644 is a LOW (CVSS 3.3) wildfly-core allows user with access vulnerability (General Security Weakness) affecting Wildfly server libraries in the Maven ecosystem. The issue involves wildfly-core allows user with access to management interface to access vault expression, retrieve item from vault. Remediation is available by upgrading affected packages to version 16.0.1.Final, 17.0.0.Beta3.
CVE-2021-3644 at a Glance
Security Impact
CVSS: 3.3
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:L/I:L/A:N).
How to Fix CVE-2021-3644
To remediate this vulnerability, upgrade all affected Wildfly server 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.core</groupId>
<artifactId>wildfly-server</artifactId>
<version>16.0.1.Final</version>
</dependency>
<dependency>
<groupId>org.wildfly.core</groupId>
<artifactId>wildfly-server</artifactId>
<version>17.0.0.Beta3</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.core
How to Check if You Are Affected
To determine whether your Java application is affected by CVE-2021-3644, inspect your build dependencies using the Maven Dependency Plugin:
mvn dependency:tree -Dincludes=org.wildfly.core
Analyze the terminal output to locate any version of Wildfly server in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 16.0.1.Final), your application is affected.
Note: The mvn dependency:tree -Dincludes=org.wildfly.core 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 General Security Weakness. In Wildfly server, 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-2021-3644 Affected Wildfly server Versions
2 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
org.wildfly.core:wildfly-server
|
Maven |
< 16.0.1.Final
|
16.0.1.Final
|
|
org.wildfly.core:wildfly-server
|
Maven |
≥ 17.0.0.Beta2
< 17.0.0.Beta3
|
17.0.0.Beta3
|
References
Frequently Asked Questions
What is CVE-2021-3644?
Which Wildfly server versions are affected?
What version fixes CVE-2021-3644?
Is wildfly-server affected?
What is the CVSS score of CVE-2021-3644?
What CWE is associated with CVE-2021-3644?
How can I check Maven dependencies for CVE-2021-3644?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-w88m-2936-rmxr",
"modified" : "2022-09-02T21:13:13Z",
"published" : "2022-08-27T00:00:45Z",
"aliases" : [ "CVE-2021-3644" ],
"summary" : "wildfly-core allows user with access to management interface to access vault expression, retrieve item from vault",
"details" : "A flaw was found in wildfly-core in all versions. If a vault expression is in the form of a single attribute that contains multiple expressions, a user who was granted access to the management interface can potentially access a vault expression they should not be able to access and possibly retrieve the item which was stored in the vault. The highest threat from this vulnerability is data confidentiality and integrity.",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:L/I:L/A:N"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "Maven",
"name" : "org.wildfly.core:wildfly-server"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "16.0.1.Final"
} ]
} ]
}, {
"package" : {
"ecosystem" : "Maven",
"name" : "org.wildfly.core:wildfly-server"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "17.0.0.Beta2"
}, {
"fixed" : "17.0.0.Beta3"
} ]
} ]
} ],
"references" : [ {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2021-3644"
}, {
"type" : "WEB",
"url" : "https://github.com/wildfly/wildfly-core/pull/4668"
}, {
"type" : "WEB",
"url" : "https://github.com/wildfly/wildfly-core/commit/06dd9884f6ba50470b1fb5a35198a8784f037714"
}, {
"type" : "WEB",
"url" : "https://github.com/wildfly/wildfly-core/commit/6d8db43cd43b5994b7a14003db978064e086090b"
}, {
"type" : "WEB",
"url" : "https://access.redhat.com/security/cve/CVE-2021-3644"
}, {
"type" : "WEB",
"url" : "https://bugzilla.redhat.com/show_bug.cgi?id=1976052"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/wildfly/wildfly-core"
}, {
"type" : "WEB",
"url" : "https://issues.redhat.com/browse/WFCORE-5511"
} ],
"database_specific" : {
"cwe_ids" : [ ],
"severity" : "LOW",
"github_reviewed" : true,
"github_reviewed_at" : "2022-09-02T21:13:13Z",
"nvd_published_at" : "2022-08-26T16:15:00Z"
}
}