VDB
Sign up
CRITICAL9.8

GHSA-f2wh-grmh-r6jm

Apache MINA Vulnerable to Deserialization of Untrusted Data (CVE-2024-52046 Incomplete Fix)

Quick fix

GHSA-f2wh-grmh-r6jm — org.apache.mina:mina-core: upgrade to the fixed version with the command below.

# pom.xml: bump <version>2.0.28</version> for org.apache.mina:mina-core

Details

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

Are you affected?

Enter the version of the package you're using.

Affected packages

Maven/org.apache.mina:mina-core
Introduced in: 2.0.0Fixed in: 2.0.28
Fix# pom.xml: bump <version>2.0.28</version> for org.apache.mina:mina-core
Maven/org.apache.mina:mina-core
Introduced in: 2.1.0Fixed in: 2.1.11
Fix# pom.xml: bump <version>2.1.11</version> for org.apache.mina:mina-core
Maven/org.apache.mina:mina-core
Introduced in: 2.2.0Fixed in: 2.2.6
Fix# pom.xml: bump <version>2.2.6</version> for org.apache.mina:mina-core

References