Skip to main content

Over 150 LLM Providers · Over 5,300 Models The most extensible AI-powered pentesting platform. Open source. Star on GitHub

CVE-2024-52046

9.8 · CRITICAL
Published Dec 25, 2024 apache CWE-502 EPSS 23.93% (98th pctl)

Overview

CVE-2024-52046 is a critical-severity vulnerability affecting apache mina. It was published on December 25, 2024 and has a CVSS 3.1 base score of 9.8 (CRITICAL).

This vulnerability has a CVSS 3.1 base score of 9.8, rated CRITICAL. It can be exploited remotely over the network. No authentication or special privileges are required for exploitation.

Technical Description

The ObjectSerializationDecoder in Apache MINA uses Java’s native deserialization protocol to process

incoming serialized data but lacks the necessary security checks and defenses. This vulnerability allows

attackers to exploit the deserialization process by sending specially crafted malicious serialized data,

potentially leading to remote code execution (RCE) attacks.

This issue affects MINA core versions 2.0.X, 2.1.X and 2.2.X, and will be fixed by the releases 2.0.27, 2.1.10 and 2.2.4.

It's also important to note that an application using MINA core library will only be affected if the IoBuffer#getObject() method is called, and this specific method is potentially called when adding a ProtocolCodecFilter instance using the ObjectSerializationCodecFactory class in the filter chain. If your application is specifically using those classes, you have to upgrade to the latest version of MINA core library.

Upgrading will  not be enough: you also need to

Remediation

Check the references section for vendor advisories and patches from apache. Update mina to the latest patched version. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.

Affected Products

Vendor Product Versions Status
apache mina >= 2.0.0, < 2.0.27 Affected

Frequently Asked Questions

What is CVE-2024-52046?

CVE-2024-52046 is a critical-severity vulnerability affecting apache mina. It was published on December 25, 2024 and has a CVSS 3.1 base score of 9.8 (CRITICAL).

How severe is CVE-2024-52046?

This vulnerability has a CVSS 3.1 base score of 9.8, rated CRITICAL. It can be exploited remotely over the network. No authentication or special privileges are required for exploitation.

How do I fix or remediate CVE-2024-52046?

Check the references section for vendor advisories and patches from apache. Update mina to the latest patched version. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.

How can CyberStrike help with CVE-2024-52046?

CyberStrike's AI-powered security agents can automatically detect CVE-2024-52046 across your infrastructure using autonomous pentesting, DAST scanning, and HackBrowser. The platform continuously monitors for known vulnerabilities and provides actionable remediation guidance prioritized by real-world exploitability.