---
title: "CVE-2023-46302: Deserialization of Untrusted Data in apache-submarine"
url: https://erroneo.us/security/cve/CVE-2023-46302/
description: "CVE-2023-46302 (apache-submarine (PyPI)): Apache Software Foundation Apache Submarine has a bug when serializing against yaml. The bug is caused by…"
type: vulnerability-record
section: "Security Digest"
date_published: 2023-11-20
date_modified: 2024-08-02
publisher: erroneo.us
author: erroneo.us Security Desk
cve: "CVE-2023-46302"
kev: false
cvss: 9.8
epss: 0.01761
license: All rights reserved. Quote with attribution and a link.
---

# CVE-2023-46302: Deserialization of Untrusted Data in apache-submarine

**Signal:** Critical and remotely reachable. No known exploitation yet, but it is network-reachable without credentials. (Computed from CISA KEV, EPSS and CVSS; not an editorial verdict.)

## Should you act?

- No confirmed exploitation. It is not in CISA’s KEV catalog. That can change quickly after a public write-up; re-check if you are affected.
- EPSS 1.8% , percentile 78: FIRST’s model estimates a 1.8% chance of exploitation activity in the next 30 days, higher than 78% of all scored CVEs (moderate). EPSS is a probability, not a verdict.
- Remotely reachable with no login and no user interaction. If the vulnerable service is exposed to the internet, prioritize it.
- Only applies if your dependency tree includes apache-submarine (PyPI) >= 0.7.0, < 0.8.0, fixed in 0.8.0 . Check your lockfile, including transitive dependencies.

## What it is

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.

## Affected packages

- PyPI `apache-submarine` >= 0.7.0, < 0.8.0 → fixed: 0.8.0

## Affected products (CVE record)

- Apache Software Foundation Apache Submarine: 0.7.0 < 0.8.0

## Severity

- GitHub CVSS 3.1: 9.8 `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`

## Exploitation

- CISA KEV: not listed (no confirmed in-the-wild exploitation known to CISA).
- FIRST EPSS (model of 2026-10-21): 1.76% probability of exploitation activity in the next 30 days; percentile 78.

## Sources

- [github.com](https://github.com/apache/submarine/pull/1054)
- [lists.apache.org](https://lists.apache.org/thread/zf0wppzh239j4h131hm1dbswfnztxrr5)
- [GitHub Advisory GHSA-8hcr-5x2g-9f7j](https://github.com/advisories/GHSA-8hcr-5x2g-9f7j)
- [CVE.org record CVE-2023-46302](https://www.cve.org/CVERecord?id=CVE-2023-46302)
- [NVD entry CVE-2023-46302](https://nvd.nist.gov/vuln/detail/CVE-2023-46302)
- [issues.apache.org](https://issues.apache.org/jira/browse/SUBMARINE-1371)
- [github.com](https://github.com/pypa/advisory-database/tree/main/vulns/apache-submarine/PYSEC-2023-240.yaml)

---
Source page: https://erroneo.us/security/cve/CVE-2023-46302/ · Security Digest: https://erroneo.us/security/ · More: https://erroneo.us/llms.txt
