{
    "dataType": "CVE_RECORD",
    "dataVersion": "5.1",
    "cveMetadata": {
        "state": "PUBLISHED",
        "cveId": "CVE-2023-40303",
        "assignerOrgId": "8254265b-2729-46b6-b9e3-3dfca2d5bfca",
        "assignerShortName": "mitre",
        "dateUpdated": "2024-08-02T18:31:53.432Z",
        "dateReserved": "2023-08-14T00:00:00",
        "datePublished": "2023-08-14T00:00:00"
    },
    "containers": {
        "cna": {
            "providerMetadata": {
                "orgId": "8254265b-2729-46b6-b9e3-3dfca2d5bfca",
                "shortName": "mitre",
                "dateUpdated": "2024-01-02T00:16:47.588459"
            },
            "descriptions": [
                {
                    "lang": "en",
                    "value": "GNU inetutils before 2.5 may allow privilege escalation because of unchecked return values of set*id() family functions in ftpd, rcp, rlogin, rsh, rshd, and uucpd. This is, for example, relevant if the setuid system call fails when a process is trying to drop privileges before letting an ordinary user control the activities of the process."
                }
            ],
            "affected": [
                {
                    "vendor": "n/a",
                    "product": "n/a",
                    "versions": [
                        {
                            "version": "n/a",
                            "status": "affected"
                        }
                    ]
                }
            ],
            "references": [
                {
                    "url": "https://git.savannah.gnu.org/cgit/inetutils.git/commit/?id=e4e65c03f4c11292a3e40ef72ca3f194c8bffdd6"
                },
                {
                    "url": "https://lists.gnu.org/archive/html/bug-inetutils/2023-07/msg00000.html"
                },
                {
                    "url": "https://ftp.gnu.org/gnu/inetutils/"
                },
                {
                    "name": "[debian-lts-announce] 20231008 [SECURITY] [DLA 3611-1] inetutils security update",
                    "tags": [
                        "mailing-list"
                    ],
                    "url": "https://lists.debian.org/debian-lts-announce/2023/10/msg00013.html"
                },
                {
                    "name": "[oss-security] 20231230 Re: inetutils ftpd, rcp, rlogin, rsh, rshd, uucpd: Avoid potential privilege escalations by checking set*id() return values",
                    "tags": [
                        "mailing-list"
                    ],
                    "url": "http://www.openwall.com/lists/oss-security/2023/12/30/4"
                },
                {
                    "url": "https://lists.debian.org/debian-lts-announce/2023/10/msg00013.html"
                }
            ],
            "problemTypes": [
                {
                    "descriptions": [
                        {
                            "type": "text",
                            "lang": "en",
                            "description": "n/a"
                        }
                    ]
                }
            ]
        },
        "adp": [
            {
                "providerMetadata": {
                    "orgId": "af854a3a-2127-422b-91ae-364da2661108",
                    "shortName": "CVE",
                    "dateUpdated": "2024-08-02T18:31:53.432Z"
                },
                "title": "CVE Program Container",
                "references": [
                    {
                        "url": "https://git.savannah.gnu.org/cgit/inetutils.git/commit/?id=e4e65c03f4c11292a3e40ef72ca3f194c8bffdd6",
                        "tags": [
                            "x_transferred"
                        ]
                    },
                    {
                        "url": "https://lists.gnu.org/archive/html/bug-inetutils/2023-07/msg00000.html",
                        "tags": [
                            "x_transferred"
                        ]
                    },
                    {
                        "url": "https://ftp.gnu.org/gnu/inetutils/",
                        "tags": [
                            "x_transferred"
                        ]
                    },
                    {
                        "name": "[debian-lts-announce] 20231008 [SECURITY] [DLA 3611-1] inetutils security update",
                        "tags": [
                            "mailing-list",
                            "x_transferred"
                        ],
                        "url": "https://lists.debian.org/debian-lts-announce/2023/10/msg00013.html"
                    },
                    {
                        "name": "[oss-security] 20231230 Re: inetutils ftpd, rcp, rlogin, rsh, rshd, uucpd: Avoid potential privilege escalations by checking set*id() return values",
                        "tags": [
                            "mailing-list",
                            "x_transferred"
                        ],
                        "url": "http://www.openwall.com/lists/oss-security/2023/12/30/4"
                    },
                    {
                        "url": "https://lists.debian.org/debian-lts-announce/2023/10/msg00013.html",
                        "tags": [
                            "x_transferred"
                        ]
                    }
                ]
            }
        ]
    }
}