{"answers":{"affected":"3 open source packages ship an affected version, including apache-submarine. It affects 1 product.","exploited":"There is no known exploitation of CVE-2023-37924 in the wild and no public exploit code.","fix":"Upgrade apache-submarine to 0.8.0 or later.","what":"CVE-2023-37924 is a critical vulnerability in Apache Submarine, published on 22 Nov 2023."},"fix_prompt":"Check this codebase for CVE-2023-37924 and fix it if it is affected.\n\nWhat it is: CVE-2023-37924 is a critical vulnerability in Apache Submarine, published on 22 Nov 2023. \nExploitation: There is no known exploitation of CVE-2023-37924 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- apache-submarine (PyPI): affected from 0.7.0; fixed in 0.8.0\n- apache-submarine (PyPI): affected from 0.7.0; fixed in 0.8.0\n- apache-submarine (PyPI): affected from 0.7.0; fixed in 0.8.0\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2023-37924/ (Markdown: https://insights.sbomify.com/CVE-2023-37924/index.md)","id":"CVE-2023-37924","markdown":"https://insights.sbomify.com/CVE-2023-37924/index.md","name":"CVE-2023-37924","record":{"aliases":["GHSA-v5gj-fx3g-hcpw","PYSEC-2023-244"],"analysis":null,"analysis_generated_by":null,"assigner":"apache","cpe":[{"product":"submarine","vendor":"apache"}],"cvss":{"score":9.8,"severity":"critical","source":"nvd","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","version":"3.1"},"cwes":[{"id":"CWE-89","name":"Improper Neutralization of Special Elements used in an SQL Command"}],"description":"Apache Software Foundation Apache Submarine has an SQL injection vulnerability when a user logs in. This issue can result in unauthorized login.\nNow we have fixed this issue and now user must have the correct login to access workbench.\nThis 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.\nIf 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.","ecosystems":["PyPI"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":true,"headline":"Apache Submarine: SQL injection from unauthorized login","id":"CVE-2023-37924","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"PyPI","product":null,"products":[],"type":null,"year":"2023"},"n_packages":3,"n_references":3,"next":{"headline":"Privilege escalation in ATP series firmware","id":"CVE-2023-37925"},"packages":[{"ecosystem":"PyPI","fixed":["0.8.0"],"introduced":["0.7.0"],"last_affected":[],"package":"apache-submarine","purl":null,"source":"GHSA-v5gj-fx3g-hcpw"},{"ecosystem":"PyPI","fixed":["0.8.0"],"introduced":["0.7.0"],"last_affected":[],"package":"apache-submarine","purl":"pkg:pypi/apache-submarine","source":"GHSA-v5gj-fx3g-hcpw"},{"ecosystem":"PyPI","fixed":["0.8.0"],"introduced":["0.7.0"],"last_affected":[],"package":"apache-submarine","purl":"pkg:pypi/apache-submarine","source":"PYSEC-2023-244"}],"prev":{"headline":"Memory corruption in GTKWave","id":"CVE-2023-37923"},"products":["Apache Submarine"],"published":"2023-11-22","related":[{"cvss_score":9.8,"headline":"Apache Submarine Commons Utils: default secret","id":"CVE-2024-36264","kev_date_added":null,"published":"2024-06-12"},{"cvss_score":9.8,"headline":"Apache Submarine Server Core: authorization bypass","id":"CVE-2024-36265","kev_date_added":null,"published":"2024-06-12"},{"cvss_score":9.8,"headline":"Apache Submarine: Fix CVE-2022-1471 SnakeYaml unsafe deserialization","id":"CVE-2023-46302","kev_date_added":null,"published":"2023-11-20"},{"cvss_score":8.1,"headline":"Apache Submarine Server Core: SQL injection","id":"CVE-2024-36263","kev_date_added":null,"published":"2024-06-12"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"CC BY 4.0","name":"PyPA Advisory Database","prefix":"PYSEC"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":null,"exploitation":null,"technical_impact":null},"state":"PUBLISHED","updated":"2024-08-02","vendors":["Apache Software Foundation"]},"summary":null,"url":"https://insights.sbomify.com/CVE-2023-37924/"}