[sudo-commits] sudo changeset 12950:b8616379543a

Todd C. Miller Todd.Miller at sudo.ws
Tue Feb 9 13:53:23 MST 2021


changeset:	12950:b8616379543a in /raid/repos/sudo
details:	https://www.sudo.ws/repos/sudo/rev/b8616379543a
user:		Todd C. Miller <Todd.Miller at sudo.ws>
date:		Sat Jan 23 08:43:59 2021 -0700

Log Message:
	Reset valid_flags to MODE_NONINTERACTIVE for sudoedit.
	This is consistent with how the -e option is handled.
	Also reject -H and -P flags for sudoedit as was done in sudo 1.7.
	Found by Qualys, this is part of the fix for CVE-2021-3156.

diffstat:

 include/sudo_compat.h |   2 +-
 src/parse_args.c      |  18 ++++++++++++------
 2 files changed, 13 insertions(+), 7 deletions(-)



More information about the sudo-commits mailing list