Rule ID
SV-215196r991589_rule
Version
V3R2
CCIs
The library preload list environment variable contains a list of libraries for the dynamic linker to load before loading the libraries required by the binary. If this list contains paths to libraries relative to the current working directory, unintended libraries may be preloaded.
Verify the "LDR_PRELOAD" environment variable is empty or not defined for the "root" user using command: # env | grep LDR_PRELOAD If a path is returned, this is a finding.
Edit the "root" user's initialization files and remove any definition of "LDR_PRELOAD".