Advisory

GHSA-9g64-r942-fvmp

Also known as: CVE-2025-29953

Summary

Apache ActiveMQ NMS OpenWire Client Deserialization of Untrusted Data vulnerability

Details

Deserialization of Untrusted Data vulnerability in Apache ActiveMQ NMS OpenWire Client.

This issue affects Apache ActiveMQ NMS OpenWire Client before 2.1.1 when performing connections to untrusted servers. Such servers could abuse the unbounded deserialization in the client to provide malicious responses that may eventually cause arbitrary code execution on the client. Version 2.1.0 introduced a allow/denylist feature to restrict deserialization, but this feature could be bypassed.

The .NET team has deprecated the built-in .NET binary serialization feature starting with .NET 9 and suggests migrating away from binary serialization. The project is considering to follow suit and drop this part of the NMS API altogether.

Users are recommended to upgrade to version 2.1.1, which fixes the issue. We also recommend to migrate away from relying on .NET binary serialization as a hardening method for the future.

Severity

Critical Basis: The source's own band: CRITICAL

Dates

Published
2025-04-18 18:31 UTC
Modified
2025-04-23 19:57 UTC

Affected packages and fixes

Apache.NMS.ActiveMQ

NuGet · All systems

Affected

  • introduced 0, fixed 2.1.1 (ecosystem)

Fixed versions

2.1.1

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