WaratekVRT Sign in

CVE-2024-52046 Apache MINA

Affected softwareApache MINA
Severity10.0 Critical CVSS 4.0 2 scores
Fixed in2.2.4, 2.1.10, 2.0.27
WeaknessDeserialization of untrusted data (CWE-502)
Published25 Dec 2024
Updated17 Jun 2026

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 explicitly allow the classes the decoder will accept in the ObjectSerializationDecoder instance, using one of the three new methods: /**      * Accept class names where the supplied ClassNameMatcher matches for * deserialization, unless they are otherwise rejected. * * @param classNameMatcher the matcher to use */ public void accept(ClassNameMatcher classNameMatcher) /** * Accept class names that match the supplied pattern for * deserialization, unless they are otherwise rejected. * * @param pattern standard Java regexp */ public void accept(Pattern pattern) /** * Accept the wildcard specified classes for deserialization, * unless they are otherwise rejected. * * @param patterns Wildcard file name patterns as defined by * {@link org.apache.commons.io.FilenameUtils#wildcardMatch(String, String) FilenameUtils.wildcardMatch} */ public void accept(String... patterns) By default, the decoder will reject *all* classes that will be present in the incoming data. Note: The FtpServer, SSHd and Vysper sub-project are not affected by this issue.

CWE-94 · Code injection

Exploitation status

No public exploit

No exploit has been reported in the sources we check. Published a year ago.

  • CISA KEV not listed
  • VulnCheck KEV not listed
  • CISA Vulnrichment exploitation: none
  • Indexed PoC none indexed
  • EPSS 25% chance in 30 days A model's forecast, not a report of exploitation. Higher than 98% of all scored CVEs.

Waratek protection

Protected by Waratek

Waratek has a rule that blocks attacks on this vulnerability.

Decided by A vulnerability class already blocked by an ARMR security rule
Finding Protected by Waratek's ARMR deserialization security rule, which blocks this class of attack at the JVM level without a rule written for this CVE specifically. The CVE's weakness is CWE-502: Deserialization of Untrusted Data.

How to mitigate CVE-2024-52046

Upgrade Apache MINA to a release that fixes it: 2.2.4, 2.1.10 or 2.0.27. Until you can, Waratek RASP blocks exploitation with its deserialization and process rules. It runs inside the Java application, with no code changes.

Waratek RASP Runtime protection for Java applications

CVSS

10.0 CRITICAL v4.0 CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X 2 metrics

We show the highest score from the newest CVSS version. Scores from different versions can't be compared, and the first score listed is sometimes a 0.0 placeholder.

VersionScoreBandVectorAssignerType
CVSS 4.0 10.0 CRITICAL CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X security@apache.org Secondary published
CVSS 3.1 9.8 CRITICAL CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H NVD Primary

Affected software and releases

Oracle advisories

AdvisoryTypeQuarterProducts Oracle names in its risk matrix
Oracle Critical Patch Update July 2026 ↗ CPU 2026-Q3 Oracle Fusion Middleware / Centralized Thirdparty Jars (Apache Mina) (15.1.1.0.0)
Oracle Critical Patch Update April 2026 ↗ CPU 2026-Q2 Oracle Communications / Core (Apache Pulsar) (6.1.1-7.0.0)
Oracle Critical Patch Update January 2026 ↗ CPU 2026-Q1 Oracle HealthCare Applications / XAD-PID Change Management XPID (Apache Mina) (4.0.0)
Oracle Critical Patch Update October 2025 ↗ CPU 2025-Q4 Oracle JD Edwards / Business Logic Infra SEC (Apache Mina) (9.2.0.0-9.2.9.4)
Oracle Critical Patch Update July 2025 ↗ CPU 2025-Q3 Oracle Fusion Middleware / Third Party (Apache Mina) (12.2.1.4.0, 14.1.2.0.0)
Oracle HealthCare Applications / Master Index Data Manager (Apache Mina) (5.0.0.0-5.0.9.2)
Oracle Critical Patch Update April 2025 ↗ CPU 2025-Q2 Oracle Analytics / Platform Security (Apache Mina) (12.2.1.4.0)
Oracle Communications / BEServer (Apache Mina SSHD) (24.3.0)
Oracle Communications Applications / Core (Apache Mina) (6.0-6.1)
Oracle Communications Applications / FileTransferJCA, VPLS Cartridge, TL1 Cartridge (Apache Mina) (7.3.6, 7.4.0, 7.5.0)
Oracle Enterprise Manager / Agent Next Gen (Apache Mina) (13.5.0.0.0, 24.1.0.0.0)
Oracle Fusion Middleware / Proxy (Apache Mina) (12.2.1.4.0)
Oracle Fusion Middleware / Runtime Engine (Apache Mina) (12.2.1.4.0, 14.1.2.0.0)
Oracle Fusion Middleware / Runtime Server (Apache Mina) (12.2.1.4.0, 14.1.2.0.0)
Oracle Support Tools / Diagnostic Assistant (Apache Mina) (2.11.0-2.12.46)
Oracle Support Tools / Services Tools Bundle (Apache Mina) (8.00-8.18, 18.1-18.4, 19.1-19.4, 20.1-20.4, 22.2, 23.1-23.4, 24.1-24.4, 25.1)

