mirror of
https://github.com/rclone/rclone.git
synced 2026-09-18 11:03:13 -04:00
The pprof debug handlers were accessible without authentication disclosing the process command line (which can carry backend credentials passed on the command line) and runtime profiles. Mount the pprof handlers only when when auth is configured or --rc-no-auth was passed - so they obey the same rule as the rc endpoints. Addresses GHSA-mfvx-7rcj-9m5g finding 1.