CVE-2023-40303

NameCVE-2023-40303
DescriptionGNU 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.
SourceCVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)
ReferencesDLA-3611-1, ELA-1057-1, ELA-1103-1
Debian Bugs1049365

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
inetutils (PTS)jessie, jessie (lts)2:1.9.2.39.3a460-3+deb8u2fixed
stretch (security)2:1.9.4-2+deb9u1vulnerable
stretch (lts), stretch2:1.9.4-2+deb9u3fixed
buster (security), buster, buster (lts)2:1.9.4-7+deb10u3fixed
bullseye2:2.0-1+deb11u2fixed
bookworm2:2.4-2+deb12u1fixed
sid, trixie2:2.5-5fixed

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
inetutilssourcejessie2:1.9.2.39.3a460-3+deb8u2ELA-1057-1
inetutilssourcestretch2:1.9.4-2+deb9u3ELA-1103-1
inetutilssourcebuster2:1.9.4-7+deb10u3DLA-3611-1
inetutilssourcebullseye2:2.0-1+deb11u2
inetutilssourcebookworm2:2.4-2+deb12u1
inetutilssource(unstable)2:2.4-31049365

Notes

https://git.savannah.gnu.org/cgit/inetutils.git/commit/?id=e4e65c03f4c11292a3e40ef72ca3f194c8bffdd6
https://lists.gnu.org/archive/html/bug-inetutils/2023-07/msg00000.html

Search for package or bug name: Reporting problems