You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
macOS has a similar mechanism to LD_PRELOAD in Linux called DYLD_INSERT_LIBRARIES. Our current macOS binaries honor this environment variable, while the Linux ones do not. It is a good security practice to prevent usage of said environment variable to avoid preloading of arbitrary dynamic libraries.
mx-psi
changed the title
Prevent DYLB from being loaded in darwin binaries
OTE-01-002 WP1: Prevent DYLB from being loaded in darwin binaries
Jul 31, 2024
mx-psi
changed the title
OTE-01-002 WP1: Prevent DYLB from being loaded in darwin binaries
OTE-01-002 WP1: Possible DYLIB Injection on MacOS Client
Jul 31, 2024
macOS has a similar mechanism to
LD_PRELOAD
in Linux calledDYLD_INSERT_LIBRARIES
. Our current macOS binaries honor this environment variable, while the Linux ones do not. It is a good security practice to prevent usage of said environment variable to avoid preloading of arbitrary dynamic libraries.To harden our binaries we can follow this StackOverflow answer advice.
Note
2024 OpenTelemetry security audit finding reference:
OTE-01-002 WP1: Possible DYLIB Injection on MacOS Client
The text was updated successfully, but these errors were encountered: