{"id":"CVE-2023-40303","sourceIdentifier":"cve@mitre.org","published":"2023-08-14T05:15:10.233","lastModified":"2026-06-17T06:17:10.047","vulnStatus":"Modified","cveTags":[],"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":[{"source":"cve@mitre.org","affectedData":[{"vendor":"n/a","product":"n/a","versions":[{"version":"n/a","status":"affected"}]}]}],"metrics":{"cvssMetricV31":[{"source":"nvd@nist.gov","type":"Primary","cvssData":{"version":"3.1","vectorString":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","baseScore":7.8,"baseSeverity":"HIGH","attackVector":"LOCAL","attackComplexity":"LOW","privilegesRequired":"LOW","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"HIGH","integrityImpact":"HIGH","availabilityImpact":"HIGH"},"exploitabilityScore":1.8,"impactScore":5.9}]},"weaknesses":[{"source":"nvd@nist.gov","type":"Primary","description":[{"lang":"en","value":"CWE-252"}]}],"configurations":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:a:gnu:inetutils:*:*:*:*:*:*:*:*","versionEndIncluding":"2.4","matchCriteriaId":"7262D919-99CB-4C30-94B8-F0D1AD4A628F"}]}]}],"references":[{"url":"http://www.openwall.com/lists/oss-security/2023/12/30/4","source":"cve@mitre.org"},{"url":"https://ftp.gnu.org/gnu/inetutils/","source":"cve@mitre.org","tags":["Product"]},{"url":"https://git.savannah.gnu.org/cgit/inetutils.git/commit/?id=e4e65c03f4c11292a3e40ef72ca3f194c8bffdd6","source":"cve@mitre.org","tags":["Patch"]},{"url":"https://lists.debian.org/debian-lts-announce/2023/10/msg00013.html","source":"cve@mitre.org"},{"url":"https://lists.debian.org/debian-lts-announce/2023/10/msg00013.html","source":"cve@mitre.org"},{"url":"https://lists.debian.org/debian-lts-announce/2023/10/msg00013.html","source":"cve@mitre.org"},{"url":"https://lists.debian.org/debian-lts-announce/2023/10/msg00013.html","source":"cve@mitre.org"},{"url":"https://lists.gnu.org/archive/html/bug-inetutils/2023-07/msg00000.html","source":"cve@mitre.org","tags":["Exploit","Mailing List","Patch","Vendor Advisory"]},{"url":"http://www.openwall.com/lists/oss-security/2023/12/30/4","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"https://ftp.gnu.org/gnu/inetutils/","source":"af854a3a-2127-422b-91ae-364da2661108","tags":["Product"]},{"url":"https://git.savannah.gnu.org/cgit/inetutils.git/commit/?id=e4e65c03f4c11292a3e40ef72ca3f194c8bffdd6","source":"af854a3a-2127-422b-91ae-364da2661108","tags":["Patch"]},{"url":"https://lists.debian.org/debian-lts-announce/2023/10/msg00013.html","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"https://lists.debian.org/debian-lts-announce/2023/10/msg00013.html","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"https://lists.debian.org/debian-lts-announce/2023/10/msg00013.html","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"https://lists.debian.org/debian-lts-announce/2023/10/msg00013.html","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"https://lists.gnu.org/archive/html/bug-inetutils/2023-07/msg00000.html","source":"af854a3a-2127-422b-91ae-364da2661108","tags":["Exploit","Mailing List","Patch","Vendor Advisory"]}]}