Advisory

GHSA-4mjw-xr5x-prpc

Also known as: CVE-2025-54539

Summary

Apache ActiveMQ NMS AMQP Client has a Deserialization of Untrusted Data vulnerability

Details

A Deserialization of Untrusted Data vulnerability exists in the Apache ActiveMQ NMS AMQP Client.

This issue affects all versions of Apache ActiveMQ NMS AMQP up to and including 2.3.0, when establishing connections to untrusted AMQP servers. Malicious servers could exploit unbounded deserialization logic present in the client to craft responses that may lead to arbitrary code execution on the client side.

Although version 2.1.0 introduced a mechanism to restrict deserialization via allow/deny lists, the protection was found to be bypassable under certain conditions.

In line with Microsoft’s deprecation of binary serialization in .NET 9, the project is evaluating the removal of .NET binary serialization support from the NMS API entirely in future releases.

Mitigation and Recommendations:
Users are strongly encouraged to upgrade to version 2.4.0 or later, which resolves the issue. Additionally, projects depending on NMS-AMQP should migrate away from .NET binary serialization as part of a long-term hardening strategy.

Severity

Critical Basis: The source's own band: CRITICAL

Dates

Published
2025-10-16 09:30 UTC
Modified
2025-11-05 21:07 UTC

Affected packages and fixes

Apache.NMS.AMQP

NuGet · All systems

Affected

  • introduced 0, fixed 2.4.0 (ecosystem)

Fixed versions

2.4.0

Fix

The export has no generic command for this ecosystem.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences