CVE-2023-40303

high

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.

References

https://lists.gnu.org/archive/html/bug-inetutils/2023-07/msg00000.html

https://lists.debian.org/debian-lts-announce/2023/10/msg00013.html

https://git.savannah.gnu.org/cgit/inetutils.git/commit/?id=e4e65c03f4c11292a3e40ef72ca3f194c8bffdd6

https://ftp.gnu.org/gnu/inetutils/

http://www.openwall.com/lists/oss-security/2023/12/30/4

Details

Source: Mitre, NVD

Published: 2023-08-14

Updated: 2024-01-02

Risk Information

CVSS v2

Base Score: 6.8

Vector: CVSS2#AV:L/AC:L/Au:S/C:C/I:C/A:C

Severity: Medium

CVSS v3

Base Score: 7.8

Vector: CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Severity: High