mirror of
https://github.com/tailscale/tailscale.git
synced 2026-11-26 03:26:26 -08:00
GCONV_PATH, LOCPATH, NLSPATH, HOSTALIASES and RES_OPTIONS can make privileged processes (root su/login environments built from forwarded vars) load attacker-controlled files or redirect resolver lookups; add them to the isDangerousEnvVar denylist, and apply the same check in the incubator child when it re-filters the inherited forwarded-env payload (old parents may not have filtered them). Updates tailscale/corp#50380 Signed-off-by: James Tucker <[email protected]>