# Improper Input Validation in Apache ActiveMQ

Advisory record · `GHSA-q9hr-3pg4-3jp4`

- **Identifiers:** `GHSA-q9hr-3pg4-3jp4` · `CVE-2015-5254`
- **State:** Confirmed
- **Severity:** CVSS 9.8 Critical
- **Critical:** Yes: CVSS 9+, CVSS 7+ and EPSS
- **Weakness (CWE):** [CWE-20](https://cwe.mitre.org/data/definitions/20.html)
- **Tags:** [CWE-20](https://agentprime.io/advisories/tag/cwe-20.md)
- **Published:** 13 May 2022
- **Updated:** 21 Feb 2024
- **Reviewed by a person:** No

Published by the GitHub Advisory Database at 13 May 2022, 01:30 UTC. agentprime has not analysed this yet, so whether it affects any app is not known.

## Critical

Critical, because:

- CVSS score 9.8: 9.0 or more.
- CVSS score 9.8 (7.0 or more) and EPSS 0.38 (0.1 or more): a high score and a real chance of exploitation in the next 30 days.

How we decide what’s critical: <https://agentprime.io/advisories/critical.md>

## Affected packages

- `org.apache.activemq:activemq-client` (Maven): affected `>=5.0.0, <5.11.3 || >=5.12.0, <5.12.2`; fixed in `5.11.3`, `5.12.2`

## Not analysed yet

We haven’t published our analysis of this Advisory yet. Once a person has reviewed it, this page will say what’s vulnerable, what has to be true for your app to be affected, and how to check.

## Severity and exploitation

- 9.8 Critical, CVSS 3.0: `CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`, from GitHub Advisory Database

- **CISA KEV:** Not listed.
- **EPSS:** 0.38, the 98th percentile, on 17 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.

## Timeline

This record came from the full history of the GitHub Advisory Database, published 13 May 2022. New records show when each source confirmed them.

## Sources

- [GitHub Advisory Database: GHSA-q9hr-3pg4-3jp4](https://github.com/advisories/GHSA-q9hr-3pg4-3jp4)
- [OSV: GHSA-q9hr-3pg4-3jp4](https://osv.dev/vulnerability/GHSA-q9hr-3pg4-3jp4)
- <https://nvd.nist.gov/vuln/detail/CVE-2015-5254>
- <https://github.com/apache/activemq/commit/6f03921b31d9fefeddb0f4fa63150ed1f94a14b>
- <https://github.com/apache/activemq/commit/73a0caf758f9e4916783a205c7e422b4db27905>
- <https://github.com/apache/activemq/commit/7eb9b218b2705cf9273e30ee2da026e43b6dd4e>
- <https://github.com/apache/activemq/commit/e7a4b53f799685e337972dd36ba0253c04bcc01>
- <https://github.com/apache/activemq>
- <https://h20566.www2.hpe.com/portal/site/hpsc/public/kb/docDisplay?docId=emr_na-c05385680>
- <https://issues.apache.org/jira/browse/AMQ-6013>
- <https://lists.apache.org/thread.html/a859563f05fbe7c31916b3178c2697165bd9bbf5a65d1cf62aef27d2@%3Ccommits.activemq.apache.org%3E>
- <http://activemq.apache.org/security-advisories.data/CVE-2015-5254-announcement.txt>
- <http://lists.fedoraproject.org/pipermail/package-announce/2015-December/174371.html>
- <http://lists.fedoraproject.org/pipermail/package-announce/2015-December/174537.html>

Facts on this page come from the GitHub Advisory Database (CC-BY 4.0), OSV and the other sources listed, as published. We don’t reproduce full advisory descriptions, which can contain exploit code.

## Check whether this affects you

A Match means an installed version is in the affected range above. Most don’t affect the app; agentprime hasn’t analysed this one yet.

- With the agentprime MCP server (<https://api.agentprime.io/mcp>), ask your agent to check the project: `check_lockfile` sends a lockfile, `check_packages` a list of installed packages, and both return the Matches and the upgrades that clear them. `get_advisory` returns this record. Setup: <https://agentprime.io/mcp.md>
- In a browser: <https://agentprime.io/check/> reads your lockfile in the browser, never uploading it.
- Whether it touches your code, with file and line: the Claude Code plugin, <https://agentprime.io/plugin.md>
- As JSON: <https://api.agentprime.io/v1/advisories/GHSA-q9hr-3pg4-3jp4>, or `POST https://api.agentprime.io/v1/match` with your packages (<https://agentprime.io/api.md>)

---

The web page: <https://agentprime.io/advisories/GHSA-q9hr-3pg4-3jp4/>. Everything for agents: <https://agentprime.io/llms.txt>.
