{"api_version":"1","generated_at":"2026-07-24T21:29:22+00:00","cve":"CVE-2023-30625","urls":{"html":"https://cve.report/CVE-2023-30625","api":"https://cve.report/api/cve/CVE-2023-30625.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2023-30625","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2023-30625"},"summary":{"title":"CVE-2023-30625","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.","state":"PUBLIC","assigner":"security-advisories@github.com","published_at":"2023-06-16 17:15:00","updated_at":"2023-07-31 19:15:00"},"problem_types":["CWE-89"],"metrics":[],"references":[{"url":"https://github.com/rudderlabs/rudder-server/pull/2664","name":"https://github.com/rudderlabs/rudder-server/pull/2664","refsource":"MISC","tags":[],"title":"fix: always use a sql safe table name in failed events manager by atzoum · Pull Request #2664 · rudderlabs/rudder-server · GitHub","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"http://packetstormsecurity.com/files/173837/Rudder-Server-SQL-Injection-Remote-Code-Execution.html","name":"http://packetstormsecurity.com/files/173837/Rudder-Server-SQL-Injection-Remote-Code-Execution.html","refsource":"MISC","tags":[],"title":"Rudder Server SQL Injection / Remote Code Execution ≈ Packet Storm","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://github.com/rudderlabs/rudder-server/commit/9c009d9775abc99e72fc470f4c4c8e8f1775e82a","name":"https://github.com/rudderlabs/rudder-server/commit/9c009d9775abc99e72fc470f4c4c8e8f1775e82a","refsource":"MISC","tags":[],"title":"fix: properly escape table name when querying for failed events (#2663) · rudderlabs/rudder-server@9c009d9 · GitHub","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://securitylab.github.com/advisories/GHSL-2022-097_rudder-server/","name":"https://securitylab.github.com/advisories/GHSL-2022-097_rudder-server/","refsource":"MISC","tags":[],"title":"GHSL-2022-097: SQL injection in rudder-server - CVE-2023-30625 | GitHub Security Lab","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://github.com/rudderlabs/rudder-server/commit/2f956b7eb3d5eb2de3e79d7df2c87405af25071e","name":"https://github.com/rudderlabs/rudder-server/commit/2f956b7eb3d5eb2de3e79d7df2c87405af25071e","refsource":"MISC","tags":[],"title":"fix: changed query to accept user input in prepared sql statement (#2… · rudderlabs/rudder-server@2f956b7 · GitHub","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://github.com/rudderlabs/rudder-server/pull/2652","name":"https://github.com/rudderlabs/rudder-server/pull/2652","refsource":"MISC","tags":[],"title":"fix: changed query to accept user input in prepared sql statement by deepakrai9185720 · Pull Request #2652 · rudderlabs/rudder-server · GitHub","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://github.com/rudderlabs/rudder-server/commit/0d061ff2d8c16845179d215bf8012afceba12a30","name":"https://github.com/rudderlabs/rudder-server/commit/0d061ff2d8c16845179d215bf8012afceba12a30","refsource":"MISC","tags":[],"title":"fix: always use a sql safe table name in failed events manager (#2664) · rudderlabs/rudder-server@0d061ff · GitHub","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://github.com/rudderlabs/rudder-server/pull/2663","name":"https://github.com/rudderlabs/rudder-server/pull/2663","refsource":"MISC","tags":[],"title":"fix: properly escape table name when querying for failed events by atzoum · Pull Request #2663 · rudderlabs/rudder-server · GitHub","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://www.cve.org/CVERecord?id=CVE-2023-30625","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2023-30625","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[{"cve_year":"2023","cve_id":"30625","vulnerable":"1","versionEndIncluding":"1.2.5","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"rudderstack","cpe5":"rudder-server","cpe6":"*","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"}],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[]},"source_records":{"cve_program":{"data_version":"4.0","data_type":"CVE","data_format":"MITRE","CVE_data_meta":{"ID":"CVE-2023-30625","ASSIGNER":"security-advisories@github.com","STATE":"PUBLIC"},"description":{"description_data":[{"lang":"eng","value":"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."}]},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"CWE-89: Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')","cweId":"CWE-89"}]}]},"affects":{"vendor":{"vendor_data":[{"vendor_name":"rudderlabs","product":{"product_data":[{"product_name":"rudder-server","version":{"version_data":[{"version_affected":"=","version_value":"< 1.3.0-rc.1"}]}}]}}]}},"references":{"reference_data":[{"url":"https://securitylab.github.com/advisories/GHSL-2022-097_rudder-server/","refsource":"MISC","name":"https://securitylab.github.com/advisories/GHSL-2022-097_rudder-server/"},{"url":"https://github.com/rudderlabs/rudder-server/pull/2652","refsource":"MISC","name":"https://github.com/rudderlabs/rudder-server/pull/2652"},{"url":"https://github.com/rudderlabs/rudder-server/pull/2663","refsource":"MISC","name":"https://github.com/rudderlabs/rudder-server/pull/2663"},{"url":"https://github.com/rudderlabs/rudder-server/pull/2664","refsource":"MISC","name":"https://github.com/rudderlabs/rudder-server/pull/2664"},{"url":"https://github.com/rudderlabs/rudder-server/commit/0d061ff2d8c16845179d215bf8012afceba12a30","refsource":"MISC","name":"https://github.com/rudderlabs/rudder-server/commit/0d061ff2d8c16845179d215bf8012afceba12a30"},{"url":"https://github.com/rudderlabs/rudder-server/commit/2f956b7eb3d5eb2de3e79d7df2c87405af25071e","refsource":"MISC","name":"https://github.com/rudderlabs/rudder-server/commit/2f956b7eb3d5eb2de3e79d7df2c87405af25071e"},{"url":"https://github.com/rudderlabs/rudder-server/commit/9c009d9775abc99e72fc470f4c4c8e8f1775e82a","refsource":"MISC","name":"https://github.com/rudderlabs/rudder-server/commit/9c009d9775abc99e72fc470f4c4c8e8f1775e82a"},{"url":"http://packetstormsecurity.com/files/173837/Rudder-Server-SQL-Injection-Remote-Code-Execution.html","refsource":"MISC","name":"http://packetstormsecurity.com/files/173837/Rudder-Server-SQL-Injection-Remote-Code-Execution.html"}]},"source":{"advisory":"GHSA-3jmm-f6jj-rcc3","discovery":"UNKNOWN"},"impact":{"cvss":[{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"HIGH","baseScore":8.8,"baseSeverity":"HIGH","confidentialityImpact":"HIGH","integrityImpact":"HIGH","privilegesRequired":"LOW","scope":"UNCHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","version":"3.1"}]}},"nvd":{"publishedDate":"2023-06-16 17:15:00","lastModifiedDate":"2023-07-31 19:15:00","problem_types":["CWE-89"],"metrics":{"baseMetricV3":{"cvssV3":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","attackVector":"NETWORK","attackComplexity":"LOW","privilegesRequired":"LOW","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"HIGH","integrityImpact":"HIGH","availabilityImpact":"HIGH","baseScore":8.8,"baseSeverity":"HIGH"},"exploitabilityScore":2.8,"impactScore":5.9}},"configurations":{"CVE_data_version":"4.0","nodes":[{"operator":"OR","children":[],"cpe_match":[{"vulnerable":true,"cpe23Uri":"cpe:2.3:a:rudderstack:rudder-server:*:*:*:*:*:*:*:*","versionEndIncluding":"1.2.5","cpe_name":[]}]}]}},"legacy_mitre":{"record":null,"notes":[]}}}