CVEfocus › CVE database › CVE-2023-40303

CVE-2023-40303

CVSS 7.8 HighEPSS 0.4% (higher than 23% of CVEs)Published 2023-08-14Updated 2024-08-02Assigner: mitre

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.

What to do

Fixed builds are available from Debian, Ubuntu: see the table below for the fixed version per release.

Ubuntu has not shipped a fix for every release yet.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

6Fixed
3Fix pending

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 24.04inetutilsFixed2:2.4-3ubuntu1UBUNTU-CVE-2023-40303
Ubuntu 22.04inetutilsFixed2:2.2-2ubuntu0.1UBUNTU-CVE-2023-40303
Ubuntu 20.04inetutilsFixed2:1.9.4-11ubuntu0.2UBUNTU-CVE-2023-40303
Ubuntu 18.04inetutilsFix pending2:1.9.4-3ubuntu0.1+esm2 (Ubuntu Pro)UBUNTU-CVE-2023-40303
Ubuntu 16.04inetutilsFix pending2:1.9.4-1ubuntu0.1~esm3 (Ubuntu Pro)UBUNTU-CVE-2023-40303
Ubuntu 14.04inetutilsFix pending2:1.9.2-1ubuntu0.1~esm2 (Ubuntu Pro)UBUNTU-CVE-2023-40303
Debian 14inetutilsFixed2:2.4-3DEBIAN-CVE-2023-40303
Debian 13inetutilsFixed2:2.4-3DEBIAN-CVE-2023-40303
Debian 12inetutilsFixed2:2.4-2+deb12u1DEBIAN-CVE-2023-40303

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.