CVE-2024-52046: Apache MINA: MINA applications using unbounded deserialization may allow RCE
CVE-2024-52046 key facts
- CISA KEV
- Not listed (catalogue checked )
- Highest advisory rating
- Critical
- CVSS base score
- 10 (NetApp)
- CVSS vector
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· base score 10, scored by apacheAttack vector: network. Attack complexity: low. Attack requirements: none. Privileges required: none. User interaction: none. Confidentiality impact on the vulnerable system: high. Integrity impact on the vulnerable system: high. Availability impact on the vulnerable system: high. Confidentiality impact on subsequent systems: high. Integrity impact on subsequent systems: high. Availability impact on subsequent systems: high.- Weakness
- CWE-502 Deserialization of Untrusted Data
- EPSS
- 24.6% chance of exploitation in the next 30 days (97th percentile). FIRST EPSS, .
- CISA SSVC
- Exploitation: none observed. Automatable: yes. Technical impact: total. CISA, .
- Assigned by
- apache (CNA)
- CVE record published
- Listed by VulniPulse
- Record changed
Ratings, versions and fixes are quoted from the vendor advisories that cover only CVE-2024-52046; each belongs to its advisory, not to every product listed. How records are collected and checked.
Am I affected by CVE-2024-52046?
You are affected if you run NetApp HCI Compute Node (Bootstrap OS) at one of the versions below. No fixed version listed by the vendor yet.
| Affected | Fixed in |
|---|---|
| NetApp: 2.0.26 | No fixed version listed by the vendor yet |
| NetApp: 2.1.9 | No fixed version listed by the vendor yet |
| NetApp: 2.2.3 | No fixed version listed by the vendor yet |
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.
Text from the CVE.org record (apache).
How do I fix CVE-2024-52046?
- NetApp HCI Compute Node (Bootstrap OS) has no planned fix; migrate to a supported release or product and consult NetApp's end-of-support notice. (NetApp)
Vendor advisories for CVE-2024-52046
Apache
2 advisories- Advisory severityCritical9.8
Critical [CVE-2024-52046 +2] Apache MINA AbstractIoBuffer: The fix for CVE-2026-41409 was not applied to the 2.1.X and 2.2.X branches.
CVE-2026-42778Source published Source updated
This bulletin covers 3 CVEs. The products, versions, score and guidance below describe the bulletin; check its source for applicability to this specific CVE.
The fix for CVE-2026-41409 was not applied to the 2.1.X and 2.2.X branches. Here was the original issue description: The fix for CVE-2024-52046 in Apache MINA AbstractIoBuffer.getObject() was incomplete. The classname allowlist of classes allowed to be deserialized was applied too late after a static initializer in a class to be read might already have been executed. Affected versions are Apache MINA 2.1.0 <= 2.1.11, and 2.2.0 <= 2.2.6. The problem is resolved in Apache MINA 2.1.12, and 2.2.7 by applying the classname allowlist earlier. Affected are applications using Apache MINA that call IoBuffer.getObject(). Applications using Apache MINA are advised to upgrade The fix for CVE-2024-52046 in Apache MINA AbstractIoBuffer.getObject() was incomplete. The classname allowlist of classes…
- Affected products in this advisory
- Apache MINA AbstractIoBuffer
- Source-reported affected versions
- 2.1.0
- 2.1.11
- 2.2.0
- 2.2.6
1 more entries in the full advisory.
- Source-reported fixed versions
- 2.1.12
- 2.2.7
- Mitigation guidance
- No mitigation guidance extracted; consult the source.
- Advisory severityCritical9.8
Critical [CVE-2024-52046 +1] Apache MINA AbstractIoBuffer: The fix for CVE-2024-52046 in Apache MINA AbstractIoBuffer.getObject was incomplete.
CVE-2026-41409Source published Source updated
This bulletin covers 2 CVEs. The products, versions, score and guidance below describe the bulletin; check its source for applicability to this specific CVE.
The fix for CVE-2024-52046 in Apache MINA AbstractIoBuffer.getObject() was incomplete. The classname allowlist of classes allowed to be deserialized was applied too late after a static initializer in a class to be read might already have been executed. Affected versions are Apache MINA 2.0.0 <= 2.0.27, 2.1.0 <= 2.1.10, and 2.2.0 <= 2.2.5. The problem is resolved in Apache MINA 2.0.28, 2.1.11, and 2.2.6 by applying the classname allowlist earlier. Affected are applications using Apache MINA that call IoBuffer.getObject(). Applications using Apache MINA are advised to upgrade
- Affected products in this advisory
- Apache MINA AbstractIoBuffer
- Source-reported affected versions
- 2.0.0
- 2.0.27
- 2.1.0
- 2.1.10
2 more entries in the full advisory.
- Source-reported fixed versions
- 2.0.28
- 2.1.11
- 2.2.6
- Mitigation guidance
- No mitigation guidance extracted; consult the source.
NetApp
1 advisory- Advisory severityCritical10.0
Critical [CVE-2024-52046] Apache MINA Vulnerability in NetApp Products
NTAP-20250103-0001Source published Source updated
Multiple NetApp products incorporate Apache MINA. Apache MINA versions 2.0 through 2.0.26, 2.1 through 2.1.9, and 2.2 through 2.2.3 are susceptible to a vulnerability which when successfully exploited could lead to disclosure of sensitive information, addition or modification of data, or Denial of Service (DoS). Affected products: NetApp HCI Compute Node (Bootstrap OS). NetApp states there is no workaround available at this time.
- Affected products in this advisory
- NetApp HCI Compute Node (Bootstrap OS)
- Source-reported affected versions
- 2.0.26
- 2.1.9
- 2.2.3
- Source-reported fixed versions
- No fixed-version detail extracted. This does not mean no fix exists.
- Mitigation guidance
- NetApp HCI Compute Node (Bootstrap OS) has no planned fix; migrate to a supported release or product and consult NetApp's end-of-support notice.
References
- CVE-2024-52046 recordCVE.org
- CVE-2024-52046 detailNVD
- lists.apache.org/thread/4wxktgjpggdbto15d515wdctohb0qmv8vendor-advisory
Timeline
- CVE record published
- CVE record last updated
- First vendor advisory listed by VulniPulse
More Apache advisories
CVE-2026-41409Apr 27, 2026Apache MINA AbstractIoBuffer: The fix for CVE-2024-52046 in Apache MINACVE-2026-71501Nov 25, 2026Apache JSPWiki: XSS vulnerability on Edit.jspCVE-2026-71902Nov 25, 2026Apache JSPWiki: XSS vulnerability (Group.jsp)CVE-2026-71903Nov 25, 2026Cross Site Scripting (XSS) in JSPWIKI in versions 2.12.4 and olderCVE-2026-78089Nov 25, 2026Apache JSPWiki: XSS in SvnStyleDiffProviderCVE-2026-78090Nov 25, 2026Apache JSPWiki: XSS InsertPage
Get an email when Apache publishes the next one.
See Apache's last 90 days first. Live alerts for one product are free for life; every vendor is US$10 a month with Pro.