PT-2024-9987 · Apache+1 · Apache Mina+1

Emmanuel Lécharny

·

Published

2024-12-24

·

Updated

2026-05-18

·

CVE-2024-52046

CVSS v4.0

10

Critical

VectorAV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H
Name of the Vulnerable Software and Affected Versions Apache MINA versions 2.0.X through 2.2.X
Description The ObjectSerializationDecoder in Apache MINA lacks necessary security checks when processing incoming serialized data using Java’s native deserialization protocol. This allows attackers to send crafted malicious serialized data, potentially leading to remote code execution (RCE). The IoBuffer#getObject() method is a key component in the exploitation chain, particularly when used with the ObjectSerializationCodecFactory class.
Recommendations Upgrade to versions 2.0.27, 2.1.10, or 2.2.4. Additionally, explicitly allow the classes the decoder will accept in the ObjectSerializationDecoder instance using one of the following methods: accept(ClassNameMatcher classNameMatcher), accept(Pattern pattern), or accept(String... patterns).

Fix

RCE

Code Injection

Deserialization of Untrusted Data

Weakness Enumeration

Related Identifiers

BDU:2025-00105
CLEANSTART-2026-DD05788
CLEANSTART-2026-SQ91016
CLEANSTART-2026-VH41554
CLEANSTART-2026-WK99982
CVE-2024-52046
GHSA-76H9-2VWH-W278
OESA-2025-1044

Affected Products

Apache Mina
Debian