{
    "dataType": "CVE_RECORD",
    "dataVersion": "5.1",
    "cveMetadata": {
        "cveId": "CVE-2023-30625",
        "assignerOrgId": "a0819718-46f1-4df5-94e2-005712e83aaa",
        "state": "PUBLISHED",
        "assignerShortName": "GitHub_M",
        "dateReserved": "2023-04-13T13:25:18.833Z",
        "datePublished": "2023-06-16T16:04:00.454Z",
        "dateUpdated": "2024-08-02T14:28:52.033Z"
    },
    "containers": {
        "cna": {
            "title": "rudder-server vulnerable to SQL Injection",
            "problemTypes": [
                {
                    "descriptions": [
                        {
                            "cweId": "CWE-89",
                            "lang": "en",
                            "description": "CWE-89: Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')",
                            "type": "CWE"
                        }
                    ]
                }
            ],
            "metrics": [
                {
                    "cvssV3_1": {
                        "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"
                    }
                }
            ],
            "references": [
                {
                    "name": "https://securitylab.github.com/advisories/GHSL-2022-097_rudder-server/",
                    "tags": [
                        "x_refsource_CONFIRM"
                    ],
                    "url": "https://securitylab.github.com/advisories/GHSL-2022-097_rudder-server/"
                },
                {
                    "name": "https://github.com/rudderlabs/rudder-server/pull/2652",
                    "tags": [
                        "x_refsource_MISC"
                    ],
                    "url": "https://github.com/rudderlabs/rudder-server/pull/2652"
                },
                {
                    "name": "https://github.com/rudderlabs/rudder-server/pull/2663",
                    "tags": [
                        "x_refsource_MISC"
                    ],
                    "url": "https://github.com/rudderlabs/rudder-server/pull/2663"
                },
                {
                    "name": "https://github.com/rudderlabs/rudder-server/pull/2664",
                    "tags": [
                        "x_refsource_MISC"
                    ],
                    "url": "https://github.com/rudderlabs/rudder-server/pull/2664"
                },
                {
                    "name": "https://github.com/rudderlabs/rudder-server/commit/0d061ff2d8c16845179d215bf8012afceba12a30",
                    "tags": [
                        "x_refsource_MISC"
                    ],
                    "url": "https://github.com/rudderlabs/rudder-server/commit/0d061ff2d8c16845179d215bf8012afceba12a30"
                },
                {
                    "name": "https://github.com/rudderlabs/rudder-server/commit/2f956b7eb3d5eb2de3e79d7df2c87405af25071e",
                    "tags": [
                        "x_refsource_MISC"
                    ],
                    "url": "https://github.com/rudderlabs/rudder-server/commit/2f956b7eb3d5eb2de3e79d7df2c87405af25071e"
                },
                {
                    "name": "https://github.com/rudderlabs/rudder-server/commit/9c009d9775abc99e72fc470f4c4c8e8f1775e82a",
                    "tags": [
                        "x_refsource_MISC"
                    ],
                    "url": "https://github.com/rudderlabs/rudder-server/commit/9c009d9775abc99e72fc470f4c4c8e8f1775e82a"
                },
                {
                    "url": "http://packetstormsecurity.com/files/173837/Rudder-Server-SQL-Injection-Remote-Code-Execution.html"
                }
            ],
            "affected": [
                {
                    "vendor": "rudderlabs",
                    "product": "rudder-server",
                    "versions": [
                        {
                            "version": "< 1.3.0-rc.1",
                            "status": "affected"
                        }
                    ]
                }
            ],
            "providerMetadata": {
                "orgId": "a0819718-46f1-4df5-94e2-005712e83aaa",
                "shortName": "GitHub_M",
                "dateUpdated": "2023-06-16T16:04:00.454Z"
            },
            "descriptions": [
                {
                    "lang": "en",
                    "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."
                }
            ],
            "source": {
                "advisory": "GHSA-3jmm-f6jj-rcc3",
                "discovery": "UNKNOWN"
            }
        },
        "adp": [
            {
                "providerMetadata": {
                    "orgId": "af854a3a-2127-422b-91ae-364da2661108",
                    "shortName": "CVE",
                    "dateUpdated": "2024-08-02T14:28:52.033Z"
                },
                "title": "CVE Program Container",
                "references": [
                    {
                        "name": "https://securitylab.github.com/advisories/GHSL-2022-097_rudder-server/",
                        "tags": [
                            "x_refsource_CONFIRM",
                            "x_transferred"
                        ],
                        "url": "https://securitylab.github.com/advisories/GHSL-2022-097_rudder-server/"
                    },
                    {
                        "name": "https://github.com/rudderlabs/rudder-server/pull/2652",
                        "tags": [
                            "x_refsource_MISC",
                            "x_transferred"
                        ],
                        "url": "https://github.com/rudderlabs/rudder-server/pull/2652"
                    },
                    {
                        "name": "https://github.com/rudderlabs/rudder-server/pull/2663",
                        "tags": [
                            "x_refsource_MISC",
                            "x_transferred"
                        ],
                        "url": "https://github.com/rudderlabs/rudder-server/pull/2663"
                    },
                    {
                        "name": "https://github.com/rudderlabs/rudder-server/pull/2664",
                        "tags": [
                            "x_refsource_MISC",
                            "x_transferred"
                        ],
                        "url": "https://github.com/rudderlabs/rudder-server/pull/2664"
                    },
                    {
                        "name": "https://github.com/rudderlabs/rudder-server/commit/0d061ff2d8c16845179d215bf8012afceba12a30",
                        "tags": [
                            "x_refsource_MISC",
                            "x_transferred"
                        ],
                        "url": "https://github.com/rudderlabs/rudder-server/commit/0d061ff2d8c16845179d215bf8012afceba12a30"
                    },
                    {
                        "name": "https://github.com/rudderlabs/rudder-server/commit/2f956b7eb3d5eb2de3e79d7df2c87405af25071e",
                        "tags": [
                            "x_refsource_MISC",
                            "x_transferred"
                        ],
                        "url": "https://github.com/rudderlabs/rudder-server/commit/2f956b7eb3d5eb2de3e79d7df2c87405af25071e"
                    },
                    {
                        "name": "https://github.com/rudderlabs/rudder-server/commit/9c009d9775abc99e72fc470f4c4c8e8f1775e82a",
                        "tags": [
                            "x_refsource_MISC",
                            "x_transferred"
                        ],
                        "url": "https://github.com/rudderlabs/rudder-server/commit/9c009d9775abc99e72fc470f4c4c8e8f1775e82a"
                    },
                    {
                        "url": "http://packetstormsecurity.com/files/173837/Rudder-Server-SQL-Injection-Remote-Code-Execution.html",
                        "tags": [
                            "x_transferred"
                        ]
                    }
                ]
            }
        ]
    }
}