{
    "dataType": "CVE_RECORD",
    "dataVersion": "5.1",
    "cveMetadata": {
        "cveId": "CVE-2023-0575",
        "assignerOrgId": "d4ae51d3-4db5-465e-bc8a-eb6768324078",
        "state": "PUBLISHED",
        "assignerShortName": "Yugabyte",
        "dateReserved": "2023-01-30T08:16:20.523Z",
        "datePublished": "2023-02-09T16:12:46.327Z",
        "dateUpdated": "2024-08-02T05:17:49.883Z"
    },
    "containers": {
        "cna": {
            "affected": [
                {
                    "defaultStatus": "unaffected",
                    "modules": [
                        "DevopsBase.java:execCommand",
                        "TableManager.java:runCommand"
                    ],
                    "platforms": [
                        "Linux",
                        "Docker",
                        "Kubernetes",
                        "MacOS"
                    ],
                    "product": "YugabyteDB",
                    "vendor": "YugabyteDB",
                    "versions": [
                        {
                            "lessThan": "2.15",
                            "status": "affected",
                            "version": "2.0",
                            "versionType": "2.0 to 2.14"
                        }
                    ]
                }
            ],
            "descriptions": [
                {
                    "lang": "en",
                    "supportingMedia": [
                        {
                            "base64": false,
                            "type": "text/html",
                            "value": "External Control of Critical State Data, Improper Control of Generation of Code ('Code Injection') vulnerability in YugaByte, Inc. Yugabyte DB on Windows, Linux, MacOS, iOS (DevopsBase.Java:execCommand, TableManager.Java:runCommand modules) allows API Manipulation, Privilege Abuse.<p> This vulnerability is associated with program files <tt>backup.Py</tt>.</p><p>This issue affects Yugabyte DB: Lesser then 2.2.0.0</p>"
                        }
                    ],
                    "value": "External Control of Critical State Data, Improper Control of Generation of Code ('Code Injection') vulnerability in YugaByte, Inc. Yugabyte DB on Windows, Linux, MacOS, iOS (DevopsBase.Java:execCommand, TableManager.Java:runCommand modules) allows API Manipulation, Privilege Abuse. This vulnerability is associated with program files backup.Py.\n\nThis issue affects Yugabyte DB: Lesser then 2.2.0.0\n\n"
                }
            ],
            "impacts": [
                {
                    "capecId": "CAPEC-113",
                    "descriptions": [
                        {
                            "lang": "en",
                            "value": "CAPEC-113 API Manipulation"
                        }
                    ]
                },
                {
                    "capecId": "CAPEC-122",
                    "descriptions": [
                        {
                            "lang": "en",
                            "value": "CAPEC-122 Privilege Abuse"
                        }
                    ]
                }
            ],
            "metrics": [
                {
                    "cvssV3_1": {
                        "attackComplexity": "LOW",
                        "attackVector": "NETWORK",
                        "availabilityImpact": "HIGH",
                        "baseScore": 7.2,
                        "baseSeverity": "HIGH",
                        "confidentialityImpact": "HIGH",
                        "integrityImpact": "HIGH",
                        "privilegesRequired": "HIGH",
                        "scope": "UNCHANGED",
                        "userInteraction": "NONE",
                        "vectorString": "CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H",
                        "version": "3.1"
                    },
                    "format": "CVSS",
                    "scenarios": [
                        {
                            "lang": "en",
                            "value": "GENERAL"
                        }
                    ]
                }
            ],
            "problemTypes": [
                {
                    "descriptions": [
                        {
                            "cweId": "CWE-642",
                            "description": "CWE-642: External Control of Critical State Data",
                            "lang": "en",
                            "type": "CWE"
                        }
                    ]
                },
                {
                    "descriptions": [
                        {
                            "cweId": "CWE-94",
                            "description": "CWE-94 Improper Control of Generation of Code ('Code Injection')",
                            "lang": "en",
                            "type": "CWE"
                        }
                    ]
                }
            ],
            "providerMetadata": {
                "orgId": "d4ae51d3-4db5-465e-bc8a-eb6768324078",
                "shortName": "Yugabyte",
                "dateUpdated": "2023-11-10T22:22:52.652Z"
            },
            "references": [
                {
                    "url": "https://www.yugabyte.com/"
                }
            ],
            "solutions": [
                {
                    "lang": "en",
                    "supportingMedia": [
                        {
                            "base64": false,
                            "type": "text/html",
                            "value": "Use Yugabyte version&nbsp;<span style=\"background-color: var(--wht);\"><b>2.3.3.0-b106&nbsp;</b>or higher.</span><br><br>"
                        }
                    ],
                    "value": "Use Yugabyte version 2.3.3.0-b106 or higher.\n\n"
                }
            ],
            "source": {
                "defect": [
                    "PLAT-3444"
                ],
                "discovery": "INTERNAL"
            },
            "title": "Remote Code Execution",
            "workarounds": [
                {
                    "lang": "en",
                    "supportingMedia": [
                        {
                            "base64": false,
                            "type": "text/html",
                            "value": "<span style=\"background-color: rgb(255, 255, 255);\">In </span><code>yugaware/config/configs</code><span style=\"background-color: rgb(255, 255, 255);\"> folder there is a file </span><code>acceptableKeys.yaml</code><span style=\"background-color: rgb(255, 255, 255);\"> which contains a list of acceptable keys for different types of providers. Edit it and restart the Yugaware process to reload the list.</span><br>"
                        }
                    ],
                    "value": "In yugaware/config/configs folder there is a file acceptableKeys.yaml which contains a list of acceptable keys for different types of providers. Edit it and restart the Yugaware process to reload the list.\n"
                }
            ],
            "x_generator": {
                "engine": "Vulnogram 0.1.0-dev"
            }
        },
        "adp": [
            {
                "providerMetadata": {
                    "orgId": "af854a3a-2127-422b-91ae-364da2661108",
                    "shortName": "CVE",
                    "dateUpdated": "2024-08-02T05:17:49.883Z"
                },
                "title": "CVE Program Container",
                "references": [
                    {
                        "url": "https://www.yugabyte.com/",
                        "tags": [
                            "x_transferred"
                        ]
                    }
                ]
            }
        ]
    }
}