CVE-2023-40303: High severity GNU InetUtils vulnerability

Published Aug 14, 2023
·
Updated

GNU inetutils before 2.5 may allow privilege escalation because of unchecked return values of setid() 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.

Other sources

GNU inetutils through 2.4 may allow privilege escalation because of unchecked return values of setid() 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 Software

5 affected componentsFixes available
debian/inetutils<=2:1.9.4-7+deb10u1, <=2:1.9.4-7+deb10u2, <=2:2.0-1+deb11u1, <=2:2.4-2
2:2.4-3
ubuntu/inetutils<2:1.9.4-11ubuntu0.2
2:1.9.4-11ubuntu0.2
ubuntu/inetutils<2:2.2-2ubuntu0.1
2:2.2-2ubuntu0.1
ubuntu/inetutils<2:2.4-2ubuntu1.1
2:2.4-2ubuntu1.1
GNU InetUtils<=2.4

Event History

Aug 14, 2023
CVE Published
via MITRE·12:00 AM
Data Sourced
via MITRE·12:00 AM
Description
Aug 22, 2023
Data Sourced
07:14 PM
Description

Parent advisories

This vulnerability appears in the following advisories.

Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is CVE-2023-40303?

CVE-2023-40303 is a vulnerability in GNU inetutils through 2.4 that may allow privilege escalation due to unchecked return values of certain functions.

2

How severe is CVE-2023-40303?

CVE-2023-40303 has a severity rating of 7.8 out of 10, which is considered high.

3

Which software versions are affected by CVE-2023-40303?

Versions up to and including GNU inetutils 2.4 are affected by CVE-2023-40303.

4

How can I fix CVE-2023-40303 on Debian?

To fix CVE-2023-40303 on Debian, you should update the inetutils package to version 2:2.4-3 or higher.

5

Where can I find more information about CVE-2023-40303?

More information about CVE-2023-40303 can be found at the following references: [https://ftp.gnu.org/gnu/inetutils/](https://ftp.gnu.org/gnu/inetutils/), [https://git.savannah.gnu.org/cgit/inetutils.git/commit/?id=e4e65c03f4c11292a3e40ef72ca3f194c8bffdd6](https://git.savannah.gnu.org/cgit/inetutils.git/commit/?id=e4e65c03f4c11292a3e40ef72ca3f194c8bffdd6), [https://lists.gnu.org/archive/html/bug-inetutils/2023-07/msg00000.html](https://lists.gnu.org/archive/html/bug-inetutils/2023-07/msg00000.html).

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203