CVE-2021-26117
ActiveMQ: LDAP-Authentication does not verify passwords on servers with anonymous bind
Check your servers for CVE-2021-26117
The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2021-26117 affects a package, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.
Description
The optional ActiveMQ LDAP login module can be configured to use anonymous access to the LDAP server. In this case, for Apache ActiveMQ Artemis prior to version 2.16.0 and Apache ActiveMQ prior to versions 5.16.1 and 5.15.14, the anonymous context is used to verify a valid users password in error, resulting in no check on the password.
Exploitation
EPSS 11.0%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 96.0% of all scored CVEs. Scores of 1 Dec 2026.
Weakness
- CWE-287 Improper Authentication
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
| Apache ActiveMQ |
affected from Apache ActiveMQ Artemis, before 2.16.0 affected from Apache ActiveMQ, before 5.16.1 (unaffected from 5.15.14)
|
Is my server affected?
Find the installed version of the package (replace PACKAGE with its name) and compare it with the fixed version of your distribution. Distributions often fix a CVE in a package version of their own, so the version number of the upstream project can mislead.
Debian, Ubuntu
dpkg -l | grep -i PACKAGE
# packages whose changelog names the CVE (fixed in the installed version)
zgrep -l CVE-2021-26117 /usr/share/doc/*/changelog.Debian.gz
# Ubuntu
pro fix CVE-2021-26117RHEL, Rocky, Alma, Fedora
rpm -q PACKAGE
# lists the advisory while the fix is not installed
dnf updateinfo list --cve CVE-2021-26117Alpine
apk list --installed | grep -i PACKAGEWith Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:
trivy rootfs --scanners vuln / | grep CVE-2021-26117
trivy image --scanners vuln IMAGE | grep CVE-2021-26117
Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.
References
Other references
- https://mail-archives.apache.org/mod_mbox/activemq-users/202101.mbox/%3cCAH+vQmMeUEiKN4wYX9nLBbqmFZFPXqajNvBKmzb2V8QZANcSTA%40mail.gmail.com%3e mail-archives.apache.org
- [activemq-commits] 20210128 [activemq-website] branch master updated: CVE-2021-26117 - add mitigation section lists.apache.org · mailing list
- [announce] 20210128 CVE-2021-26117: ActiveMQ: LDAP-Authentication does not verify passwords on servers with… lists.apache.org · mailing list
- [activemq-commits] 20210208 [activemq-website] branch master updated: Publish CVE-2020-13947 lists.apache.org · mailing list
- [debian-lts-announce] 20210305 [SECURITY] [DLA 2583-1] activemq security update lists.debian.org · mailing list
- [activemq-gitbox] 20210323 [GitHub] [activemq-artemis] trevorlinton opened a new pull request #3515: Update activmq5… lists.apache.org · mailing list
- [activemq-gitbox] 20210409 [GitHub] [activemq-artemis] brusdev commented on pull request #3515: Update activmq5… lists.apache.org · mailing list
- [activemq-gitbox] 20210409 [GitHub] [activemq-artemis] brusdev closed pull request #3515: Update activmq5 version to… lists.apache.org · mailing list
- [activemq-issues] 20210421 [jira] [Updated] (AMQ-8246) CVE-2021-26117 still exists on 5.16.1 lists.apache.org · mailing list
- [activemq-issues] 20210421 [jira] [Created] (AMQ-8244) CVE-2021-26117 on AMQ 5.16.1 lists.apache.org · mailing list
- [activemq-issues] 20210421 [jira] [Created] (AMQ-8245) CVE-2021-26117 on AMQ 5.16.1 lists.apache.org · mailing list
- [activemq-issues] 20210421 [jira] [Created] (AMQ-8246) CVE-2021-26117 still exists on 5.16.1 lists.apache.org · mailing list
9 more
- [activemq-issues] 20210509 [jira] [Commented] (AMQ-8246) CVE-2021-26117 still exists on 5.16.1 lists.apache.org · mailing list
- [activemq-issues] 20210509 [jira] [Deleted] (AMQ-8244) CVE-2021-26117 on AMQ 5.16.1 lists.apache.org · mailing list
- [activemq-issues] 20210509 [jira] [Deleted] (AMQ-8245) CVE-2021-26117 on AMQ 5.16.1 lists.apache.org · mailing list
- [activemq-issues] 20210421 [jira] [Updated] (AMQ-8246) CVE-2021-26117 still exists on 5.16.1 lists.apache.org · mailing list
- https://www.oracle.com/security-alerts/cpuApr2021.html oracle.com
- https://security.netapp.com/advisory/ntap-20210304-0008/ security.netapp.com
- https://www.oracle.com//security-alerts/cpujul2021.html oracle.com
- https://www.oracle.com/security-alerts/cpuoct2021.html oracle.com
- [debian-lts-announce] 20231120 [SECURITY] [DLA 3657-1] activemq security update lists.debian.org · mailing list
Source: the record CVE-2021-26117 of the CVE List (CVE Program), CVE Terms of Use; EPSS of FIRST; the CWE catalog of MITRE, CWE Terms of Use. The text of the record is shown as published. Data sources and licences.
Vulnpocalypse