CVE-2015-5254: Improper Input Validation in Apache ActiveMQ

Summary

13/05/2022
Yes i
Critical
9.8

CVE-2015-5254: Improper Input Validation in Apache ActiveMQ. Affects org.apache.activemq:activemq-client across 2 version ranges.

>= 5.0.0, < 5.11.3 >= 5.12.0, < 5.12.2

Fixed in 5.11.3 or 5.12.2, depending on the release line you run. How to fix ↓

Also tracked for

The same CVE-2015-5254 is tracked separately for each ecosystem and vendor. Its fix information is the same; the package and affected versions differ.

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored MarkAI Find prospects already talking about the problem you solve AI watches the communities your customers use to find qualified prospects, then alerts you when a conversation is worth joining. See MarkAI

Background

Apache ActiveMQ is an open-source message broker that implements the Java Message Service (JMS) specification. It provides reliable messaging between distributed applications, allowing them to communicate and exchange data. The 'org.apache.activemq:activemq-client' package is a client library for interacting with the ActiveMQ broker. This vulnerability affects versions prior to 5.13.0 of the package.

Vulnerability Detail

The vulnerability (CVE-2015-5254) in Apache ActiveMQ 5.x allows remote attackers to execute arbitrary code by exploiting improper input validation. Specifically, the broker does not restrict the classes that can be serialized, making it possible for an attacker to craft a serialized Java Message Service (JMS) ObjectMessage object that contains malicious code. When this object is deserialized by the broker, the code is executed, leading to arbitrary code execution on the server.

How To Fix

Fixed versions by release line

The minimum fixed version depends on the release line you run.

  • >= 5.0.0, < 5.11.3 5.11.3
  • >= 5.12.0, < 5.12.2 5.12.2

Tip — Not sure which release line you're on? Vulert can find the fix for the version you are using. Scan free →

Workaround

There is no known workaround for this vulnerability. It is crucial to apply the recommended fix by upgrading to Apache ActiveMQ 5.13.0 or later.

Conclusion

The vulnerability (CVE-2015-5254) in Apache ActiveMQ 5.x allows remote code execution by exploiting improper input validation. To mitigate this risk, it is essential to upgrade to Apache ActiveMQ version 5.13.0 or later. This version includes the necessary restrictions on serialized classes, preventing the execution of arbitrary code. For further support on vulnerability remediation, please contact DevNack.com.

See every vulnerability recorded for org.apache.activemq:activemq-client →

Share this vulnerability

FAQ

Apache ActiveMQ is an open-source message broker that facilitates communication between distributed applications using the Java Message Service (JMS) specification.

This vulnerability allows remote attackers to execute arbitrary code on the server running Apache ActiveMQ, potentially leading to unauthorized access, data breaches, or disruption of services.

To fix this vulnerability, you should upgrade to Apache ActiveMQ version 5.13.0 or later. This version includes the necessary restrictions on serialized classes to prevent the execution of arbitrary code.

No, there are no known workarounds for this vulnerability. It is crucial to apply the recommended fix by upgrading to Apache ActiveMQ 5.13.0 or later.

You can find more information about this vulnerability in the CVE-2015-5254 entry or by contacting the Apache ActiveMQ community.

Related vulnerabilities

Recent vulnerabilities recorded for org.apache.activemq:activemq-client.

How To Fix

Fixed versions by release line

The minimum fixed version depends on the release line you run.

  • >= 5.0.0, < 5.11.3 5.11.3
  • >= 5.12.0, < 5.12.2 5.12.2

Tip — Not sure which release line you're on? Vulert can find the fix for the version you are using. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback