CVSS 4.0
10.0 criticalCVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:H/SI:H/SA:HCritical (10.0) in apache mina. EPSS 25% estimated probability of exploitation activity in the next 30 days. Fixed in org.apache.mina:mina-core 2.0.27, 2.1.10, 2.2.4.
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:H/SI:H/SA:HCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:Horg.apache.mina:mina-core (Maven): fixed in 2.2.4, 2.1.10, 2.0.27Explain CVE-2024-52046 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2024-52046?via=ask-ai-copy and https://cve.bz/cve/CVE-2024-52046?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2024-52046 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.
From the CNA's record in the CVE List.
| Product | Affected |
|---|---|
| Apache Software Foundation Apache MINA | from 2.1 through 2.1.9 |
| Apache Software Foundation Apache MINA | from 2.2 through 2.2.3 |
| Advisory | Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|---|
| GHSA-76h9-2vwh-w278 | Maven | org.apache.mina:mina-core | >=2.2.0 <2.2.4 | 2.2.4 |
| GHSA-76h9-2vwh-w278 | Maven | org.apache.mina:mina-core | >=2.1.0 <2.1.10 | 2.1.10 |
| GHSA-76h9-2vwh-w278 | Maven | org.apache.mina:mina-core | >=2.0.0-M1 <2.0.27 | 2.0.27 |
| Distribution | Release | Package | Fixed in | Advisory |
|---|---|---|---|---|
| Debian | 12 | mina, mina2 | no fix listed | DEBIAN-CVE-2024-52046 |
| Debian | 13 | mina2 | no fix listed | DEBIAN-CVE-2024-52046 |
| Debian | 14 | mina2 | 2.2.9-1 | DEBIAN-CVE-2024-52046 |
| Ubuntu | 16.04:LTS, 18.04:LTS, 20.04:LTS | mina, mina2 | no fix listed | UBUNTU-CVE-2024-52046 |
| Ubuntu | 22.04:LTS, 24.04:LTS | mina | no fix listed | UBUNTU-CVE-2024-52046 |
| Ubuntu | 25.10, 26.10 | mina2 | no fix listed | UBUNTU-CVE-2024-52046 |
| Ubuntu | Pro:22.04:LTS | mina2 | 2.1.5-1ubuntu0.1~esm1 | USN-8465-1 |
| Ubuntu | Pro:24.04:LTS | mina2 | 2.2.1-3ubuntu0.1~esm1 | USN-8465-1 |
| Ubuntu | Pro:26.04:LTS | mina2 | 2.2.1-4ubuntu0.1~esm1 | USN-8465-1 |
From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu.
Red Hat rates this Important.
This vulnerability is rated as Important due to the risk of remote code execution via insecure Java deserialization in Apache MINA, where attackers can exploit the lack of security checks in the deserialization process, potentially compromising systems that use specific MINA classes.
Apache Mina is a transitive dependency of Apache Directory that is used only in Apache Kafka tests. Therefore, streams for Apache Kafka is not vulnerable to this issue.
Configure the Apache MINA ObjectSerializationDecoder to allow only the classes required by the application for deserialization, using accept(ClassNameMatcher), accept(Pattern), or accept(String... patterns). By default, the decoder rejects all classes in incoming data. Applications using the affected deserialization path should also upgrade Apache MINA core to a vendor-fixed release; upgrading alone is insufficient without explicitly configuring the allowed classes.
| Product | Package | State | Advisory |
|---|---|---|---|
| Red Hat build of Apache Camel 4.8.3 for Spring Boot | mina-core | Fixed 2025-02-05 | RHSA-2025:1078 |
| A-MQ Clients 2 | mina-core | Affected | |
| Red Hat AMQ Broker 7 | mina-core | Will not fix | |
| Red Hat build of Apache Camel - HawtIO 4 | mina-core | Not affected | |
| Red Hat Build of Keycloak | mina-core | Will not fix | |
| Red Hat Data Grid 8 | mina-core | Will not fix | |
| Red Hat Fuse 7 | mina-core | Out of support scope | |
| Red Hat Integration Camel K 1 | mina-core | Will not fix | |
| Red Hat JBoss Data Grid 7 | mina-core | Affected | |
| Red Hat JBoss Enterprise Application Platform 7 | mina-core | Not affected | |
| Red Hat JBoss Enterprise Application Platform 8 | mina-core | Not affected | |
| Red Hat JBoss Enterprise Application Platform Expansion Pack | mina-core | Not affected | |
| Red Hat Process Automation 7 | mina-core | Not affected | |
| Red Hat Single Sign-On 7 | mina-core | Not affected | |
| streams for Apache Kafka | mina-core | Will not fix |
Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2024-52046.
The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.