CVE-2021-3644: Wildfly server Wildfly-core Allows User With Access Vulnerability

LOW
Advisory Identifier: GHSA-w88m-2936-rmxr
CVSS 3.3
Published
Advisory Summary

CVE-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

CVE Identifier CVE-2021-3644
GHSA Identifier GHSA-w88m-2936-rmxr
Severity LOW
CVSS v3.1 Base Score 3.3
CWE Classification General Security Weakness
Affected Product Wildfly server
Package Ecosystem Maven
Published Date
Last Updated

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).

Attack Vector Network (AV:N)
Attack Complexity High (AC:H)
Privileges Required High (PR:H)
User Interaction None (UI:N)
Scope Unchanged (S:U)
Confidentiality Low (C:L)
Integrity Low (I:L)
Availability None (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.

org.wildfly.core:wildfly-server fixed: 16.0.1.Final
<dependency>
    <groupId>org.wildfly.core</groupId>
    <artifactId>wildfly-server</artifactId>
    <version>16.0.1.Final</version>
</dependency>
org.wildfly.core:wildfly-server fixed: 17.0.0.Beta3
<dependency>
    <groupId>org.wildfly.core</groupId>
    <artifactId>wildfly-server</artifactId>
    <version>17.0.0.Beta3</version>
</dependency>
Verify Direct and Transitive Dependencies

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

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.

CVE-2021-3644 Affected Wildfly server Versions

2 component(s)
Fixed Versions:
16.0.1.Final17.0.0.Beta3
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?
CVE-2021-3644 is a security vulnerability in Wildfly server involving wildfly-core allows user with access to management interface to access vault expression, retrieve item from vault under General Security Weakness.
Which Wildfly server versions are affected?
Affected versions include releases prior to 16.0.1.Final, 17.0.0.Beta3 across affected packages: org.wildfly.core:wildfly-server.
What version fixes CVE-2021-3644?
Upgrading to 16.0.1.Final, 17.0.0.Beta3 (or the latest patched release for your respective branch) resolves the vulnerability.
Is wildfly-server affected?
Yes, org.wildfly.core:wildfly-server is affected in releases prior to 16.0.1.Final, 17.0.0.Beta3. Upgrade your dependency to 16.0.1.Final, 17.0.0.Beta3 or later.
What is the CVSS score of CVE-2021-3644?
CVE-2021-3644 has a CVSS v3.1 base score of 3.3 (LOW) with vector string CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:L/I:L/A:N.
What CWE is associated with CVE-2021-3644?
CVE-2021-3644 is classified under General Security Weakness.
How can I check Maven dependencies for CVE-2021-3644?
Run the dependency tree command: 'mvn dependency:tree -Dincludes=org.wildfly.core'. This command lists direct and transitive dependencies in your build configuration so you can verify if a vulnerable version is resolved.
Machine-readable OSV JSON OSV v1.5 Schema
Normalized schema output
{
  "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"
  }
}