Vulnerability · Published Apr 18, 2025 · Assigned by apache

CVE-2025-29953Apache ActiveMQ NMS OpenWire Client: deserialization allowlist bypass

Critical 9.8

In plain English

A critical-severity unsafe deserialization in Apache ActiveMQ NMS OpenWire Client from Apache Software Foundation. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 2.1% (higher than 82% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)9.8Critical
Exploit odds (30 days)2.1%top 18.3% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known

Official description

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.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
NuGetapache.nms.activemq2.1.1GHSA-9g64-r942-fvmp

Affected products (as reported)

VendorProductVersions
Apache Software Foundation Apache ActiveMQ NMS OpenWire Client 0 – before 2.1.1

Weakness: CWE-502 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

References