
oss-sec mailing list archives
Re: CVE-2023-51767: a bogus CVE in OpenSSH
From: "Todd C. Miller" <Todd.Miller () sudo ws>
Date: Tue, 23 Sep 2025 10:32:54 -0600
On Tue, 23 Sep 2025 05:21:13 +0200, Solar Designer wrote:
FWIW, this paper was brought to oss-security back then, and I've added CC's to this reply based on that message: https://www.openwall.com/lists/oss-security/2023/12/21/9 The only CVE I see in the paper itself is CVE-2023-42465 for sudo, which upstream (and some distros) fixed. Was it perhaps more serious for sudo (actually exposed in real-world setups)? Also CC'ing Todd for sudo.
I don't think it was particularly serious for sudo. The attack was only against passwd-based authentication, not PAM. As such it didn't really affect modern systems. The interesting thing, to me anyway, was that it shows how a single-bit flip can affect security-relevant functions with a boolean return value. In contrast, a function that returns 0 on success and -1 (or other negative values) on error can be safer as long as the caller checks for success (0) instead of error (-1). For sudo I chose to use return values where a large number of bits need to be flipped during the policy evaluation. However, the interface between the sudo front-end and the policy module still uses a 0/1/-1 return value so it's not clear how effective this actually is. - todd
Current thread:
- CVE-2023-51767: a bogus CVE in OpenSSH Damien Miller (Sep 22)
- Re: CVE-2023-51767: a bogus CVE in OpenSSH Stuart D Gathman (Sep 22)
- Re: CVE-2023-51767: a bogus CVE in OpenSSH Pedro Sampaio (Sep 22)
- Re: CVE-2023-51767: a bogus CVE in OpenSSH Solar Designer (Sep 22)
- Re: process exit statuses (was: CVE-2023-51767) Simon McVittie (Sep 23)
- Re: CVE-2023-51767: a bogus CVE in OpenSSH Peter Gutmann (Sep 23)
- Re: CVE-2023-51767: a bogus CVE in OpenSSH Todd C. Miller (Sep 23)
- Re: [EXT] Re: [oss-security] CVE-2023-51767: a bogus CVE in OpenSSH Adiletta, Andrew (Sep 23)
- Re: Re: [EXT] Re: [oss-security] CVE-2023-51767: a bogus CVE in OpenSSH Jacob Bachmeyer (Sep 23)
- Re: Re: [EXT] Re: [oss-security] CVE-2023-51767: a bogus CVE in OpenSSH Peter Gutmann (Sep 24)
- Re: Re: [EXT] Re: [oss-security] CVE-2023-51767: a bogus CVE in OpenSSH Jacob Bachmeyer (Sep 24)
- Re: Re: [EXT] Re: [oss-security] CVE-2023-51767: a bogus CVE in OpenSSH Demi Marie Obenour (Sep 25)
- Re: Re: [EXT] Re: [oss-security] CVE-2023-51767: a bogus CVE in OpenSSH Jacob Bachmeyer (Sep 25)
- Re: Re: [EXT] Re: [oss-security] CVE-2023-51767: a bogus CVE in OpenSSH Demi Marie Obenour (Sep 26)
- Re: CVE-2023-51767: a bogus CVE in OpenSSH Stuart D Gathman (Sep 22)
- Re: CVE-2023-51767: a bogus CVE in OpenSSH Damien Miller (Sep 24)