CVE-2024-52046
Scores
EPSS
Percentile: 80.1%
CVSS
CVSS Score: 10.0/10
All CVSS Scores
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/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
Vector Breakdown
CVSS (Common Vulnerability Scoring System) vector provides detailed metrics about vulnerability characteristics
CVSS
Attack Vector
Network (N)
Describes how the vulnerability is exploited
Attack Complexity
Low (L)
Describes the conditions beyond the attacker's control
Attack Requirements
None
Privileges Required
None (N)
Describes the level of privileges an attacker must possess
User Interaction
None (N)
Captures the requirement for a human user participation
Vulnerable System Confidentiality
High (H)
Measures the impact to the confidentiality of information
Vulnerable System Integrity
High (H)
Measures the impact to integrity of a successfully exploited vulnerability
Vulnerable System Availability
High (H)
Measures the impact to the availability of the impacted component
Subsequent System Confidentiality
High (H)
Measures the impact to the confidentiality of information
Subsequent System Integrity
High (H)
Measures the impact to integrity of a successfully exploited vulnerability
Subsequent System Availability
High (H)
Measures the impact to the availability of the impacted component
Temporal Metrics
Exploit Code Maturity
Not Defined
Environmental Metrics
Confidentiality Requirement
Not Defined
Integrity Requirement
Not Defined
Availability Requirement
Not Defined
Modified Attack Vector
Not Defined
Describes how the vulnerability is exploited
Modified Attack Complexity
Not Defined
Describes the conditions beyond the attacker's control
Modified Attack Requirements
Not Defined
Modified Privileges Required
Not Defined
Describes the level of privileges an attacker must possess
Modified User Interaction
Not Defined
Captures the requirement for a human user participation
Modified Vulnerable System Confidentiality
Not Defined
Measures the impact to the confidentiality of information
Modified Vulnerable System Integrity
Not Defined
Measures the impact to integrity of a successfully exploited vulnerability
Modified Vulnerable System Availability
Not Defined
Measures the impact to the availability of the impacted component
Modified Subsequent System Confidentiality
Not Defined
Measures the impact to the confidentiality of information
Modified Subsequent System Integrity
Not Defined
Measures the impact to integrity of a successfully exploited vulnerability
Modified Subsequent System Availability
Not Defined
Measures the impact to the availability of the impacted component
Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Vector Breakdown
CVSS (Common Vulnerability Scoring System) vector provides detailed metrics about vulnerability characteristics
CVSS
Attack Vector
Network (N)
Describes how the vulnerability is exploited
Attack Complexity
Low (L)
Describes the conditions beyond the attacker's control
Privileges Required
None (N)
Describes the level of privileges an attacker must possess
User Interaction
None (N)
Captures the requirement for a human user participation
Scope
Unchanged (U)
Determines if a successful attack impacts components beyond the vulnerable component
Confidentiality Impact
High (H)
Measures the impact to the confidentiality of information
Integrity Impact
High (H)
Measures the impact to integrity of a successfully exploited vulnerability
Availability Impact
High (H)
Measures the impact to the availability of the impacted component
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.
Scaner-VS 7 — a modern vulnerability management solution
Sources
CWEs
Related Vulnerabilities
Vulnerable Software (14)
Type: Configuration
Operating System:
{ "children": [ { "cpe_match": [ { "cpe23uri": "cpe:2.3:a:apache:mina:*:*:*:*:*:maven:*:*", "versionEndExcluding": "2.1.10", "versionStartIncluding": ...
{ "children": [ { "cpe_match": [ { "cpe23uri": "cpe:2.3:a:apache:mina:*:*:*:*:*:maven:*:*", "versionEndExcluding": "2.1.10", "versionStartIncluding": "2.1" }, { "cpe23uri": "cpe:2.3:a:apache:mina:*:*:*:*:*:maven:*:*", "versionEndExcluding": "2.2.4", "versionStartIncluding": "2.2" }, { "cpe23uri": "cpe:2.3:a:apache:mina:*:*:*:*:*:maven:*:*", "versionEndExcluding": "2.0.27", "versionStartIncluding": "2.0" } ], "negate": false, "operator": "OR" }, { "cpe_match": [ { "cpe23uri": "cpe:2.3:a:org.apache.mina:mina-core:*:*:*:*:*:maven:*:*", "versionEndExcluding": "2.1.10", "versionStartIncluding": "2.1" }, { "cpe23uri": "cpe:2.3:a:org.apache.mina:mina-core:*:*:*:*:*:maven:*:*", "versionEndExcluding": "2.2.4", "versionStartIncluding": "2.2" }, { "cpe23uri": "cpe:2.3:a:org.apache.mina:mina-core:*:*:*:*:*:maven:*:*", "versionEndExcluding": "2.0.27", "versionStartIncluding": "2.0" } ], "negate": false, "operator": "OR" } ], "operator": "OR"}
Source: anchore_overrides
Type: Configuration
Product: mina
Operating System: debian
{ "unfixed": true}
Source: debian
Type: Configuration
Product: mina
Operating System: debian bookworm 12
{ "unfixed": true}
Source: debian
Type: Configuration
Product: mina
Operating System: debian bullseye 11
{ "unfixed": true}
Source: debian
Type: Configuration
Product: mina
Operating System: ubuntu focal 20.04
{ "unfixed": true}
Source: ubuntu
Type: Configuration
Product: mina
Operating System: ubuntu oracular 24.10
{ "unfixed": true}
Source: ubuntu
Type: Configuration
Product: mina
Operating System: ubuntu plucky 25.04
{ "unfixed": true}
Source: ubuntu
Type: Configuration
Product: mina2
Operating System: debian
{ "fixed": "2.2.1-4"}
Source: debian
Type: Configuration
Product: mina2
Operating System: debian bookworm 12
{ "unfixed": true}
Source: debian
Type: Configuration
Product: mina2
Operating System: debian bullseye 11
{ "unfixed": true}
Source: debian
Type: Configuration
Product: mina2
Operating System: ubuntu focal 20.04
{ "unfixed": true}
Source: ubuntu
Type: Configuration
Product: mina2
Operating System: ubuntu oracular 24.10
{ "unfixed": true}
Source: ubuntu
Type: Configuration
Product: mina2
Operating System: ubuntu plucky 25.04
{ "unfixed": true}
Source: ubuntu
Type: Configuration
Vendor: *
Product: mina
Operating System: * * *
{ "cpe_match": [ { "cpe23uri": "cpe:2.3:a:apache:mina:*:*:*:*:*:*:*:*", "versionEndExcluding": "2.0.27", "versionStartIncluding": "2.0.0", "vulnerable": true }, {...
{ "cpe_match": [ { "cpe23uri": "cpe:2.3:a:apache:mina:*:*:*:*:*:*:*:*", "versionEndExcluding": "2.0.27", "versionStartIncluding": "2.0.0", "vulnerable": true }, { "cpe23uri": "cpe:2.3:a:apache:mina:*:*:*:*:*:*:*:*", "versionEndExcluding": "2.1.10", "versionStartIncluding": "2.1.0", "vulnerable": true }, { "cpe23uri": "cpe:2.3:a:apache:mina:*:*:*:*:*:*:*:*", "versionEndExcluding": "2.2.4", "versionStartIncluding": "2.2.0", "vulnerable": true } ], "operator": "OR"}
Source: nvd