GHSA-m9w8-v359-9ffr CVE-2018-11775
Improper Certificate Validation in Apache activemq-client
- Severity
- 7.4 / 10
- High · CVSS 3.0
- Exploit chance (EPSS)
- 6.96%
- Chance of exploitation in the next 30 days. Higher than 94.13% of scored vulnerabilities.
- Known exploited
- No
- Not in CISA's catalog
- Weakness
- CWE-295 Improper Certificate Validation
- Fix
5.15.6- Upgrade org.apache.activemq:activemq-client to this version or later
Description
TLS hostname verification when using the Apache ActiveMQ Client before 5.15.6 was missing which could make the client vulnerable to a MITM attack between a Java application using the ActiveMQ client and the ActiveMQ server. This is now enabled by default.
Affected versions
Maven
| Package | Vulnerable | Fixed in |
|---|---|---|
| org.apache.activemq:activemq-client | < 5.15.6 |
5.15.6 |
How to fix
Move to the fixed version or later with your package manager, update the lockfile, and run your tests. If the package only arrives through another dependency, upgrade that dependency first. If none of its releases pulls a fixed version yet, force the version with your package manager's override.
org.apache.activemq:activemq-client Maven → 5.15.6
- maven
<dependency><groupId>org.apache.activemq</groupId><artifactId>activemq-client</artifactId><version>5.15.6</version></dependency>- gradle
implementation("org.apache.activemq:activemq-client:5.15.6")
Severity breakdown
CVSS 3.0 7.4
CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N
- Attack vector
- Network
- Attack complexity
- High
- Privileges required
- None
- User interaction
- None
- Scope
- Unchanged
- Confidentiality
- High
- Integrity
- High
- Availability
- None
Weakness
CWE-295: Improper Certificate Validation
The product does not validate, or incorrectly validates, a certificate.
How to prevent it
- Architecture and Design, Implementation: Certificates should be carefully managed and checked to assure that data are encrypted with the intended owner's public key.
- Implementation: If certificate pinning is being used, ensure that all relevant properties of the certificate are fully validated before the certificate is pinned, including the hostname.
References
Advisories
Packages
Other links
- github.com/apache/activemq/commit/02971a40e281713a8397d3a1809c164b594abfbb
- github.com/apache/activemq/commit/bde7097fb8173cf871827df7811b3865679b963d
- access.redhat.com/errata/RHSA-2019:3892
- issues.apache.org/jira/browse/AMQ-7047
- lists.apache.org/thread.html/03f91b1fb85686a848cee6b90112cf6059bd1b21b23bacaa11a962e1…
- lists.apache.org/thread.html/2b5c0039197a4949f29e1e2c9441ab38d242946b966f61c110808bcc…
- lists.apache.org/thread.html/a859563f05fbe7c31916b3178c2697165bd9bbf5a65d1cf62aef27d2…
- lists.apache.org/thread.html/fcbe6ad00f1de142148c20d813fae3765dc4274955e3e2f3ca19ff7b…
- lists.apache.org/thread.html/rb698ed085f79e56146ca24ab359c9ef95846618675ea1ef402e04a6…
- lists.debian.org/debian-lts-announce/2021/03/msg00005.html
- activemq.apache.org/security-advisories.data/CVE-2018-11775-announcement.txt
Timeline
- Published
- Last updated by the source
- Latest EPSS score
Related advisories
| Advisory | Severity | Why it's related |
|---|---|---|
| GHSA-crg9-44h2-xw35 Apache ActiveMQ is vulnerable to Remote Code Execution | Critical Known exploited | Also affects org.apache.activemq:activemq-client |
| GHSA-rxqh-fc23-gxp2 Improper Input Validation in Apache ActiveMQ | Critical Known exploited | Also affects org.apache.activemq:activemq-client |
| GHSA-5568-6qcg-g7fx Apache ActiveMQ: Denial of Service via Out of Memory vulnerability | High | Also affects org.apache.activemq:activemq-client |
| GHSA-h2h4-5m64-m273 Apache ActiveMQ: Improper validation and restriction of a classpath path name | Medium | Also affects org.apache.activemq:activemq-client |
| GHSA-whxr-3p84-rf3c Apache ActiveMQ: Unchecked buffer length can cause excessive memory allocation | High | Also affects org.apache.activemq:activemq-client |
| GHSA-p358-58jj-hp65 Improper Authentication in Apache ActiveMQ | Medium | Also affects org.apache.activemq:activemq-client |
| GHSA-mfhr-3xmc-r2gg Improper Neutralization of Input During Web Page Generation in Apache ActiveMQ | Medium | Also affects org.apache.activemq:activemq-client |
| GHSA-3wfj-vh84-732p Improper Neutralization of Special Elements used in an OS Command in Apache ActiveMQ | High | Also affects org.apache.activemq:activemq-client |
MergeHarbor checks every repository's dependencies against this database, ranks what matters by exploitability and reachability, routes it to the owning team and opens the fix pull request.
Check your repos with MergeHarbor