Oracle components and versions

FamilyComponentVersions, as Oracle lists themRead as
Oracle Analytics Platform Security (Apache Mina) 12.2.1.4.0 12.2.1.4.0
Oracle Communications BEServer (Apache Mina SSHD) 24.3.0 24.3.0
Oracle Communications Core (Apache Pulsar) 6.1.1-7.0.0
Oracle Communications Applications Core (Apache Mina) 6.0-6.1
Oracle Communications Applications FileTransferJCA, VPLS Cartridge, TL1 Cartridge (Apache Mina) 7.3.6, 7.4.0, 7.5.0 7.3.6 · 7.4.0 · 7.5.0
Oracle Enterprise Manager Agent Next Gen (Apache Mina) 13.5.0.0.0, 24.1.0.0.0 13.5.0.0.0 · 24.1.0.0.0
Oracle Fusion Middleware Centralized Thirdparty Jars (Apache Mina) 15.1.1.0.0 15.1.1.0.0
Oracle Fusion Middleware Proxy (Apache Mina) 12.2.1.4.0 12.2.1.4.0
Oracle Fusion Middleware Runtime Engine (Apache Mina) 12.2.1.4.0, 14.1.2.0.0 12.2.1.4.0 · 14.1.2.0.0
Oracle Fusion Middleware Runtime Server (Apache Mina) 12.2.1.4.0, 14.1.2.0.0 12.2.1.4.0 · 14.1.2.0.0
Oracle Fusion Middleware Third Party (Apache Mina) 12.2.1.4.0, 14.1.2.0.0 12.2.1.4.0 · 14.1.2.0.0
Oracle HealthCare Applications Master Index Data Manager (Apache Mina) 5.0.0.0-5.0.9.2
Oracle HealthCare Applications XAD-PID Change Management XPID (Apache Mina) 4.0.0 4.0.0
Oracle JD Edwards Business Logic Infra SEC (Apache Mina) 9.2.0.0-9.2.9.4
Oracle Support Tools Diagnostic Assistant (Apache Mina) 2.11.0-2.12.46
Oracle Support Tools Services Tools Bundle (Apache Mina) 8.00-8.18, 18.1-18.4, 19.1-19.4, 20.1-20.4, 22.2, 23.1-23.4, 24.1-24.4, 25.1 22.2 · 25.1

Maven packages

Affected and fixed versions, from OSV.dev
PackageIntroducedFixedLast affected
org.apache.mina:mina-core 2.2.0 2.2.4 unbounded
org.apache.mina:mina-core 2.1.0 2.1.10 unbounded
org.apache.mina:mina-core 2.0.0-M1 2.0.27 unbounded

Products and versions

2 products, 6 version entries
SourceVendorProductSchemeAffected versions
nvd apache mina generic ≥ 2.0.0 and < 2.0.27 · ≥ 2.1.0 and < 2.1.10 · ≥ 2.2.0 and < 2.2.4
osv org.apache.mina mina-core generic ≥ 2.0.0 and < 2.0.27 · ≥ 2.1.0 and < 2.1.10 · ≥ 2.2.0 and < 2.2.4

References

URLTags
https://github.com/apache/mina PACKAGE
https://lists.apache.org/thread/4wxktgjpggdbto15d515wdctohb0qmv8 WEB
https://security.netapp.com/advisory/ntap-20250103-0001 WEB
http://www.openwall.com/lists/oss-security/2024/12/25/1 WEB
https://security.netapp.com/advisory/ntap-20250103-0001/ Third Party Advisory

Timeline

Published2024-12-25By the CVE Program.
NVD record modified2026-06-17NVD's own last-modified date for this record.