{
    "dataType": "CVE_RECORD",
    "dataVersion": "5.1",
    "cveMetadata": {
        "cveId": "CVE-2021-37942",
        "assignerOrgId": "271b6943-45a9-4f3a-ab4e-976f3fa05b5a",
        "state": "PUBLISHED",
        "assignerShortName": "elastic",
        "dateReserved": "2021-08-03T20:49:52.462Z",
        "datePublished": "2023-11-22T01:33:48.984Z",
        "dateUpdated": "2024-08-04T01:30:09.172Z"
    },
    "containers": {
        "cna": {
            "affected": [
                {
                    "defaultStatus": "unaffected",
                    "product": "Elastic APM Java Agent",
                    "vendor": "Elastic",
                    "versions": [
                        {
                            "lessThan": "1.27.0",
                            "status": "affected",
                            "version": "1.18.0",
                            "versionType": "semver"
                        }
                    ]
                }
            ],
            "datePublic": "2021-12-09T17:25:00.000Z",
            "descriptions": [
                {
                    "lang": "en",
                    "supportingMedia": [
                        {
                            "base64": false,
                            "type": "text/html",
                            "value": "A local privilege escalation issue was found with the APM Java agent, where a user on the system could attach a malicious plugin to an application running the APM Java agent. By using this vulnerability, an attacker could execute code at a potentially higher level of permissions than their user typically has access to."
                        }
                    ],
                    "value": "A local privilege escalation issue was found with the APM Java agent, where a user on the system could attach a malicious plugin to an application running the APM Java agent. By using this vulnerability, an attacker could execute code at a potentially higher level of permissions than their user typically has access to."
                }
            ],
            "metrics": [
                {
                    "cvssV3_1": {
                        "attackComplexity": "HIGH",
                        "attackVector": "LOCAL",
                        "availabilityImpact": "HIGH",
                        "baseScore": 7,
                        "baseSeverity": "HIGH",
                        "confidentialityImpact": "HIGH",
                        "integrityImpact": "HIGH",
                        "privilegesRequired": "LOW",
                        "scope": "UNCHANGED",
                        "userInteraction": "NONE",
                        "vectorString": "CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H",
                        "version": "3.1"
                    },
                    "format": "CVSS",
                    "scenarios": [
                        {
                            "lang": "en",
                            "value": "GENERAL"
                        }
                    ]
                }
            ],
            "problemTypes": [
                {
                    "descriptions": [
                        {
                            "cweId": "CWE-269",
                            "description": "CWE-269: Improper Privilege Management",
                            "lang": "en",
                            "type": "CWE"
                        }
                    ]
                }
            ],
            "providerMetadata": {
                "orgId": "271b6943-45a9-4f3a-ab4e-976f3fa05b5a",
                "shortName": "elastic",
                "dateUpdated": "2023-11-22T01:33:48.984Z"
            },
            "references": [
                {
                    "url": "https://discuss.elastic.co/t/apm-java-agent-security-update/291355"
                },
                {
                    "url": "https://www.elastic.co/community/security"
                }
            ],
            "source": {
                "discovery": "UNKNOWN"
            },
            "title": "APM Java Agent Local Privilege Escalation",
            "x_generator": {
                "engine": "Vulnogram 0.1.0-dev"
            }
        },
        "adp": [
            {
                "providerMetadata": {
                    "orgId": "af854a3a-2127-422b-91ae-364da2661108",
                    "shortName": "CVE",
                    "dateUpdated": "2024-08-04T01:30:09.172Z"
                },
                "title": "CVE Program Container",
                "references": [
                    {
                        "url": "https://discuss.elastic.co/t/apm-java-agent-security-update/291355",
                        "tags": [
                            "x_transferred"
                        ]
                    },
                    {
                        "url": "https://www.elastic.co/community/security",
                        "tags": [
                            "x_transferred"
                        ]
                    }
                ]
            }
        ]
    }
}