{"id":"CVE-2023-40303","aliases":["CVE-2023-40303"],"related":[],"kind":"vulnerability","state":"published","title":"GNU inetutils before 2.5 may allow privilege escalation because of unchecked return values of setid() family functions in ftpd, rcp, rlogin…","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"}],"published":"2023-08-14T00:00:00.000Z","modified":"2026-06-17T06:17:10.047Z","severity":{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":7.8,"rating":"HIGH"},"severities":[{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":7.8,"rating":"HIGH"}],"cwes":["CWE-252"],"affected":[{"ranges":[{"version":"n/a","status":"affected"}],"source":"cvelist"},{"ranges":[{"status":"affected","lastAffected":"2.4"}],"vendor":"gnu","product":"inetutils","cpe":"cpe:2.3:a:gnu:inetutils:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://git.savannah.gnu.org/cgit/inetutils.git/commit/?id=e4e65c03f4c11292a3e40ef72ca3f194c8bffdd6","tags":["patch","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://lists.gnu.org/archive/html/bug-inetutils/2023-07/msg00000.html","tags":["exploit","mailing-list","patch","vendor-advisory","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://ftp.gnu.org/gnu/inetutils/","tags":["product","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://lists.debian.org/debian-lts-announce/2023/10/msg00013.html","tags":["mailing-list","x-transferred"],"sources":["cvelist","nvd"]},{"url":"http://www.openwall.com/lists/oss-security/2023/12/30/4","tags":["mailing-list","x-transferred"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"mitre","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2023-40303","url":"https://www.cve.org/CVERecord?id=CVE-2023-40303","licence":"CVE Terms of Use","modified":"2024-08-02T18:31:53.432Z"},{"source":"nvd","name":"NVD","id":"CVE-2023-40303","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-40303","licence":"Public domain","modified":"2026-06-17T06:17:10.047Z"}],"updatedAt":"2026-11-25T22:58:27.098Z","epss":{"score":0.00412,"percentile":0.37526,"date":"2026-12-01T12:00:22.000Z"}}