{
    "dataType": "CVE_RECORD",
    "dataVersion": "5.1",
    "cveMetadata": {
        "cveId": "CVE-2021-22150",
        "assignerOrgId": "271b6943-45a9-4f3a-ab4e-976f3fa05b5a",
        "state": "PUBLISHED",
        "assignerShortName": "elastic",
        "dateReserved": "2021-01-04T20:17:39.859Z",
        "datePublished": "2023-11-22T00:30:56.115Z",
        "dateUpdated": "2024-08-03T18:37:18.497Z"
    },
    "containers": {
        "cna": {
            "affected": [
                {
                    "defaultStatus": "unaffected",
                    "product": "Kibana",
                    "vendor": "Elastic",
                    "versions": [
                        {
                            "lessThan": "7.14.0",
                            "status": "affected",
                            "version": "7.10.2",
                            "versionType": "semver"
                        }
                    ]
                }
            ],
            "datePublic": "2021-09-01T16:10:00.000Z",
            "descriptions": [
                {
                    "lang": "en",
                    "supportingMedia": [
                        {
                            "base64": false,
                            "type": "text/html",
                            "value": "It was discovered that a user with Fleet admin permissions could upload a malicious package. Due to using an older version of the js-yaml library, this package would be loaded in an insecure manner, allowing an attacker to execute commands on the Kibana server.<br>"
                        }
                    ],
                    "value": "It was discovered that a user with Fleet admin permissions could upload a malicious package. Due to using an older version of the js-yaml library, this package would be loaded in an insecure manner, allowing an attacker to execute commands on the Kibana server.\n"
                }
            ],
            "metrics": [
                {
                    "cvssV3_1": {
                        "attackComplexity": "HIGH",
                        "attackVector": "NETWORK",
                        "availabilityImpact": "HIGH",
                        "baseScore": 6.6,
                        "baseSeverity": "MEDIUM",
                        "confidentialityImpact": "HIGH",
                        "integrityImpact": "HIGH",
                        "privilegesRequired": "HIGH",
                        "scope": "UNCHANGED",
                        "userInteraction": "NONE",
                        "vectorString": "CVSS:3.1/AV:N/AC:H/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-94",
                            "description": "CWE-94: Improper Control of Generation of Code",
                            "lang": "en",
                            "type": "CWE"
                        }
                    ]
                }
            ],
            "providerMetadata": {
                "orgId": "271b6943-45a9-4f3a-ab4e-976f3fa05b5a",
                "shortName": "elastic",
                "dateUpdated": "2023-11-22T00:30:56.115Z"
            },
            "references": [
                {
                    "url": "https://discuss.elastic.co/t/elastic-stack-7-14-1-security-update/283077"
                },
                {
                    "url": "https://www.elastic.co/community/security"
                }
            ],
            "source": {
                "discovery": "UNKNOWN"
            },
            "title": "Kibana code execution issue",
            "x_generator": {
                "engine": "Vulnogram 0.1.0-dev"
            }
        },
        "adp": [
            {
                "providerMetadata": {
                    "orgId": "af854a3a-2127-422b-91ae-364da2661108",
                    "shortName": "CVE",
                    "dateUpdated": "2024-08-03T18:37:18.497Z"
                },
                "title": "CVE Program Container",
                "references": [
                    {
                        "url": "https://discuss.elastic.co/t/elastic-stack-7-14-1-security-update/283077",
                        "tags": [
                            "x_transferred"
                        ]
                    },
                    {
                        "url": "https://www.elastic.co/community/security",
                        "tags": [
                            "x_transferred"
                        ]
                    }
                ]
            }
        ]
    }
}