9.8
CRITICAL
CVE-2023-46302
Apache Submarine YAML Deserialization Vulnerability
Description

Apache Software Foundation Apache Submarine has a bug when serializing against yaml. The bug is caused by snakeyaml https://nvd.nist.gov/vuln/detail/CVE-2022-1471 . Apache Submarine uses JAXRS to define REST endpoints. In order to handle YAML requests (using application/yaml content-type), it defines a YamlEntityProvider entity provider that will process all incoming YAML requests. In order to unmarshal the request, the readFrom method is invoked, passing the entityStream containing the user-supplied data in `submarine-server/server-core/src/main/java/org/apache/submarine/server/utils/YamlUtils.java`. We have now fixed this issue in the new version by replacing to `jackson-dataformat-yaml`. This issue affects Apache Submarine: from 0.7.0 before 0.8.0. Users are recommended to upgrade to version 0.8.0, which fixes this issue. If using the version smaller than 0.8.0 and not want to upgrade, you can try cherry-pick PR https://github.com/apache/submarine/pull/1054 and rebuild the submart-server image to fix this.

INFO

Published Date :

Nov. 20, 2023, 9:15 a.m.

Last Modified :

Nov. 30, 2023, 3:15 p.m.

Remotely Exploitable :

Yes !

Impact Score :

5.9

Exploitability Score :

3.9
Affected Products

The following products are affected by CVE-2023-46302 vulnerability. Even if cvefeed.io is aware of the exact versions of the products that are affected, the information is not represented in the table below.

ID Vendor Product Action
1 Apache submarine
References to Advisories, Solutions, and Tools

Here, you will find a curated list of external links that provide in-depth information, practical solutions, and valuable tools related to CVE-2023-46302.

URL Resource
https://github.com/apache/submarine/pull/1054 Issue Tracking Patch
https://issues.apache.org/jira/browse/SUBMARINE-1371 Exploit Issue Tracking
https://lists.apache.org/thread/zf0wppzh239j4h131hm1dbswfnztxrr5 Mailing List

We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).

Results are limited to the first 15 repositories due to potential performance issues.

The following list is the news that have been mention CVE-2023-46302 vulnerability anywhere in the article.

The following table lists the changes that have been made to the CVE-2023-46302 vulnerability over time.

Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.

  • CVE Modified by [email protected]

    May. 14, 2024

    Action Type Old Value New Value
  • Initial Analysis by [email protected]

    Nov. 30, 2023

    Action Type Old Value New Value
    Added CVSS V3.1 NIST AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
    Changed Reference Type https://github.com/apache/submarine/pull/1054 No Types Assigned https://github.com/apache/submarine/pull/1054 Issue Tracking, Patch
    Changed Reference Type https://issues.apache.org/jira/browse/SUBMARINE-1371 No Types Assigned https://issues.apache.org/jira/browse/SUBMARINE-1371 Exploit, Issue Tracking
    Changed Reference Type https://lists.apache.org/thread/zf0wppzh239j4h131hm1dbswfnztxrr5 No Types Assigned https://lists.apache.org/thread/zf0wppzh239j4h131hm1dbswfnztxrr5 Mailing List
    Added CPE Configuration OR *cpe:2.3:a:apache:submarine:*:*:*:*:*:*:*:* versions from (including) 0.7.0 up to (excluding) 0.8.0
  • CVE Received by [email protected]

    Nov. 20, 2023

    Action Type Old Value New Value
    Added Description Apache Software Foundation Apache Submarine has a bug when serializing against yaml. The bug is caused by snakeyaml https://nvd.nist.gov/vuln/detail/CVE-2022-1471 . Apache Submarine uses JAXRS to define REST endpoints. In order to handle YAML requests (using application/yaml content-type), it defines a YamlEntityProvider entity provider that will process all incoming YAML requests. In order to unmarshal the request, the readFrom method is invoked, passing the entityStream containing the user-supplied data in `submarine-server/server-core/src/main/java/org/apache/submarine/server/utils/YamlUtils.java`. We have now fixed this issue in the new version by replacing to `jackson-dataformat-yaml`. This issue affects Apache Submarine: from 0.7.0 before 0.8.0. Users are recommended to upgrade to version 0.8.0, which fixes this issue. If using the version smaller than 0.8.0 and not want to upgrade, you can try cherry-pick PR https://github.com/apache/submarine/pull/1054 and rebuild the submart-server image to fix this.
    Added Reference Apache Software Foundation https://issues.apache.org/jira/browse/SUBMARINE-1371 [No types assigned]
    Added Reference Apache Software Foundation https://github.com/apache/submarine/pull/1054 [No types assigned]
    Added Reference Apache Software Foundation https://lists.apache.org/thread/zf0wppzh239j4h131hm1dbswfnztxrr5 [No types assigned]
    Added CWE Apache Software Foundation CWE-502
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days. Following chart shows the EPSS score history of the vulnerability.
CWE - Common Weakness Enumeration

While CVE identifies specific instances of vulnerabilities, CWE categorizes the common flaws or weaknesses that can lead to vulnerabilities. CVE-2023-46302 is associated with the following CWEs:

Common Attack Pattern Enumeration and Classification (CAPEC)

Common Attack Pattern Enumeration and Classification (CAPEC) stores attack patterns, which are descriptions of the common attributes and approaches employed by adversaries to exploit the CVE-2023-46302 weaknesses.

Exploit Prediction

EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days.

0.21 }} 0.02%

score

0.59424

percentile

CVSS31 - Vulnerability Scoring System
Attack Vector
Attack Complexity
Privileges Required
User Interaction
Scope
Confidentiality
Integrity
Availability