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

·

CVE-2024-52046

·

Published

2024-12-24

·

Updated

2026-07-21

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).

Exploit

Fix

RCE

Deserialization of Untrusted Data

Code Injection

Found an issue in the description? Have something to add? Feel free to write us 👾

Weakness Enumeration

Related Identifiers

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

Affected Products

Apache Mina
Debian
Linuxmint
Ubuntu