Skip to content

GHSA-m9w8-v359-9ffr CVE-2018-11775

Improper Certificate Validation in Apache activemq-client

High Maven
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

PackageVulnerableFixed 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

Timeline

  1. Published
  2. Last updated by the source
  3. Latest EPSS score
AdvisorySeverityWhy 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
Is this in your code?

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