glibc/scripts
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
..
abi-versions.awk
abilist.awk
backport-support.sh
build-many-glibcs.py Use Linux 6.6 in build-many-glibcs.py 2023-10-31 13:36:51 +00:00
check-c++-types.sh
check-execstack.awk
check-initfini.awk
check-installed-headers.sh scripts: Fix fortify checks if compiler does not support _FORTIFY_SOURCE=3 2023-07-20 17:58:26 -03:00
check-local-headers.sh
check-localplt.awk
check-obsolete-constructs.py
check-textrel.awk
check-wrapper-headers.py
check-wx-segment.py
config-uname.sh
config.guess
config.sub
cpp
cross-test-ssh.sh
documented.sh crypt: Remove libcrypt support 2023-10-30 13:03:59 -03:00
dso-ordering-test.py Fix all the remaining misspellings -- BZ 25337 2023-06-02 01:39:48 +00:00
evaluate-test.sh
firstversions.awk
gen-as-const.py
gen-libc-abis
gen-libc-modules.awk
gen-posix-conf-vars.awk
gen-rrtypes.py
gen-sorted.awk
gen-tunables.awk elf: Ignore GLIBC_TUNABLES for setuid/setgid binaries 2023-11-21 16:15:42 -03:00
glibc_shared_code.py
glibcelf.py Fix all the remaining misspellings -- BZ 25337 2023-06-02 01:39:48 +00:00
glibcextract.py
glibcpp.py Fix all the remaining misspellings -- BZ 25337 2023-06-02 01:39:48 +00:00
glibcsymbols.py
haveversions.awk
install-sh
lib-names.awk
lint-makefiles.sh Add lint-makefiles Makefile linting test. 2023-06-02 21:43:05 -04:00
list-fixed-bugs.py
list-sources.sh
localplt.awk
merge-test-results.sh Format test results closer to what DejaGnu does 2023-11-03 12:58:17 +00:00
mkinstalldirs
move-if-change
move-symbol-to-libc.py
pylint
pylintrc Fix all the remaining misspellings -- BZ 25337 2023-06-02 01:39:48 +00:00
rellns-sh
sort-makefile-lines.py Fix a few more typos I missed in previous round -- BZ 25337 2023-06-02 23:46:32 +00:00
soversions.awk
sysd-rules.awk
test-installation.pl
test_printers_common.py
test_printers_exceptions.py
tst-elf-edit.py
tst-ld-trace.py
update-abilist.sh
update-copyrights Remove 'grp' and merge into 'nss' and 'posix' 2023-10-24 12:30:59 +02:00
vcstocl_quirks.py
versionlist.awk
versions.awk