# CVE-2023-37924: SQL injection in Apache Submarine

Source: https://junglewise.ai/threats/cve-2023-37924-sql-injection-in-apache-submarine  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2023-11-22  
License: CC BY 4.0 with a link back

CVE-2023-37924 · Severity: low · CVSS 3.1 · Published 2023-11-22

Apache Software Foundation Apache Submarine has an SQL injection vulnerability when a user logs in. This issue can result in unauthorized login.
Now we have fixed this issue and now user must have the correct login to access workbench.
This issue affects Apache Submarine: from 0.7.0 before 0.8.0. We recommend that all submarine users with 0.7.0 upgrade to 0.8.0, which not only fixes the issue, supports the oidc authentication mode, but also removes the case of unauthenticated logins.
If using the version lower than 0.8.0 and not want to upgrade, you can try cherry-pick PR  https://github.com/apache/submarine/pull/1037 https://github.com/apache/submarine/pull/1054  and rebuild the submarine-server image to fix this.

Technologies: [apache-submarine (PyPI)](https://junglewise.ai/threats/technologies/apache-submarine). Vendors: [PyPI](https://junglewise.ai/threats/vendors/pypi).

## Quick answers

**Is CVE-2023-37924 exploited in the wild?** No. Junglewise Threat Intelligence has no report of CVE-2023-37924 being exploited in the wild.

**How severe is CVE-2023-37924?** Low severity, with a CVSS score of 3.1, published 22 November 2023.

**Which products and versions are affected?** apache-submarine (PyPI) ECOSYSTEM:introduced=0.7.0,fixed=0.8.0.

**Is there a fix for CVE-2023-37924?** Yes. apache-submarine (PyPI): upgrade to 0.8.0 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.

**Am I affected by CVE-2023-37924?** Check whether you run apache-submarine (PyPI) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

## How to fix

- apache-submarine (PyPI): upgrade to 0.8.0 or later

  ```sh
  pip install "apache-submarine>=0.8.0"
  ```


## Affected products

- apache-submarine (PyPI) ECOSYSTEM:introduced=0.7.0,fixed=0.8.0

## Identifiers

- CVE-2023-37924
- GHSA-v5gj-fx3g-hcpw
- PYSEC-2023-244

## Related threats

- [Apache Submarine Server Core Incorrect Authorization vulnerability](https://junglewise.ai/threats/cve-2024-36265-apache-submarine-server-core-incorrect-authorization)
- [Apache Submarine Commons Utils has a hard-coded secret](https://junglewise.ai/threats/cve-2024-36264-apache-submarine-commons-utils-has-a-hard-coded-secret)
- [Deserialization of Untrusted Data in apache-submarine](https://junglewise.ai/threats/cve-2023-46302-deserialization-of-untrusted-data-in-apache-submarine)
