{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2023-40303","id":"CVE-2023-40303","title":"GNU inetutils before 2.5 may allow privilege escalation because of unchecked return values of set*id() family functio…","description":"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.","descriptionLong":"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.","published":"2023-08-14T00:00:00.000Z","updated":"2026-11-14T10:45:18.696867076Z","reserved":"2023-08-14T00:00:00.000Z","status":"Modified","rejected":false,"assigner":"mitre","metric":{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"NVD"},"metrics":[{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"NVD"}],"rating":"high","products":[],"affectedProducts":[{"vendor":"n/a","product":"n/a","defaultStatus":null,"versions":[{"version":"n/a","status":"affected"}],"platforms":[]}],"packages":[],"cwes":["CWE-252"],"aliases":[],"references":[{"url":"https://git.savannah.gnu.org/cgit/inetutils.git/commit/?id=e4e65c03f4c11292a3e40ef72ca3f194c8bffdd6","tags":["x_transferred","Patch","web"]},{"url":"https://lists.gnu.org/archive/html/bug-inetutils/2023-07/msg00000.html","tags":["x_transferred","Exploit","Mailing List","Patch","Vendor Advisory","web"]},{"url":"https://ftp.gnu.org/gnu/inetutils/","tags":["x_transferred","Product","web"]},{"url":"https://lists.debian.org/debian-lts-announce/2023/10/msg00013.html","tags":["mailing-list","x_transferred","article"]},{"url":"http://www.openwall.com/lists/oss-security/2023/12/30/4","tags":["mailing-list","x_transferred","article"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/40xxx/CVE-2023-40303.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2023-40303","tags":["advisory"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":true,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":null,"epss":0.00412,"epssPercentile":0.36202,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2023-40303","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-40303","ok":true,"note":"Modified"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2023-40303","ok":true,"note":"0 packages"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2023-40303","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}