CVE-2023-40303
7.8high
GNU inetutils before 2.5 may allow privilege escalation because of unchecked return values of setid() family functions in ftpd, rcp, rlogin…
- Severity
- 7.8high CVSS:3.1 by NVD
- Exploit likelihood
- 0.41% (higher than 37% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- mitre
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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| Unspecified product | n/a | CVE List |
| gnu inetutils | up to 2.4 | NVD |
Classification
References
| https://git.savannah.gnu.org/cgit/inetutils.git/commit/?id=e4e65c03f4c11292a3e40ef72ca3f194c8bffdd6 | patch | |
| https://lists.gnu.org/archive/html/bug-inetutils/2023-07/msg00000.html | exploit, mailing-list, patch, vendor-advisory | |
| https://ftp.gnu.org/gnu/inetutils/ | product | |
| https://lists.debian.org/debian-lts-announce/2023/10/msg00013.html | mailing-list | |
| http://www.openwall.com/lists/oss-security/2023/12/30/4 | mailing-list | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2023-40303 changed 2024-08-02 | CVE Terms of Use |
| NVD | CVE-2023-40303 changed 2026-06-17 | Public domain |