# CVE-2023-40303

- Priority: **Prioritise**
- Reason: Public exploit (reference, Date unknown)
- Next step: Check applicability and the vendor advisory: no fix release is recorded here
- Status: published
- Published: 2023-08-14 · Modified: 2024-08-02
- Aliases: UBUNTU-CVE-2023-40303, DEBIAN-CVE-2023-40303
- Record: https://cvemate.com/vulnerability/CVE-2023-40303 · JSON: https://cvemate.com/vulnerability/CVE-2023-40303/json

## Description

```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.
```

## Signals

- CVSS: 7.8 high (v3.1, NVD) CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- EPSS: 0.412%, percentile 37.518%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 1 (reference)

## Affected

- debian inetutils (Debian): \< 2:2.4-2+deb12u1 \| \< 2:2.4-3
- ubuntu inetutils (Ubuntu): \< 2:1.9.2-1ubuntu0.1~esm2 \| \< 2:1.9.4-1ubuntu0.1~esm3 \| \< 2:1.9.4-3ubuntu0.1+esm2 \| \< 2:1.9.4-11ubuntu0.2 \| \< 2:2.2-2ubuntu0.1 \| \< 2:2.4-3ubuntu1
- gnu inetutils: ≤ 2.4

## References

- <https://git.savannah.gnu.org/cgit/inetutils.git/commit/?id=e4e65c03f4c11292a3e40ef72ca3f194c8bffdd6>
- <https://lists.gnu.org/archive/html/bug-inetutils/2023-07/msg00000.html>
- <https://ftp.gnu.org/gnu/inetutils/>
- <https://lists.debian.org/debian-lts-announce/2023/10/msg00013.html>
- <http://www.openwall.com/lists/oss-security/2023/12/30/4>
- <https://ubuntu.com/security/CVE-2023-40303>
- <https://ubuntu.com/security/notices/USN-6304-1>
- <https://www.cve.org/CVERecord?id=CVE-2023-40303>
- <https://ubuntu.com/security/notices/USN-7781-1>
- <https://security-tracker.debian.org/tracker/CVE-2023-40303>

---

Data as of 2026-12-05T03:08:54.325Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
