Recent security vulnerabilities in Hydra

were disclosed today, with the migrations merged in

hydra.nixos.org was already hardened via a proxy server configuration change. A Lix deployment (I do not know what URL) was likewise already hardened. The CUDA team’s deployment at hydra.nixos-cuda.org was also hardened. This would be done by limiting the log endpoint to disallow .. as a “store path”. Example nginx:

@hydra_log_dot vars_regexp {http.request.uri.path} ^/log/\.|(^|/)\.\.?(/|$)
handle @hydra_log_dot {
  respond
}

Hydra deployers should update and/or likewise update their proxy server configurations.

Thank you to LeSuisse (Thomas Gerbet) · GitHub for reporting the issues (I do not know Discourse handle), and for @ma27 and @glepage for joining me on call today to release everyone synchronously.

Happy integrating continuously, everyone!

17 Likes