{"answers":{"affected":"3 open source packages ship an affected version, including github.com/rudderlabs/rudder-server. It affects 1 product.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2023-30625 exists.","fix":"Upgrade github.com/rudderlabs/rudder-server to 1.3.0-rc.1 or later.","what":"CVE-2023-30625 is a high-severity SQL injection vulnerability in rudderlabs rudder-server, published on 16 Jun 2023. Any signed-in user can exploit it over the network, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2023-30625 and fix it if it is affected.\n\nWhat it is: CVE-2023-30625 is a high-severity SQL injection vulnerability in rudderlabs rudder-server, published on 16 Jun 2023. Any signed-in user can exploit it over the network, with no action from the victim.\nExploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2023-30625 exists.\n\nAffected packages and fixed versions:\n- github.com/rudderlabs/rudder-server (Go): affected all versions; fixed in 1.3.0-rc.1\n- github.com/rudderlabs/rudder-server (Go): affected all versions; fixed in 1.3.0-rc.1\n- github.com/rudderlabs/rudder-server (Go): affected all versions; fixed in 1.3.0-rc.1\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-30625/ (Markdown: https://insights.sbomify.com/CVE-2023-30625/index.md)","id":"CVE-2023-30625","markdown":"https://insights.sbomify.com/CVE-2023-30625/index.md","name":"CVE-2023-30625","record":{"aliases":["GHSA-3jmm-f6jj-rcc3","GO-2023-1863"],"analysis":{"component_type":"server_software","fix_type":"upgrade","impacts":["code_execution","privilege_escalation"],"network_reachable":"yes","non_default_config":false,"product_category":"Customer Data Platform","requires_auth":"low_privilege","summary":"Attackers can execute arbitrary SQL commands leading to remote code execution due to excessive database privileges in RudderStack's server component.","user_interaction":"not_required","vuln_class":"sql_injection"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[{"product":"rudder-server","vendor":"rudderstack"}],"cvss":{"score":8.8,"severity":"high","source":"cna","vector":"CVSS:3.1/AV:N/AC:L/PR:L/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":"rudder-server is part of RudderStack, an open source Customer Data Platform (CDP). Versions of rudder-server prior to 1.3.0-rc.1 are vulnerable to SQL injection. This issue may lead to Remote Code Execution (RCE) due to the `rudder` role in PostgresSQL having superuser permissions by default. Version 1.3.0-rc.1 contains patches for this issue.","ecosystems":["Go"],"exploits":{"exploitdb":0,"first_seen":"2023-06-16","github_poc":0,"max_poc_stars":null,"metasploit":1,"nuclei":1,"refs":[{"date":"2023-06-16","kind":"metasploit","ref":"exploit/multi/http/rudder_server_sqli_rce","stars":null,"title":"Rudder Server SQLI Remote Code Execution"},{"date":null,"kind":"nuclei","ref":"http/cves/2023/CVE-2023-30625.yaml","stars":null,"title":"Rudder Server \u003c 1.3.0-rc.1 - SQL Injection"}],"tier":"weaponised"},"has_fix":true,"headline":"rudder-server vulnerable to SQL Injection","id":"CVE-2023-30625","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Go","product":null,"products":[],"type":"sql_injection","year":"2023"},"n_packages":3,"n_references":8,"next":{"headline":"Jellyfin vulnerable to directory traversal and file write causing arbitrary code execution","id":"CVE-2023-30626"},"packages":[{"ecosystem":"Go","fixed":["1.3.0-rc.1"],"introduced":["0"],"last_affected":[],"package":"github.com/rudderlabs/rudder-server","purl":null,"source":"GHSA-3jmm-f6jj-rcc3"},{"ecosystem":"Go","fixed":["1.3.0-rc.1"],"introduced":["0"],"last_affected":[],"package":"github.com/rudderlabs/rudder-server","purl":"pkg:golang/github.com/rudderlabs/rudder-server","source":"GHSA-3jmm-f6jj-rcc3"},{"ecosystem":"Go","fixed":["1.3.0-rc.1"],"introduced":["0"],"last_affected":[],"package":"github.com/rudderlabs/rudder-server","purl":"pkg:golang/github.com/rudderlabs/rudder-server","source":"GO-2023-1863"}],"prev":{"headline":"Wasmtime has Undefined Behavior in Rust runtime functions","id":"CVE-2023-30624"},"products":["rudder-server"],"published":"2023-06-16","related":[],"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":"Go Vulnerability Database","prefix":"GO"},{"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)"},{"class":"attribution","licence":"BSD-3-Clause","name":"Metasploit"},{"class":"attribution","licence":"MIT","name":"Nuclei templates"}],"ssvc":{"automatable":"no","exploitation":"none","technical_impact":"total"},"state":"PUBLISHED","updated":"2025-02-13","vendors":["rudderlabs"]},"summary":"Attackers can execute arbitrary SQL commands leading to remote code execution due to excessive database privileges in RudderStack's server component.","url":"https://insights.sbomify.com/CVE-2023-30625/"}