Adhemerval Zanella 9c96c87d60 elf: Ignore GLIBC_TUNABLES for setuid/setgid binaries
The tunable privilege levels were a retrofit to try and keep the malloc
tunable environment variables' behavior unchanged across security
boundaries.  However, CVE-2023-4911 shows how tricky can be
tunable parsing in a security-sensitive environment.

Not only parsing, but the malloc tunable essentially changes some
semantics on setuid/setgid processes.  Although it is not a direct
security issue, allowing users to change setuid/setgid semantics is not
a good security practice, and requires extra code and analysis to check
if each tunable is safe to use on all security boundaries.

It also means that security opt-in features, like aarch64 MTE, would
need to be explicit enabled by an administrator with a wrapper script
or with a possible future system-wide tunable setting.

Co-authored-by: Siddhesh Poyarekar  <siddhesh@sourceware.org>
Reviewed-by: DJ Delorie <dj@redhat.com>
2023-11-21 16:15:42 -03:00
..
2023-05-29 23:00:12 +00:00
2023-05-29 23:00:12 +00:00
2023-05-29 23:00:12 +00:00
2023-11-03 10:01:46 -03:00
2009-06-03 16:21:40 -07:00
2009-06-22 15:07:40 -07:00
2009-06-22 15:07:40 -07:00
2009-06-22 15:07:40 -07:00
2013-06-05 20:44:03 +00:00
2009-10-30 00:48:54 -07:00
2009-06-03 16:21:40 -07:00
2009-06-22 15:07:40 -07:00
2009-06-22 15:07:40 -07:00
2009-06-22 15:07:40 -07:00
2009-06-22 15:07:40 -07:00
2009-06-22 15:07:40 -07:00
2009-06-22 15:07:40 -07:00
2009-06-22 15:07:40 -07:00
2009-06-22 15:07:40 -07:00
2009-06-22 15:07:40 -07:00
2009-10-30 00:48:54 -07:00
2012-01-07 23:57:22 -05:00
2006-03-01 06:18:49 +00:00
2023-05-29 23:00:12 +00:00
2023-05-29 23:00:12 +00:00
2023-05-29 23:00:12 +00:00
2023-05-29 23:00:12 +00:00
2023-11-21 16:15:42 -03:00
2020-05-18 15:39:34 +02:00
2023-05-29 23:00:12 +00:00
2013-06-05 20:44:03 +00:00
2022-04-26 10:16:11 -07:00
2022-04-26 10:16:11 -07:00
2013-10-18 19:45:36 +05:30
2011-09-10 14:34:15 -04:00
2011-09-10 14:34:15 -04:00
2011-09-10 14:34:15 -04:00
2006-03-01 06:18:49 +00:00
2011-08-24 09:32:13 +02:00
2006-03-01 06:18:49 +00:00
2023-05-29 23:00:12 +00:00