{
    "dataType": "CVE_RECORD",
    "dataVersion": "5.1",
    "cveMetadata": {
        "cveId": "CVE-2024-32019",
        "assignerOrgId": "a0819718-46f1-4df5-94e2-005712e83aaa",
        "state": "PUBLISHED",
        "assignerShortName": "GitHub_M",
        "dateReserved": "2024-04-09T15:29:35.936Z",
        "datePublished": "2024-04-12T20:33:18.080Z",
        "dateUpdated": "2024-09-06T17:58:36.095Z"
    },
    "containers": {
        "cna": {
            "title": "ndsudo: local privilege escalation via untrusted search path",
            "problemTypes": [
                {
                    "descriptions": [
                        {
                            "cweId": "CWE-426",
                            "lang": "en",
                            "description": "CWE-426: Untrusted Search Path",
                            "type": "CWE"
                        }
                    ]
                }
            ],
            "metrics": [
                {
                    "cvssV3_1": {
                        "attackComplexity": "LOW",
                        "attackVector": "LOCAL",
                        "availabilityImpact": "HIGH",
                        "baseScore": 8.8,
                        "baseSeverity": "HIGH",
                        "confidentialityImpact": "HIGH",
                        "integrityImpact": "HIGH",
                        "privilegesRequired": "LOW",
                        "scope": "CHANGED",
                        "userInteraction": "NONE",
                        "vectorString": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H",
                        "version": "3.1"
                    }
                }
            ],
            "references": [
                {
                    "name": "https://github.com/netdata/netdata/security/advisories/GHSA-pmhq-4cxq-wj93",
                    "tags": [
                        "x_refsource_CONFIRM"
                    ],
                    "url": "https://github.com/netdata/netdata/security/advisories/GHSA-pmhq-4cxq-wj93"
                },
                {
                    "name": "https://github.com/netdata/netdata/pull/17377",
                    "tags": [
                        "x_refsource_MISC"
                    ],
                    "url": "https://github.com/netdata/netdata/pull/17377"
                }
            ],
            "affected": [
                {
                    "vendor": "netdata",
                    "product": "netdata",
                    "versions": [
                        {
                            "version": ">= 1.45.0, < 1.45.3",
                            "status": "affected"
                        },
                        {
                            "version": ">= 1.44.0-60, < 1.45.0-169",
                            "status": "affected"
                        }
                    ]
                }
            ],
            "providerMetadata": {
                "orgId": "a0819718-46f1-4df5-94e2-005712e83aaa",
                "shortName": "GitHub_M",
                "dateUpdated": "2024-04-12T20:33:18.080Z"
            },
            "descriptions": [
                {
                    "lang": "en",
                    "value": "Netdata is an open source observability tool. In affected versions the `ndsudo` tool shipped with affected versions of the Netdata Agent allows an attacker to run arbitrary programs with root permissions. The `ndsudo` tool is packaged as a `root`-owned executable with the SUID bit set. It only runs a restricted set of external commands, but its search paths are supplied by the `PATH` environment variable. This allows an attacker to control where `ndsudo` looks for these commands, which may be a path the attacker has write access to. This may lead to local privilege escalation. This vulnerability has been addressed in versions 1.45.3 and 1.45.2-169. Users are advised to upgrade. There are no known workarounds for this vulnerability."
                }
            ],
            "source": {
                "advisory": "GHSA-pmhq-4cxq-wj93",
                "discovery": "UNKNOWN"
            }
        },
        "adp": [
            {
                "providerMetadata": {
                    "orgId": "af854a3a-2127-422b-91ae-364da2661108",
                    "shortName": "CVE",
                    "dateUpdated": "2024-08-02T01:59:50.839Z"
                },
                "title": "CVE Program Container",
                "references": [
                    {
                        "name": "https://github.com/netdata/netdata/security/advisories/GHSA-pmhq-4cxq-wj93",
                        "tags": [
                            "x_refsource_CONFIRM",
                            "x_transferred"
                        ],
                        "url": "https://github.com/netdata/netdata/security/advisories/GHSA-pmhq-4cxq-wj93"
                    },
                    {
                        "name": "https://github.com/netdata/netdata/pull/17377",
                        "tags": [
                            "x_refsource_MISC",
                            "x_transferred"
                        ],
                        "url": "https://github.com/netdata/netdata/pull/17377"
                    }
                ]
            },
            {
                "affected": [
                    {
                        "vendor": "netdata",
                        "product": "netdata",
                        "cpes": [
                            "cpe:2.3:a:netdata:netdata:*:*:*:*:*:*:*:*"
                        ],
                        "defaultStatus": "unknown",
                        "versions": [
                            {
                                "version": "1.44.0-60",
                                "status": "affected",
                                "lessThan": "1.45.0-169",
                                "versionType": "custom"
                            },
                            {
                                "version": "1.45.0",
                                "status": "affected",
                                "lessThan": "1.45.3",
                                "versionType": "custom"
                            }
                        ]
                    }
                ],
                "metrics": [
                    {
                        "other": {
                            "type": "ssvc",
                            "content": {
                                "timestamp": "2024-08-20T20:53:45.698496Z",
                                "id": "CVE-2024-32019",
                                "options": [
                                    {
                                        "Exploitation": "poc"
                                    },
                                    {
                                        "Automatable": "no"
                                    },
                                    {
                                        "Technical Impact": "total"
                                    }
                                ],
                                "role": "CISA Coordinator",
                                "version": "2.0.3"
                            }
                        }
                    }
                ],
                "title": "CISA ADP Vulnrichment",
                "providerMetadata": {
                    "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
                    "shortName": "CISA-ADP",
                    "dateUpdated": "2024-09-06T17:58:36.095Z"
                }
            }
        ]
    }
}