CVE-2020-10727: Artemis commons ActiveMQ Artemis Has Insufficiently Protected Vulnerability
MODERATECVE-2020-10727 is a MODERATE (CVSS 5.5) activemq artemis has insufficiently protected vulnerability (CWE-312: Cleartext Storage of Sensitive Information) affecting Artemis commons libraries in the Maven ecosystem. The issue involves activemq artemis has insufficiently protected credentials. Remediation is available by upgrading affected packages to version 2.13.0.
CVE-2020-10727 at a Glance
Security Impact
CVSS: 5.5
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N).
How to Fix CVE-2020-10727
To remediate this vulnerability, upgrade all affected Artemis commons 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.activemq</groupId>
<artifactId>artemis-commons</artifactId>
<version>2.13.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.activemq
How to Check if You Are Affected
To determine whether your Java application is affected by CVE-2020-10727, inspect your build dependencies using the Maven Dependency Plugin:
mvn dependency:tree -Dincludes=org.apache.activemq
Analyze the terminal output to locate any version of Artemis commons in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 2.13.0), your application is affected.
Note: The mvn dependency:tree -Dincludes=org.apache.activemq 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-312: Cleartext Storage of Sensitive Information, where the product stores sensitive information in cleartext within a resource that might be accessible to another control sphere. In Artemis commons, 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-10727 Affected Artemis commons Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
org.apache.activemq:artemis-commons
|
Maven |
≥ 2.7.0
< 2.13.0
|
2.13.0
|
References
Frequently Asked Questions
What is CVE-2020-10727?
Which Artemis commons versions are affected?
What version fixes CVE-2020-10727?
Is artemis-commons affected?
What is the CVSS score of CVE-2020-10727?
What CWE is associated with CVE-2020-10727?
How can I check Maven dependencies for CVE-2020-10727?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-q9g8-9hpp-xc82",
"modified" : "2026-07-07T13:11:30Z",
"published" : "2022-05-24T17:21:42Z",
"aliases" : [ "CVE-2020-10727" ],
"summary" : "ActiveMQ Artemis has Insufficiently Protected Credentials",
"details" : "A flaw was found in ActiveMQ Artemis management API from version 2.7.0 up until 2.12.0, where a user inadvertently stores passwords in plaintext in the Artemis shadow file (etc/artemis-users.properties file) when executing the `resetUsers` operation. A local attacker can use this flaw to read the contents of the Artemis shadow file.",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "Maven",
"name" : "org.apache.activemq:artemis-commons"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "2.7.0"
}, {
"fixed" : "2.13.0"
} ]
} ],
"database_specific" : {
"last_known_affected_version_range" : "<= 2.12.0"
}
} ],
"references" : [ {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2020-10727"
}, {
"type" : "WEB",
"url" : "https://bugzilla.redhat.com/show_bug.cgi?id=1827200"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/apache/artemis"
}, {
"type" : "WEB",
"url" : "https://issues.redhat.com/browse/ENTMQBR-3435"
}, {
"type" : "WEB",
"url" : "https://security.netapp.com/advisory/ntap-20210827-0001"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-312", "CWE-522" ],
"severity" : "MODERATE",
"github_reviewed" : true,
"github_reviewed_at" : "2022-06-24T01:26:20Z",
"nvd_published_at" : "2020-06-26T16:15:00Z"
}
}